View Full Version : glReadPixels

09-15-2005, 02:55 AM
Is it possible to use glReadPixels to get the pixel data of the model created by OpenGL without showing it in a window? I want to get the pixel data and load to OpenCV then show them in the window created by OpenCV only.

09-15-2005, 04:29 AM
Have a look at the EXT_framebuffer_object (http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_object.txt) extension. It allows you to render to offscreen buffers and textures.