test.dat
sphere shading is done using cosine.
nothing too exciting but it seemed to be pretty realistic.
mileage did vary, however, depending on where i viewed it. different
browsers
tended to dither the colors differently.
cow.dat
points in a bounding box around the sphere were iterated through to find the points inside the silhouette.
teapot.dat
an attempt at alpha blending broke :(
source: Sphere.java