How to get an AUX0 buffer?

Started by axel.f, August 17, 2003, 13:04:18

Previous topic - Next topic

axel.f

Hi,

I am trying to save the current buffer contents (including depht buffer) into the aux0 buffer, so I can use it as background and simply use glCopyPixels to init the new backbuffer and render on top of it.

Unfortunatly this does not seem to work, because my system seems to lack the auxiliary buffers. Do I have to initialize or create these buffers first, or do I have to live with the fact that my opengl driver does not support them? Or maybe I can use a pbuffer for the same task, but I have not found out how to copy the pixels to the backbuffer.

With thanks in advance

Alex

elias

IIRC, aux buffers are not supported on regular 3d hardware. If you use a Pbuffer (which is supported in lwjgl), you can always copy/render to texture and use a textured quad to draw the background.

- elias