CS 586/480 - Computer Graphics II

Assignment 1

Implement a simple ray tracer that ray traces a unit sphere centered at the origin and two triangles with vertices

Flat shade your objects, i.e., mark the pixels that intersect your objects with one color, and mark the remaining pixels with a second color.

Your image should be at least 512x512 in resolution.

Post your image (in JPEG, TIFF or PNG format) and code on a web site with the associated computation time.

Your image should look something like this.

In this image I've used a right-handed coordinate system with Z up, Y to the right and X coming out of the screen.

The camera location is at [10,0,0].

The camera view out direction is [-1,0,0].

The camera view up vector - [0,0,1]

The horizontal camera view angle is 56 degrees.

Image resolution is [512,512]

E-mail the URL of the web site to david AT cs.drexel.edu before the deadline (10/10/04).



Last modified on September 30, 2004.