CSL781 Assignment 1

Due: Feb 20, 11pm. To be turned in on Moodle.

Ray Tracing

Implement a recursive ray tracer using C/C++. Use GLFW for implementing the keyboard interface and for displaying your framebuffer in a window. You will render a culinary scene made of sphere, cylinders and rectangles.

Model

The scene contains a wet white floor, a table made of solid dark brown glass. On the table is a single silver plate in the center of the table with a single golden bowl placed at the center of the plate, and four glass tumblers around the plate, each half-filled with colored fluid.

Illumination

Use the following to illuminate your scene.

Viewing and Interface

The rendering should be somewhat interactive. Try to complete a frame in less than one second with 1024x768 pixels, preferably with at least eight samples per pixel and at least eight samples for the area-light. Implement the following interface to allows the viewer to rotate the entire scene and control illumination.


** Revised: Sat, 5 Feb 2021 by Subodh Kumar

-- The URL of this page is: http://www.cse.iitd.ac.in/~subodh/courses/CSL781/raytrace.html --