[osg-users] quad buffer stereo problem in an embedded window
Evan Suma
easuma at gmail.com
Mon Jul 23 14:38:04 PDT 2007
Hello all,
I am having an issue with quad buffer stereo in OpenSceneGraph 2.0.
osgViewer does not seem to set up quad buffer stereo correctly when run as
an embedded window. I added the following 2 lines of code to the
osgViewerQT example, which was running fine without stereo:
osg::DisplaySettings::instance()->setStereoMode(osg::DisplaySettings::StereoMode::QUAD_BUFFER);
osg::DisplaySettings::instance()->setStereo(true);
This produces the following error at runtime:
Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,)
Please be aware that stereo is enabled on my machine. I have tested quad
buffer stereo in other OpenSceneGraph applications (which do not embed the
viewer in a window) and it produces the correct result. Is anyone aware of
this issue? Is there some additional setup I have to do in order to get
quad buffer stereo working with the osgViewerQT example?
Thanks,
Evan
--------------------
Evan A. Suma
Ph.D. Student
Future Computing Lab
University of North Carolina at Charlotte
http://www.evansuma.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070723/e7f04b3e/attachment.html
More information about the osg-users
mailing list