BU CAS CS 480

Introduction to Computer Graphics

Spring 1997

Programming Assignment 3: 2-D Vivarium

Due before class on Thursday March 20


The purpose of the assignment is to introduce you to 1) using OpenGL display lists and OpenGL transforms for hiearchical modeling, and 2) using bounding boxes for collision detection and clipping.

You will program a 2-D vivarium: a simulated 2-D world with polygonal creatures moving around.

Demos and Grading

Your vivarium 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.

Extra Credit

For extra credit on this assignment add more creatures to the vivarium. Make it possible for creatures to die off and reproduce. Make it possible for creatures to flock together, or have different behaviors. We will discuss formal methods for this in class.

Test Cases

You are responsible for testing your own code.

Page Created: Jan 2, 1997 Last Modified: Jan 2, 1997 Maintained by: Stan Sclaroff