COM3370 Computer Graphics

Assignment 2

Professor Harriet Fell


Introduction

In this assignment, you will add reflection and transparency to your ray tracing program.

General description

Here are the stages for developing your program. You may choose to do them in a different order.

  1. Make your program recursive (See "recursive ray tracing" in your text). Until you add reflection or transparency, there will be no recursive calls.

  2. Add reflection and get it working properly. Make sure that your scene has at least one reflective sphere and that other spheres are placed where the viewer will see their reflection.

  3. Add specular reflection (the highlight caused by the light source).

  4. Place a second reflective sphere in your scene and call on recursion (level 2, 3 or higher) so that reflections in reflections are visible.

  5. Add a bubble (non-refractive transparent sphere).

  6. Add a solid, refractive transparent sphere.


See Building a Ray Tracer - Page Two and Building a Ray Tracer - Page Three for sample images. Note that the small images on that page are links to larger images.

Due

By midnight Tuesday, July 24, 2001.

Grading

The usual grading guidelines apply for late work.

For the performance parts of this program:

Code, comments, ease of use - 30 points

Turn in:


Harriet Fell
College of Computer Science, Northeastern University
360 Huntington Avenue #161CN,
Boston, MA 02115
email: graphics@harrietfell.com
Phone: (617) 373-2198 / Fax: (617) 373-5121

Last Updated: June 12, 2001 2:30p.m.
The URL for this document is: http://www.ccs.neu.edu/home/fell/COM3370/COM3370prog2.html