Login  Register

How to enable quad-buffered stereo rendering

Posted by michael.nischt on Jul 02, 2010; 2:52pm
URL: https://forum.jogamp.org/How-to-enable-quad-buffered-stereo-rendering-tp938684.html

Hi there,

I have an 120Hz screen and the nvidia 3D vision kit plugged into my computer running Ubuntu (Linux-amd64) with a GeForce Quadro FX 4800 and want to use quad-buffered stereo rendering in jogl2. Unfortunately, I don't see how to enable it.

I set GLCapabilties.setStereo(true), but the flag is false in the chosen caps of the GLDrawable - a GLCanvas in my case. Actually, using a GLCapabiltiyChooser, none of the available modes has the stereo flag set to true. Accordringly a later query to glGetBooleanv(GL_STEREO, ..) returns GL_FALSE.

However, my system configuration is perfectly capable of it. For example these programs written in PyOpenGL work perfectly fine:
http://www.geeks3d.com/20090814/stereoscopic-camera-in-opengl-using-pyopengl/
I added the glGetBooleanv(GL_STEREO, ..) to these scripts and the returned value is GL_TRUE.

Can anyone help my enable stereo with JOGL2?

Thanks and Best,
 Michael