Re: [osg-users] Enable/Disable stereo during runtime

2014-08-04 Thread Mikhail Matrosov
Ok, thank you for spending your time on the issue. Cheers, Mikhail Best regards, Mikhail Matrosov -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60537#60537 ___ osg-users ma

Re: [osg-users] Enable/Disable stereo during runtime

2014-08-04 Thread Robert Osfield
HI Mikhail, I have just looked up OpenGL docs on glDrawBuffer and it does look like using glDrawBuffer(GL_BACK) will set both the left and right buffers and so could work for making a window look like a mono. You can set the DrawBuffer settings for each osg::Camera::setDraw/ReadBuffer(); You can

[osg-users] Erratical behaviour with PolytopeIntersector

2014-08-04 Thread Sonya Blade
Dear All, I'm experiencing very weird problem when using the polytope intersector. Since there is not any explicit example on how to use polytope example with rectangular selection I use osgPick example in OSG and modify the codes to suit my need. Normally the below code picks the objects on sce

Re: [osg-users] Enable/Disable stereo during runtime

2014-08-04 Thread Mikhail Matrosov
robertosfield wrote: > If you want a non quad buffer stereo you have to create a new window. Just to avoid possible misunderstanding: I don't want "non quad buffer stereo", I want mono. Toggle stereo on/off. Maybe there is some workaround? Like manual call to glDrawBuffer()? You see, we have

Re: [osg-users] Enable/Disable stereo during runtime

2014-08-04 Thread Robert Osfield
Hi Mikhail, On 4 August 2014 08:34, Mikhail Matrosov wrote: > I'm sorry, but can't I just clear the second buffer so it is no longer > visible? No, the stereo buffer visual will still be swapping between the left and right buffers, both will be visible, it's the driver that does this, not the

Re: [osg-users] "Step" animation

2014-08-04 Thread Cedric Pinson
I would say that it is for this purpose, do you have a simple test case to reproduce it ? Be sure to have validate time keyframe, or It's possible that there is a bug :) On Wed, Jul 23, 2014 at 6:27 PM, Robert Gosztyla wrote: > Hi, > > Me again ;). This time i would like to ask about animations

Re: [osg-users] Enable/Disable stereo during runtime

2014-08-04 Thread Mikhail Matrosov
robertosfield wrote: > The DispaySettings stereo parameters are used during the window creation and > during each new frame. In the case of quad buffer stereo the window creation > has to allocate a quad buffer visual but if you then disable the rendering to > both eyes/buffers then you'll see