Harvey Mudd College
Computer Science

CS157: Computer Animation


Project 0





In this first programming assignment you'll build a user interface in OpenGL/Glut that will be extended in subsequent projects. The current requirements are:
  1. Display the 3D positive axes with x in red, y in blue, and z in green. The initial orientation of the camera should be on the vector<1,1,1> and focused on the origin. Use perspective projection.
  2. Allow the user to rotate the camera about the current center of focus.
  3. Allow the user to move the camera left, right, up, and down, changing the center of focus accordingly.
  4. Allow the user to zoom in and out.
  5. Allow the user to reset the camera to the inital viewpoint.
You may use any code you have personally written (e.g. in cs155 or cs121) to complete this assignment. Your interface should be designed to be easy and intuitive to use; your grade will reflect your success in this regard.