CS 481/681
>
Assignment 2
CS 481/681, Spring 2004
Assignment 2
General Information
- E-mail
C++ source for the program described below to me at
ffggc@uaf.edu,
using the subject
"HA2".
(If you wish to discuss the assignment with
me via e-mail, use a different subject.)
- If possible, please send your source as an attachment to your e-mail,
rather than as part of the body text.
- Send source only! No executables, project/workspace files, etc.
- Be sure to include your name in your e-mail.
- Due: Thursday, January 29 (any time).
- Worth: 25 points.
Homework Policies
See the
Homework Policies handout.
Program (25 pts)
Write a C++ program using OpenGL/GLUT
that meets the following requirements.
- Your program must draw a 3-D scene, with perspective, HSR, lighting,
and transformations implemented using the OpenGL transformation commands.
- The scene must contain a hierarchical object having at least three levels
(a moving object with moving parts that have moving parts).
- The user must be able to move each level independently.
- Note: The program face.cpp draws a two-level hierarchical object in 2-D.
You are strongly encouraged (but not required) to represent your object internally using a tree,
as discussed in class, and in chapter 9 of the blue text.
Full credit will be given if this is done.
Suggestions for Full Credit
- Represent your hierarchical object internally using a tree-structured data type,
as discussed in class, and in chapter 9 of the blue text.
- Do one of the full credit options mentioned on
Assignment 1.
- Do something else ... surprise me.
Note
Particularly well-done programs may be demonstrated in class.
CS 481/681, Spring 2004: Assignment 2 /
Last update: 1 Feb 2004 /
Glenn G. Chappell /
ffggc@uaf.edu