BU CAS CS 480

Introduction to Computer Graphics

Spring 1996

Programming Assignment 5:
Shading, Lighting, and Camera Modeling

Due before class on Tuesday April 22


Write an OpenGL program that implements at least the following capabilities: For extra credit, implement as many of the following as you like (ten points extra credit each):

Hints

There are a number of useful example programs provided in the red book and in the GLUT directories on the CGL cluster. Some of these are listed below.

Word of Caution: It may be tempting to copy one of these example programs and then modify it to add required functionality. Taking such an approach will make your life needlessly difficult, because it requires retrofitting someone else's code. A better approach is to write your own code from scratch. Develop your own program specification, write your own code, and only use the example programs as reference when you need to see how something is done.

Here are some example programs that may serve as good reference:

Demos and Grading

Your project must run on the SGI, therefore you will need to use one of the SGI workstations in the CGL cluster (unless you have access to an OpenGL elsewhere).

Your program's source files are to be electronically submitted by using the submit program on cgl. The code you submit should conform with the program assignment guidelines.

Part of your grade for this programming assignment will be based on your giving a short demo (2-3 minutes) in the CGL cluster. You will be expected to talk about how your program works, and we will see how well your program performs on some test examples. Demos will be scheduled from 2-5 on the assignment due date.

Start programming early.


Page Created: April 7, 1997 Last Modified: April 7, 1997 Maintained by: Stan Sclaroff