Computer Graphics (CS 330)
Project No. 4 (20 points)
Problem:
-
To create a simple 3D scene consisting of a brown table, two red chairs,
a green teapot, a blue plate and a tan doughnut, using only GLUT primitive
calls.
-
To light this scene with two lights, one to the upper right, and a second
to the lower left.
-
To manipulate this scene, using a mouse, such that moving the mouse horizontally
rotates the POV around the scene, and moving the mouse vertically moves
the POV towards and away from the scene.
Task:
-
Create a scene, as descibed above, lit by two light sources.
-
Develop a glutMotionFunc called cameraControl( ) that will allow you manipulate
this scene, using a mouse, as described above. You will not need
to create a corresponding glutMouseFunc( ).
-
Using C++, OpenGL and GLUT, create a Win32 Console Application program
to render a manipulate a scene such as the one shown below.
-
Submit your project according to the Project
Submission Guidelines for this course.
Notes:
-
Keep it simple. Don't try to do more until you succesfully
complete the project as described above.