CS 551/645: Introduction to Computer Graphics

Extra Credit

Goal: Ray Tracer

URL: http://www.cs.virginia.edu/~gfx/Courses/2000/intro.fall00.html/Assignments/extracredit.html

Assigned: Tuesday, November 21, 2000

Due: Monday, Dec 11, 2000 at 7:00 p.m.

Update (21:00 - Dec. 8, 2000)
Grab raytrace.C for an OpenGL example that allows you to directly color pixels of a window.
Grab the Makefile if you wish.

Relevant reading/files/software:


Synopsis:

For this assignment you will write your own ray tracer from scratch. The raytracer must specify an eyepoint, a light source, and multiple spheres and polygons (six of each). The ray tracer should accurately render ambient, diffuse, and specular lighting effects. It should also model the shadows between the different objects in the scene. Here is a sample image from a raytracer that satisfies these goals.

Turning in the assignment:



Collaboration:

You may talk with one another about your projects, but one should not take written records during the collaboration. Your recollection of the concepts should be the product of the collaboration. Similarly, no side-by-side coding.

Use of the web

You may use the web to find additional information about ray tracing. You may NOT grab code from any sources and use it for your project.