header image

It's MARTA -- My Awful Ray-Tracing Application

For CS4390 in Fall 1998, we were asked to design an elementary ray-tracing application. The program was to produce images that exhibited diffuse reflection (using Lambert's law and ambient light), specular reflection, and shadows. The program rendered spheres and polygons.

In CS4391 in Winter 1999, we expanded on this application by adding the ability to render cylinders, apply images to rendered objects, and to transform objects by combining them with other objects. Samples of the output appear below.

A SphereTwo Spheres
A Sphere Minus A SphereThe Intersection Of Two Spheres
A Flattened Sphere Minus A CylinderA Flattened Sphere Minus Two Cylinders
Cylinders And Spheres Make A CageSphere With Texture Applied
Rotated Sphere And TextureCylinder With Texture Applied
A Sphere FlattenedA Sphere Stretched
Three Spheres Stretched And JoinedTwo Spheres Stretched And Joined