PDA

View Full Version : opengl and screenshots



mdog1234
11-25-2002, 07:07 PM
is there any easy way to capture a screenshot in opengl. I know it involves capturng the frame buffer

prashantgp
11-25-2002, 07:34 PM
Hi mdog1234 , please give me ur mail id.
i want to know more on sprintf().

u can use texturisation for ur problem.

Old GLman
11-25-2002, 08:12 PM
Hi, just glReadPixels, then write it to an image format of your choosing. .bmp and .tga writers are pretty easy to code; lots of information out there. http://www.wotsit.org

Old Glman

rts
11-25-2002, 08:50 PM
http://www.opengl.org/discussion_boards/ubb/Forum4/HTML/000182.html

Try doing a search before posting questions that have been answered thousands of times already.