_

OpenGL | povRAY | DirectX | Interaction | Modeler | Surface Display

COS350 - OpenGL

 

Project Information:

    |  September 27, 2002  |  08:00 MWF  |  Dr. Toll  |  COS 350  |  Project #1 - OpenGL  |  \~jwinslow\350\OpenGL\index.html  |

Assignment Description:

    We were to use OpenGL to create a 3D scene with multiple objects, at least one light source, user-customizable orientation, and resizing functionality.

Defending My Code:

    The above title is a bit of a misnomer, as the majority of my work was a conglomeration of the resources given to us by Dr. Toll. I am not entirely sure from which files this was created, but the main two were cubeview.c and light.c both linked on the OpenGL resources page. I basically just created three objects using OpenGL functions, translated them a little, added a light source, and added a few interactions to allow user input about camera orientation. The end result was a very dull but functional scene show below.

Picture Explanation:

    The window in the background shows the command line prompt, which allows the user to input camera location, look at, and up vector coordinates. The window in the foreground is the end result, with a nicely rendered scene of a teapot, a cube and a sphere. The light source is see from the odd lime green color reflected by the two round objects. As is shown by the picture below, the scene stays intact even after it has been resized, as the pictured window is well over 1000x1000 pixels (the original window is created at 500x500).

 

_
Modified: October 2, 2004 6:32 AM