LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: axel.f on August 17, 2003, 13:04:18

Title: How to get an AUX0 buffer?
Post by: axel.f on August 17, 2003, 13:04:18
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
Title: How to get an AUX0 buffer?
Post by: elias on August 17, 2003, 13:27:52
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