PDA

View Full Version : Rendering to a image (Screen Dump)



Tronix
07-11-2002, 12:25 PM
Hello there..

How do I dump the rendering 'field' (my visual output/the drawed stuff) to an image-file? I accually just need get a pointer to the screen-buffer..

- Tronix

jwatte
07-11-2002, 12:39 PM
I think this question is answered several times if you search the forums (I suggest searching the beginner's forums).

In brief, OpenGL does not give you direct access to the frame buffer, but you can indirectly use the frame buffer bits using something like ReadPixels or CopyTexSubImage.