exit button

CSC 630
GRAPHIC SYSTEMS
Project 2b
ANIMATION IN OGL

schedule | syllabus | format | style
project 0 |project 1 | project 2a | project 2b | project 2c
| project 3a | project 3b| project 3c
class projects

Extend project 2a to make your logo animate. 
The program must draw an original 3-D solid in a perspective view. 
You are encouraged to use some of the pre-built objects available in the glu and glut library.
A simple cube or sphere will not do. 
You can create multiples of shapes and combine them to make a new object.
Allow viewing in a full-screen window by using the glutFullScreen command (and toggling the F/f key). 
For less than the full screen, position a help window on the side. 
The program must draw your original 3-D logo in a perspective view, beginning in the upper right back corner of your view volume,
and animate it to the lower left front corner of the view volume
.  
At the end of the animation examine it around the y-axis with gluLookAt.
This means your model should stop moving, and the camera should then pan around the y-axis 360 degrees, giving us a front-to-back-to-front view.
To animate your object, use glTranslate and glRotate in the idle function. 

For added effect, use different foreground and background colors, and paint the solid creatively.
If you place a light and set the correct parameters, OGL should draw your solid with the correct shadows.

The following keyboard commands should be working:
          Keyboard capable to quit with ‘Q’ or ‘q’.
          Type ‘R’ or ‘r’ to restart the animation.
          Type ‘F’ or ‘f’ to toggle the full-screen mode.
          Type ‘I’ or ‘I’ to toggle instructions on a separate window that will be hidden after any keyboard entry. 
Do not use a sub window or the console for this.
Add a pull-down menu with the glutCreateMenu command to implement the same capabilities
(Restart, Full-screen toggle, and Instruction screen toggle).
See the Evaluation sheet for the points.  Be creative in your choice of an object. 
You are not restricted to your Project 2a model, but it is usually a good start.
Last year students used the torus object to create a space station, combinations of objects
to build a bird with wings that flapped, and imported dolphins from modeling programs. 
Another student animated a complex pyramid and gave it a creative animation path.

Look at the sample programs that show you various techniques. 
Refer to the class syllabus for the proper programming format. 
Turn in your program in a clean, labeled CD with source code, and a 2-page of discussion in your own words. 
Discuss:

  • a description of the data structures, functions, or models you used;
  • Include a user’s guide (User Instructions); and
  • Informal comments of what you thought of the project.

Include a professionally labeled disc with source and executable code.

Click here to see evaluation form for Project 2b.
top