PDA

View Full Version : Off Screen Rendering



02-22-2005, 12:16 AM
Hi,
Please can some one tell me as to how do we disable rendering to screen in OpenGL.

02-22-2005, 12:50 AM
In general OpenGL is designed to render into a window and the pixel owner ship test will discard any fragments that are not visible.

However depending on the underlying OpenGL implementation there are ways to acomplish offscreen rendering.

You may find this link usefull:

http://www.mesa3d.org/brianp/sig97/offscrn.htm

Its a tad older but still true, the only thing that changed is that pbuffers are commonly available on current mainstream hardware and not only on SGI hardware.