Projection Matrices

Read the following sections in Hearn & Baker:

Read the following sections in the red book:

Viewing Transformations

Read the following sections in Hearn & Baker:

Read the following sections in the red book:


To get a complete picture on 3D transformations, Viewing Transfomations and Projection Matrices I encourage you to read all of Ch. 12 in Hearn & Baker, and Ch. 3 in red book.


Your Task

Create a directory and download to it the following file :

proj.tar.Z

To extract the source files type:

uncompress proj.tar.Z
tar -xvf proj.tar

Make and run the executable. Click the left and right mouse button when the mouse is over the top view window. See what it does. We will talk about what happens. In the file callbacksSide.c search for the TODO comments. First (in resahepSide()) play with the gluPerspective() parameters such as field of view angle and aspect ratio . Next (in initSide()), set face culling on using glEnable(), and then play with glCullFace() and glFrontFace().