Computer Graphics



Zoe and I rendered the above images from a ray tracing program we wrote for class.

It took us a couple of weeks and a couple thousand lines of C++ code to do it. Each of the pictures took about 5 hours to render alone! All the shapes and pieces are calculated by calculus and algebra. For example, the piano flap is made from a rectangle prism with a half circle cylinder added and a quarter circle cylinder subtracted. Getting everything in the right place took forever!

For those that speak computer graphics, it has reflection recursion depth at 4, hard shadows, transparency (no refraction), texture with bilinear interpolation, and 4 uniform rays per pixel anti-aliasing.

I am very satisfied with the results.

12/12/2006