Project 4

Graphics Pipeline

Description
The applet below demonstrates the functionality
of my renderer class. My Triangle class is based
on Prof. McMillan's Triangle.java.
You can change the lighting characteristics
using the 3 sliders on the left, and rotate
the model using the Left and Right buttons.
The bottom slider allows you to choose between
lights in the scene. The scene is intentionally clipped
relatively close to the viewer to better demon-
strate the functionality of the Clipper class.
My code supports any number of light sources,
including Point sources.
Extra features I implemented:
  • Support for point light sources
  • Support for an arbitrary number of light sources
  • Support for Specular reflection
  • User interface, including light & model manipulation.
NOTE 1: Please use appletviewer or IE4 for PC
to test the applet. Both Netscape and IE/Unix
are giving me problems.
NOTE 2: I modified the cow model slightly
to show different colors. He should be white
with purple legs.
Click here for the source code.