rendering without displaying

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.

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