CS 636 - Advanced Rendering Techniques

Assignment 5

Add shadows to your ray tracer. This will involve shooting rays from every intersection point to every light. If the shadow ray hits something between the intersection point and the light, do not add that light's contribution to the shading calculation at the intersection point.

Create a scene that contains at least two spheres and three non-box triangle meshes and at least three lights, with one being white. Also add a "floor" that your shadows can be seen on.
Be sure that your scene is composed in a way that self-shadowing of one of the polygonal models is obvious.

Use adaptive supersampling with two levels of subdivision.

Post your image (in TIFF or PNG format with at least 1024x1024 resolution) in its native resolution (i.e. don't set their size in html) on a web site, with the associated computation time and shading parameter values.

Tell me which file(s) contain(s) your shadow code. Direct me to the exact functions and lines in the files.

Upload your software to Bb Learn.

E-mail the URL of the web site to david AT cs DOT drexel DOT edu and upload your software before the deadline.

You can find SMF triangle mesh models here.

Last modified on May 27, 2020.