due: Monday, 31.Aug
email your source code to kruse@juniata.edu
50% of course grade
Write a program which displays a 3D scene of objects. Your scene should incorporate several of the elements we have discussed in the class, including, but not limited to: animation, curved surfaces, bit maps, textures, shadows, fog, translucent objects, etc. Have fun, and be creative (your creativity will be considered when grading).
If you would like more direction:
You are welcome to develop a 3D scene, as described below, with at least 4 objects,
some are “composite” (made up of transformations of at least three primitives,
like a jack or a table). You need at least one non-ambient light source, and
you need to define material properites for the objects in your scene. It is
acceptable to use the glut
calls glutSolidSphere and glutSolidCube
(you don’t need to worry about normals in this assignment). You should enclose
your objects in a “room.”
Clicking on the “x” key should rotate the entire room around the x-axis, clicking on the “y” key should rotate the room around the y-axis, and clicking on “z” should rotate the room around the z-axis.
Be creative (your creativity will be considered when grading). At the very least, clicking on the Left mouse button should start one of the objects rotating, and clicking on the Right mouse button should stop the rotation.
Start from the bottom up. Define your composite object in a subroutine first. You could use the Wire objects initially, and then turn on light after you are comfortable with your scene.
