Demonstration of OpenGL Material Property and Printing
Article ID: 136266
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Server 4.0 Standard Edition
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows 98 Standard Edition
This article was previously published under Q136266
SUMMARY
The GLBMP sample illustrates how to define the material properties of the
objects in the scene: the ambient, diffuse, and specular colors; the
shininess; and the color of any emitted lights. This sample also
demonstrates how to print an OpenGL image by writing the OpenGL image into
a DIB section and printing the DIB section. The current version of
Microsoft's implementation of OpenGL in Windows NT does not provide support
for printing. To work around this current limitation, draw the OpenGL image
into a memory bitmap, and then print the bitmap.
Additional query words: glbmp.exe opengl kbgraphic kbprint kbfile
Keywords: kbdownload kbfile kbgraphic kbinfo kbsample KB136266