CAP 6938 Advanced Graphics, Spring 2003

CL1 0119 TR 4:00-5:15

Instructor: Erik Reinhard


Basic ray tracer

Implement chapters 1, 2 and 3 of the hand-out. Add your own code to write a simple ray caster. This would include code to parse the command line, as well as the input file. Write images to file, and produce a web page that shows these images.

To avoid questions: to produce an image, you need a model. For this assignment a simple model with perhaps a couple of spheres and triangles will be sufficient.

Optional

As a matter of interest: sometimes you will create images that are wrong because the code has bugs in it. I am collecting these images. If you stumble upon wrong images that are particularly weird or beautiful, please annotate them with the type of bug that caused them, as well as your name, and send them to me. Please take the time to render them in a high resolution (ie, maybe 2000x2000 pixels or so), or save a copy of the code that produced them. If my collection of weird images becomes big enough, I intend to write a book about this.