Assignment 2 - Stochastic (Distribution) Ray Tracer

A distribution ray tracer, similar to the one described in [Cook84]. Due date Tuesday, October 3 at 11:00 AM .

Should include:

Extra credit for motion blur and depth of field. It should support triangles and spheres.

Please make a web page with example images showing the required effects, and some text describing your approach, problems, etc. Also include a link to your code. By the deadline, send me email with the URL of the web page.

I've written a simple parser, which you're free to embellish. The language is based on the one from rayshade. It's made using GNU flex and bison, and in two versions, one for Unix, another for Windows. If you want to rebuild it on Windows, you'll need this code from Fg-soup Software. Please send parser bug reports to me.

I've also made a larger test dataset (adapted from a rayshade model), which you should render as part of your report. Translations of the datasets used for assignment 1 are model1 and model2. I've created a new version of the first model by changing one of the point lights into an extended light (a sphere). I only changed one of the lights because of the effect on the run time of your program. Feel free to experiment by changing more than one light, or by making the light in the larger model an extended light source.


Updated 09/20/00 , lastra@cs.unc.edu.