Land of the Rather Disgusting Cows
Here are the files from this project:
Each of the provided cow files have 2 directional lights and one
ambient light. The magenta cow has a (.3, 1, .3) ambient light vector,
providing for a rather disgusting looking green tinge on the parts of
the cow that the two directional lights don't cover.
I implemented all of the REQUIRED parts of this project, though I did not
use my vertex normals (see my Matrix3D.java for
these). I also implemented:
- Specular reflection
- Support for an arbitrary number of light sources
- An interesting scene (what could be better than free-range pastel cows...
I swear, the cow fetishist on the staff should be taken out and shot)
There is a known bug where on startup sometimes the object will be
rendered strangely. I think this is a bug wrt the use of Triangle at
the same time by multiple applets; not sure though. I didn't really
have the patience to heisendebug it :)
In addition, you can't manipulate the cows (I used the stock UI) in
Netscrape 4.06 - try 4.5 or appletviewer, I know appletviewer on linux works
wonderfully.
Here are my cows.
Cyan
Magenta
Yellow
Cube