Article ID: 272221 - Last Review: April 3, 2006 - Revision: 2.5 GLDib Demonstrates Rendering to DIBSections By Using OpenGLThis article was previously published under Q272221 SUMMARY The GLDib sample, which is contained in the self-extracting
executable, Gldib1.exe, demonstrates how to render an OpenGL scene into a
DIBSection (a device-independent bitmap). The sample also demonstrates how to
display and print the DIBSection, thus effectively rendering OpenGL to the
printer. The sample creates a DIBSection that is in the same format as the screen, which avoids the need for system-translation of the DIB at display time. This can yield relatively fast animation for unaccelerated systems. The frames-per-second (FPS) animation rate is displayed in the title bar of the window. You can reset this calculation (after resizing the window for instance) by pressing the "R" (or "r") key on your keyboard. MORE INFORMATIONThe
following file is available for download from the Microsoft Download
Center: Gldib1.exe
(http://download.microsoft.com/download/platformsdk/sample/2/win98/en-us/gldib1.exe)
Release Date:
Sep-22-2000For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
REFERENCES Most of the following references can be found on the
Microsoft Developer Network (MSDN) Library CD-ROMs. Some of these references
are published by publishers independent of Microsoft; we make no warranty,
implied or otherwise, regarding the reliability of these resources.
| Article Translations
|
Back to the top
