Demonstration of OpenGL Material Property and Printing (136266)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Workstation 4.0
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.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbdownload kbfile kbgraphic kbinfo kbSample KB136266 kbAudDeveloper |
---|
|