Roll Over the Utah Teapot is an OpenGL program that has a wire Utah Teapot, and a perspective camera in the scene. The camera can rotate around x,y, or z axes around the teapot. User can change the rotation axis with keyboard inputs. GLUT library is used for development.

For rotation, OpenGL’s transformation functions are not used. Rotation is handled by mathematical calculations, and gluLookAt() function.

Screenshots:

roll3

roll1 roll2