Homework 7

Putting all together

z-buffer + z-clipping + shading

- Drag the mouse to rotate the scene.
- Press "SPACE" to stop/start the animation.
- Press "UP" and "DOWN" arrows to move the z-clipping plane.
- Press "1" to "7" to add/remove new objects.
- Press "M" to show/hide meshes.

Source: hw7.java, Shape.java, Cube.java, Cylinder.java, Sphere.java, Torus.java, Drop.java, Pillow.java, CosineSurface.java, Seashell.java, Matrix3D.java. MatrixStack.java. Material.java. Light.java. MISApplet.java.