Ray Tracer

About

I wrote this ray tracer for a computer graphics course at UIUC in spring 2005. The following images demonstrate some of the trickier features of the ray tracer. The program itself was written to distribute the rendering to an ad-hoc renderfarm (consisting of all of the workstations on campus that I could commandeer, at the peak, about 40).

Photon Mapping

The following scenes show off global illumination using photon mapping. You can see direct (ant frying) and indirect (red wall in the right picture) caustic effects as well as color bleeding. The 1024x1024 versions of the scenes took about 25 workstations about 10 minutes to render.

Bezier Patches and Procedural Texturing

The teapot is made out of Bezier patches. The gold surface on the left is produced by procedural texturing.

Depth of Field

The camera is focused on the third glass in this row.

Algebraic Surfaces

The following scenes were created using constructive solid geometry on various algebraic surfaces. That means that, in some sense, all of these scenes can be represented as a single mathematical equation. I think that the last one would make a good Valentine's day card for the not-so-lucky in love.