PDA

View Full Version : snapshot



Harry of DAIW
07-26-2000, 02:05 AM
Hi,
is there a possibility to make a screenshot of the hardware-rendered scene?
thanks
Harry

Relic
07-26-2000, 05:47 AM
You mean grabbing the window contents into the clipboard with "Alt+Print" under MS Windows?
Well, is that the answer?

Using OpenGL you can read the color buffer with glReadPixels().

shawge
07-26-2000, 06:04 AM
nate.scuzzy.net has some code to do this via glReadPixels. Output is tga.

Harry of DAIW
07-26-2000, 06:06 AM
merci http://www.opengl.org/discussion_boards/ubb/smile.gif