CS 381
>
Assignment 3
CS 381, Fall 2003
Assignment 3
General Information
- E-mail C++ source for the program described below to me at
ffggc@uaf.edu,
using the subject
"GA3".
(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: Tuesday, September 30 (any time).
- Worth: 30 points.
Homework Policies
See the
Homework Policies handout.
Program (30 pts)
Write a C++ program using OpenGL/GLUT
that meets the following requirements.
- Your program must display relevant text in its (graphics) window.
- Your program must respond in some meaningful way to the mouse.
A mouse-based pop-up menu is acceptable.
So is some other type of mouse-based interaction, e.g., a mouse-based painting program.
- Your program must do something.
Suggestions for Full Credit
Doing any one of the following is sufficient—but do them all if you want!
- Add a more advanced OpenGL feature to your program.
For example, try learning about and implementing one of the following.
- line stipples
- polygon stipples
- polygon mode
Do not expect full credit on two different assignments for the same advanced feature!
- Have your program do something practical.
You will need to explain to me why you think your program is practical.
- Make your program some kind of game, with scoring, rules, etc.
- Include mouse-based picking of several objects in your program.
- Include a working widget in your program (mouse-based button, slider, etc.).
Note
Particularly well-done programs may be demonstrated in class.
CS 381, Fall 2003: Assignment 3 /
Last update: 22 Sep 2003 /
Glenn G. Chappell /
ffggc@uaf.edu