Wendy's Project 2: Cow Applet

Cow Applet



Directions: (Taken from the specifications of the project.)
The applet first displays the reference image. After pressing the first mouse button, the applet will render the triangle list using my triangle rasterizer (Triangle.java) and display it. One more mouse click will cause a difference image to be displayed (blue pixels represent small errors, red pixel indicate large errors, and the hues of the spectrum indicate errors in between). Several statistics are provided along with the difference image, including the number of pixels that did not exactly match those in the reference rendering, the average deviation of an errant pixel, and how long the rendering took. Additional mouse clicks cause the process to repeat.

Files: (from class)
cow.tri
cow.ppm