Assignment 2
Some of the things needed in a program for assignment 2:
- 3D geometry & color - use any of the functions covered (glut geometry, quadrics,
GL_TRIANGLES, etc.)
- glPushMatrix(), glPopMatrix(), glTranslatef(), etc. - for hierarchical transformations
- Variables for state information - is the car moving, is the camera tracking
- Keyboard function to change the state
- Variables to retain changing data such as vehicle's position
- glutIdleFunc() - to update data continually
- Camera control - can also be updated continually
next