Hi Jonathan,

I tried with 2.8.0 and 2.8.2, and it's the same story. Run,

osgCompositeViewerd cow.osg --stereo QUAD_BUFFER

It fails to run in stereo and produces the messages in my original post:

viewerd.exe cow.osg --stereo QUAD_BUFFER
Warning: Could not find plugin to read objects from file "QUAD_BUFFER".
Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,)
... (repeated every frame) ...

Well, it just seems to me that the osgcompositeviewer application doesn't recognize the stereo mode argument.

Try this:

set OSG_STEREO=ON
set OSG_STEREO_MODE=QUAD_BUFFER
osgcompositeviewerd cow.osg

In my case (using ANAGLYPHIC instead of QUAD_BUFFER) this works fine.

The difference is that osgviewer is an application, and has support for a lot of different command line options. osgcompositeviewer is just an example, so it doesn't support all the options that osgviewer does.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to