Source
SimpleRayTracer.java
Sphere.java
Torus.java
Plane.java
Cube.java
Matrix3D.java
PixApplet.java
Shape.java
You can drag the mouse and the ball will move
Note as you drag the ball that it gets "trimmed" by invisible plane
press i - to zoom in and
press o - to zoom out
press p - tu turn on phong shader
General: it is somewhat slow but not too much
Please DRAG mouse very slowly at small increments else huge delta might blow the ball out of coord system :)
Some cool things did not fit into on applet so i'll create one more --
this one has the effect of an old movie(when screen appears scrambled a bit)