GLLT.EXE Demonstrates Simple Lighting in OpenGL (152001)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
This article was previously published under Q152001 SUMMARY
The GLLight sample provides a demonstration of how the various light
settings effect an OpenGL scene. The initial scene is simply a single white
sphere with a single blue light (GL_LIGHT0) shining on it.
You can modify all of the properties of that light as well as the light
model characteristics for the scene to observe the visual effect. GLLight
does not use multiple lights and does not allow you to change the material
properties of the sphere.
REFERENCES
For more information on the above settings and OpenGL in general, please
read:
-Neider, Jackie, Tom Davis, and Mason Woo. OpenGL Programming Guide: The
Official Guide to Learning OpenGL, Release 1. Reading, MA: Addison-Wesley,
ISBN 0-201-63274-8. (This book is also known as the "Red Book".)
For information on Material Properties in OpenGL, please see: The GLBMP
Sample "Demonstration of OpenGL Material Property and Printing" in the
Microsoft Download Center, and the "Red Book" mentioned above.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbFAQ kbfile kbgraphic kbinfo KB152001 kbAudDeveloper |
---|
|