CS 381
>
Assignment 4
CS 381, Fall 2003
Assignment 4
General Information
- E-mail
C++ source for the program described below to me at
ffggc@uaf.edu,
using the subject
"GA4".
(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, October 9 (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 involve mouse-based picking.
- There must be at least three “active” regions in the window,
on which a mouse click will accomplish something.
These regions may be simple controls (widgets) of some sort, subwindows, frames (as in web browsers), icons or other objects to click and move somehow, etc.
- You may use any of the three picking methods we discussed in class.
- Your program must provide documentation in either a graphics window or a pop-up menu.
(In particular, documentation in the text window is no longer acceptable.)
Further, if you have one or more pop-up menu, indicate this somehow
(“Right-click for menu” in the window title bar is sufficient;
or you might have similar text in the graphics window).
- As in assignment 3, your program must do something.
Suggestions for Full Credit
Doing any one of the following is sufficient.
- Add a more advanced OpenGL feature to your program.
For example, try learning about and implementing one of the following.
- line or polygon stipples
- polygon mode
- point, line, or polygon smoothing
- blending
- GLU tesselators
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.
Note
Particularly well-done programs may be demonstrated in class.
CS 381, Fall 2003: Assignment 4 /
Last update: 1 Oct 2003 /
Glenn G. Chappell /
ffggc@uaf.edu