exit button

CSC 630
GRAPHIC SYSTEMS
Project 2a
INTRODUCTION TO OGL

schedule | syllabus | format | style
project 0 |project 1 | project 2a | project 2b | project 2c
| project 3a | project 3b| project 3c
class projects

Use the OpenGL library in conjunction with glut. 
Write this project in C (or C++) using the OGL library on a machine of your choice equipped with a mouse and graphic screen.
The program must draw an original 3-D solid in a perspective view in the upper right.  
You are not allowed to use a pre-built object
; instead, you must build your object from vertices. 
For added effect, use a different foreground and background color, and paint the solid creatively. 
You are not required to place any lights since OGL provides ambient lighting.
If you do place a light or two, and set the correct parameters, OGL should draw your solid with the correct shadows. 
Be careful of drawing only one colored light, for then the light will not show any painted colors of your objects. 
Since not all of these techniques will have been covered in class, this project requires you to read the examples and experiment. 
The following keyboard commands should be working:

Keyboard capable to quit with 'Q' or 'q'
Type 'I' or 'i' to get instructions

See the Evaluation sheet for the maximum points you can get.
Look at the sample programs to show you various techniques. 
Refer to the class syllabus for the proper programming format. 
Turn in your program in a clean, labeled, CD with color screen dumps, source code,
and a 2-page discussion in your own words.  Include:

  • a paragraph for a user’s guide (User Instructions); and
  • informal comments of what you thought of the project.

Do not give a boring description of the project.
Include a CD with this information on it as well as source code and executable. 
Do not ask me to recompile your code.

Be sure not to use the glOrtho command that gives you a parallel view.
This program calls for the use of the glFrustum or gluPerspective function.
Click here to see evaluation form for Project 2a.
top