Ray Tracer & Scene Editor - December 2008
My final project for the Computer Graphics course was to build a Ray Tracer. My program featured a scene editor that allows you to create a scene of objects using an extensive user interface. The scene supported the inclusion of primitives like spheres and cubes, objects exported from Maya, surface revolutions, and extrusions. The scene is created using a scene graph structure and is very easy to edit using the controls available through the UI. Options for each object included its color, its transmittance, its reflectivity, and its refraction index. Once the scene is configured, it can be raytraced and output to any sized image with the press of a button. The ray tracer supports translucency, reflections, refractions, and basic shadows. This program was written in C++ using OpenGL and FLTK for the GUI. Below are some sample images produced by the ray tracer. Each image features varying levels of translucency, reflectivity, and refraction.