COMP 4302 3D Computer Graphics Assignment

Assignment Help Computer Graphics
Reference no: EM132469952

COMP 4302 - 3D Computer Graphics - Memorial University of Newfoundland

Transformations, Navigation and Projections

Assignment Objectives:

LO1: To develop an application which illustrates how transformations are used to change the size, position, orientation and scale of objects in 3D space

LO2: To practice several techniques used to navigate through a 3D environment. To get you to know some of the basic projection styles that can be implemented with WebGL and how to change the parameters of the functions that define them.

Assignment Task:

In this assignment you are asked to write a program where you will be able to affect a model through a series of transformations. To start, you should take a look into the tutorial called "transformation". After that, you are asked to build an interactive program that will respond to keyboard input.

You need to construct a scene consisting of five moving objects. The objects should all be different from each other in shape and color. All objects should be laid on top of a plane (that acts like a stage) and the objects should be animated in such a way that each of these objects is affected by a particular type of transformation. When looking at the scene, it should be clear or obvious to the viewer which transformations are taking place. You should have rotation, translation, uniform scaling (scaling in all directions), scaling along different axis (non-uniform), and back and forth motion (as in an object constantly moving between from point A to point B and back).

Each object's animation should be controlled by its own variable, which allows for each object to move (or stop moving) independently from the others. If the user decides to stop the motion of one object, this should not affect the motion of the other objects. You should use the number keys to toggle animation on each of the objects shown. Check out the tutorial in advance to make sure you understand what you are actually seeing on the screen.

Implement a navigation technique that uses the WASD keys to allow the user to move around the virtual environment.
In addition, your program should give the user the possibility of choosing two different projection types. The first is the perspective view, which is controlled by using the perspective() function. The second view type is the orthographic, which is available through the ortho() function.

To appreciate the difference between the projections, you need to enable keyboard interaction such that the pressing of the key "O" (case insensitive) shows the orthographic view of the scene, while the pressing of the key "P" shows the perspective view of the scene, and you will need to provide some navigation aids for the user through the use of the lookAt() function. Make sure you arrow keys work as navigation aids for both types of projections, but notice that zooming in and out (or getting close and far) requires scaling when using the orthographic projection for it to make sense.

Attachment:- Computer Graphics.rar

Reference no: EM132469952

Questions Cloud

Determine the depreciation for each of the first two years : Determine the depreciation for each of the first two years by the double-declining-balance method. Do not round the double-declining balance rate
Determine the net realizable value of accounts receivable : Determine the amount of the adjusting entry for uncollectible accounts. Determine the adjusted balances of Accounts Receivable
Identify the type of auditor report to be issued : Your client Beast Ltd is a company engaged in wholesaling goods. Identify the type of auditor's report to be issued for each of the above situations
Calculate the deferred tax asset and deferred tax liability : Calculate the Deferred Tax Asset and Deferred Tax Liability balances as at 30th June 2019 ,deferred tax journal entry for the year ended 30th June 2019.
COMP 4302 3D Computer Graphics Assignment : COMP 4302 3D Computer Graphics Assignment Help and Solution, Memorial University of Newfoundland - Assessment Writing Service - write a program
Problem - Comprehensive Business Income : Problem - Comprehensive Business Income. The Company deducted a loss of $10,100 resulting from a theft by one of its clerical employees
What amount of interest expense should be recorded : Cron Corporation is planning to issue bonds with a face value of $800,000. What amount of interest expense should be recorded on June 30 and December 31
What is cost formula for selling and administrative expense : What The cost formula for selling and administrative expenses with "X" equal to the number of books sold is? An income statement for Sam's Bookstore
What was the issue price on january of this year : PowerTap Utilities is planning to issue bonds with a face value of $2,500,000 and a coupon rate of 10 percent. What was the issue price on January of this year

Reviews

Write a Review

Computer Graphics Questions & Answers

  What really matters is how this knowledge can be used to

what really matters is how this knowledge can be used to identify and remediate real-world security issues. what you

  How graphics will be used in the site

how graphics will be used in the site

  Gui that takes text input from the user for name

You have a GUI that takes text input from the user for name, favorite color, and favorite food. On the GUI, the user will click "Enter the Information.

  Question 1a you are working as tv producer for the national

question 1a you are working as tv producer for the national tv station in your country. as such you have been assigned

  Write a proposal of no more than 700 words outlining the

write a proposal of no more than 700 words outlining the research approach you will use for your strategic plan.

  Perform an internal and external competitive environmental

perform an internal and external competitive environmental scan for your organization. the organizations name is flat

  Among the alternative rationales that are set out for

among the alternative rationales that are set out for cooperative strategy on the business level the most effective in

  Task - Motion Estimation and Visualization Problems

Task A - Motion Estimation and Visualization. Define a grid block of size K x K, determine the central coordinate of each grid block

  1 identify the 5 elements of strategy for home depot2 do a

1. identify the 5 elements of strategy for home depot.2. do a swot analysis for home depot and provide recommendations

  CIVILEN 2405 - Computer Graphics for Civil Engineers

CIVILEN 2405 - Computer Graphics for Civil Engineers Assignment, Homework Help, The Ohio State University, USA. PROJECT - BLOCKS LIBRARY

  What are the advantages of 3d-printing

What are the advantages of 3D-Printing and what are the disadvantages?

  Provide a detailed rational for choosing bit-mapped

For each one justify why you would choose the particular approach and what advantages / disadvantages there might be.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd