PDA

View Full Version : is there any way to say the screen from the OpenGl window to bitmap or other picture



eved
04-04-2001, 12:26 PM
is there any way to say the screen from the OpenGl window to bitmap or other picture file?

BwB
04-04-2001, 01:08 PM
Check out glReadPixels() then you just need to save it to some file format (tga is really easy). I've seen examples before but I dont know where any are offhand.

pleopard
04-04-2001, 02:32 PM
Everything you need can be found on CodeGuru. See http://www.codeguru.com/opengl/snaptojpeg.shtml