Thursday, March 26, 2009

Web Exercise #3 - March 20th

After a lot of reading, I've got a better understanding of the commands that control the view of the camera (view from the eye).

Here is the part in #2 running:



For the last part, I was instructed to take a look at the special keys functions we have been using to rotate the object or view. I took an example from Chapter 3 of the Programming Guide for OpenGL which is a quarter of a wire sphere. I took out the clipping plane parts and it drew a whole wire sphere. I used glLookAt() and glFrustum to change it up a little bit to mess around and see what it actually did.

Here is a picture of the sphere because I don't think I can upload an executable.



I couldn't find the code that I used, but it is the 4th of a sphere that I used...I just took out the clipping plane stuff!

No comments:

Post a Comment