CSC 333
Homework 1

Assigned Oct. 18, due Nov 6

Write a C or C++ program, using the OpenGL library and programmable shaders, that draws a multi-colored torus (donut) and allows you to move the camera around it in all dimensions: x, y, and z translations, as well as roll, pitch, and yaw rotations. All of these operations should be in camera coordinates, i.e. when you "roll", the image should appear to rotate around the line perpendicular to the screen, not necessarily around the z axis of the torus.

Hints:


Last modified: Tue Oct 22 10:14:54 EDT 2013
Stephen Bloch / sbloch@adelphi.edu