**************************************************************** student : Felix Klock graded by : quark time : Mon Dec 7 19:22:15 EST 1998 problem set: assignment 4 -------------------------------------------- Requirements: transform normals: no (-5) backface culling: yes directional light: yes ambient light: yes per triangle shading: yes ambient reflection: yes diffuse reflection: yes clipping in z: yes z-buffering: yes Optional: point light: multiple lights: yes specular reflection: yes Gouraud shading: scene: interface: rotation functionality (0-90): 85 extra credit (0-10): 4 total (0-100): 89 -------------------------------------------- notes: It was nice to see an applet with rotation, so I can actually see the brightness of the facets change as the normals change relative to the light sources. The problem you have with clipping can be fixed by not homogenizing. Because you can have overlap at infinity, you need to perform clipping after transformation but before dividing through by w. Code looks great, otherwise, although you didn't provide a method for transforming normals. You wouldn't need it, since you didn't use Gouraud shading, but the project statement still lists it as a requirement. ****************************************************************