PDA

View Full Version : capturing images



Rajveer
03-25-2002, 05:57 AM
If I've drawn an openGL scene, is there some way I can capture the scene to a bitmap file? I need to do certain area, lengh and radius of curvature calculations from my scene and openGL doesn't support this

Bob
03-25-2002, 06:15 AM
Use glReadPixels to read the framebuffer, and then use your own, or some third-pary, function to save it.

rts
03-26-2002, 10:31 AM
http://www.opengl.org/discussion_boards/ubb/Forum4/HTML/000182.html