Hi Wang & all the others,

I'd like to know if there is something special to clear the buffers when
going from stereo with quadbuffer to non stereo ?

I've tried to setup a stereo view embedded in a Qt 4.6 MainWindow, it works
well if I create the context with traits->quadBufferStereo=true; just as you
said,
but when I switch of the stereo rendering using
osg::DisplaySettings::instance()->setStereo(false); then there is a ghost
object remaining in the view...

Is there something I missed when stopping the stereo rendering ?

If I destroy the view and recreate it, it works well.

I've only tried on Windows 7 with Quadro so far... maybe there is a trouble
with windows 7 ?

Regards, Pierre.


2010/8/25 Wang Rui <[email protected]>

> Hi Andreas,
>
> Yes, you have to set traits->quadBufferStereo to true and create you
> graphics context. It will automatically add a WGL_STEREO_ARB attribute
> to the WGL pixel format settings. I haven't heard of any obvious draw
> back here.
>
> Wang Rui
>
>
> 2010/8/25, Andreas Roth <[email protected]>:
> > Thank you Wang Rui!
> >
> > I haven't thought it would be so easy ;-)
> > I use the quad buffer stereo mode. Do i have to create my graphic context
> > with quad buffer enabled or can i turn it on later (during runtime)? Is
> > there a draw back when quad buffer is enabled but stereo is not enabled
> > (concerning performance)?
> >
> > Andreas
> >
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=31014#31014
> >
> >
> >
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to