PDA

View Full Version : rendering without displaying



naf
08-28-2002, 09:52 PM
I'm interested in rendering scenes onto the frame/depth buffers and reading back the pixel values, but NOT displaying it on the screen, and possibly not creating a window at all. Additionally, I noticed that for pixels that are out of range of the visible screen, the depth buffer values are invalid.
Help anyone? thanks.

mikael_aronsson
08-28-2002, 10:57 PM
Hi !

There is no platform independent way to do it, but with windows you can create a rendering context that renders to a DIB instead of a window, with nVIDIA cards you can use pbuffers and so on, if you use Mesa you can get a platform independent solution, Mesa has it'sown support for this, but you will not get any acceleration.

Mikael