Project 0


OpenGL/GLUT intro (Davis, Spring05)

The purpose of this assignment is to set up your OpenGL build environment and learn the basics of displaying and manipulating objects.

In this assignment, you will have to display any regular geometrical surface (pyramid, cube, cylinder, icosahedron, etc) in the center of a window when the program starts. Each face of this object must be a different color. In addition, the user must be able to translate the object using the arrow keys (up down left and right). You must also be able to rotate the object around an axis of your choice by dragging the mouse.

Note: The object must rotate in place (and not around the origin)

You can use the startup code here, which includes a Makefile for the UCSC Sun machines. However, you may work on any platform you choose as long as we are able to grade the project.