OpenGL Color and Lighting Model Demonstration
Posted: 2002-06-01
By: ArchiveBot
Viewed: 68
Filed Under:
Title | Uploaded | Size |
---|---|---|
OpenGL Col197085172001.zip | 9/3/2020 3:45:00 PM | 200,149 |
This program demonstrates the color and lighting models implemented in OpenGL. It allows the user to view the effects of changing the ambient, diffuse, and specular color properties of the lighting in a scene. It also allows the user to view the effects of changing the ambient, diffuse, and specular color properties of an object in a scene. The user can choose between three different three-dimensional objects, and can even adjust the transparency of those objects in real time. Other options include the ability to move the light source in three-dimensional space along the X, Y, and Z axes, and the ability to select either flat or smooth shading for the object in the scene. This program is a great way for programmers new to OpenGL to learn and understand the OpenGL color and lighting models.
NOTE: This program requires Microsoft's OpenGL type library for Visual Basic, and as such I have included it in the ZIP file. Enjoy, and let me know what you think!
Original Author: Daniel S. Soper
Inputs
None.
Assumptions
Again, this program requires Microsoft's OpenGL type library for Visual Basic, and as such I have included it in the ZIP file.
Returns
None.
Side Effects
None.
API Declarations
None.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.