DPA 401/601

Spring 2013

Three Dimensional Fly Through

Homework Assignment 9

Due: Midnight, Thursday April 25


Assignment:

Your job on this assignment is to experiment with three-dimensional graphics in OpenGL. To begin, construct a three dimensional model of a scene in wireframe. The scene must have at least one geometric object. The scene should be animated by moving a camera through the scene, giving a variety of points of view. This can be done either via a scripted camera move (as in my example program flythru), or by camera moves controlled by the mouse (as in my example program camera).

I will demonstrate example solutions to this problem in class. My example flythru program has a very simple model with no moving parts, consisting of a seemingly infinite series of arrows and a simple scripted camera path. Your program should have a more complex model, and more interesting camera motion.


Advanced Extension: Give the model a solid surface (draw the faces as polygons and provide surface normals), apply materials to the surfaces, and light the scene with a light.

Please submit your program using the standard submit procedure. You should include your all of your source code .cpp and .h files, and a Makefile.