BU
CAS
CS 480
Introduction to Computer Graphics
Spring 1996
Programming Assignment 5:
Ray Tracing
Due before class on Tuesday April 23
Write a ray tracer that implements at least the following capabilities:
- spheres (of arbitrary number, center, radius)
- planes (of arbitrary position and orientation)
- support for up to 5 colored light sources
- lighting model that includes: ambient, diffuse and specular terms
- shadows
- storage of the resulting image as a GIF or JPEG file
For extra credit, implement as many of the following as you like
(ten points extra credit each):
- reflections (to a specified depth)
- bump mapping
- transmission and/or refraction
Grading
There will be no demos for this project. Instead, you
are to submit 5 different images generated by your ray tracer (in GIF
or JPEG format). These files should be electronically submitted with
your source files using the submit
program on cgl. The code you submit should conform with the program assignment guidelines.
The resulting images will be viewable from the CS 480 WWW page.
Page Created: April 5, 1996
Last Modified: April 5, 1996
Maintained by: Stan Sclaroff