Computer Graphics (CS4300) 2012F: Assignment 6

DUE: 9pm, November 28, 2012

Worth: 10% of your final grade

Goals

Assignment

In this assignment, you will generate a realistic image of a 3-dimensional scene composed of spheres floating between you and the view plane. You will use ray-tracing and a local illumination model to generate your image.

General description

Develop your program in these stages.

  1. Generate a flat image using only ambient light. This way you will know that your program is finding the spheres before you go on to work on shading and shadows.
  2. Add shading to your image using Lambert's Law for diffuse lighting.
  3. Add shadows cast on the view plane by following a ray from each visible back-plane pixel to the light source.
  4. Add shadows cast on the spheres by following a ray from a visible point on a sphere to the light source.
  5. Add Phong highlights on the spheres.
  6. Make the viewplane visible (i,e, not black) and add shadows cast on the view plane by following a ray from each visible back-plane pixel to the light source.
  7. Extra credit possibilities:

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


Grading

These grading guidelines will be used for all programming assignments:
Your project will be graded on:

Turn In

Follow these instructions for packing up your project and submitting it.

Grading

Your project will be graded on:

Some points may be subtracted (up to 10%) if you need substantial help from the professor to make your program run.

Harriet Fell
College of Computer Science, Northeastern University
360 Huntington Avenue #WVH-340,
Boston, MA 02115

Phone: (617) 373-2198 / Fax: (617) 373-5121
The URL for this document is: http://www.ccs.neu.edu/home/fell/CS4300/HW/HW6.html