The Path of Light

Computer Graphics, Autumn 2019

Assignment 2
The Path of Light
Alexandros Keros, Kartic Subr
Due date: 04/11/19 (5pm)

Your recent success with the “Reel to Real” Studios interview has landed you a position
as a computer graphics intern! Your first task is to implement a custom ray tracer, in
C++, to augment the company’s rendering arsenal. Following the architecture provided,
and employing the libraries given, you are asked to populate the necessary classes resulting
in a fully functional, photorealistic ray tracer, simulating different cameras, light sources,
objects, and shading according to the Blinn-Phong model. Using your implementation
you should render a scene showcasing the abilities of your custom ray tracer.
Code Architecture
You are provided with class definitions according to the UML class diagram found in
Figure 1. The given code supplies all the necessary header files and classes that will
dictate your implementation, and it is compulsory to use this class structure. The input
file should be in json format, according to the example of Figure 2, and the output image
format is .ppm (Refer to “Implementation Details” section for for additional information).
To help you with your implementation, you are given a basic vector library, a json
input file parser, and a .ppm output file writer. Please read the Implementation Details
below, as well as the README.txt file found in the supplied code archive.
What To Submit
The submitted .zip file should contain:
• A report explaining the steps taken to implement your ray tracer, including detailed
descriptions of feature implementations, and rendered images illustrating each of its
abilities. The report should be in .pdf format, and explain your work, step by step,
with inline images. Figures should be numbered, annotated, referenced and clearly
visible. Finally, include a qualitative assessment of your results for each feature of
the ray tracer implemented. If multiple cameras and light sources are implemented,

 

Loader Loading...
EAD Logo Taking too long?

Reload Reload document
| Open Open in new tab

Download [309.78 KB]

 

 

Loader Loading...
EAD Logo Taking too long?

Reload Reload document
| Open Open in new tab

Download [477.52 KB]