When I look at this code today, I almost cry. I think back to writing it... I would toil into the wee hours of the night, my roommate coming and going as I stayed put. At one point, I encountered a bug that I would only solve much later, as a result of a dream. I dreamt of vectors and matrix manipulations, so much did this project dominate my mind. Towards the end, I had a bottle of Stoli and a deck of cards on my desk. Since the program was slow as molasses, I shuffled the cards to have something to do with my hands during the 10 minutes it would take to execute. When I got a feature right, I took a shot of the Stoli. In retrospect, this was a pretty solid negative feedback loop, but it kept me sane at the time.
This is a program which calculates lighting, reflection, and refraction for a 3-dimensional scene of triangles and spheres. It performs Gaussian anti-aliasing by default. The test rendering scene here is four spheres and two triangles, with a (very bright) red point light near the top left sphere, a blue spotlight towards the right, and a green directional light coming in from the top.
Here's a rendering:

And another one, with the camera coming from the side:

And some accidental art for the art contest:

