Re: [osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-24 Thread Guy Barlow
Hi,

Just a note to say this is now completely resolved. 

It was my fault, the stereo failed in my application because I was setting up 
the display settings of the 3D view after adding it to the composite viewer. 

Anyone who is trying to get something similar to work please beware: The order 
of operations in setting up composite views matters A LOT.

The issues with enabling the active stereo on my Stereo Monitor were resolved 
by setting the Select when the display is in 3D mode: option to Always in 
the Nvidia control panel.


Thanks again for the help!
... 

Cheers,
Guy

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61413#61413





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Guy Barlow
Hi,

I've been struggling with this for over a week now, its really blocking 
progress on my project.

Basically, I can't seem to get quad buffer stereo working in any sort of 
compositeviewer. For what its worth, both the osgcompositeviewer example and my 
own application show the same error : 

Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..)

..and refuse to show anything other than a mono view. 

I get the same issue on both my builds: a MinGW Windows 7 build and a gcc build 
on Arch Linux.

My OpenSceneGraph is built from source in both cases using the latest revision 
in trunk (14459)

Finally all other stereo modes seem to work in all cases, on both builds. I've 
been trying to track the problem down using a debugger without any luck. 

I'm going to try and debug the GL calls next, but was wondering if anyone else 
had experienced anything similar.
... 

Thank you!

Cheers,
Guy

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61366#61366





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Guy Barlow
Hi Robert,

Many thanks for the quick response. 

I'm currently testing on an Nvidia Quadro 600 on windows with drivers I've just 
updated. I've enabled stereo on the control panel and I have seen other 
applications (and the demo) working fine.

The linux build is on a virtual machine.. so I would not expect stereo to 
actually 'work' with that.. but I'd at least expect to see the usual flickery 
ghosting of frame sequential output.

Just an added additional note: the osgviewer application 'looks' like its 
rendering frame sequential - but does't seem to trigger my nView stereo 
monitor. 

Again, osgcompositeviewer shows no signs of quad buffer output at all.

Hope this helps.

Guy

... 

Thank you!

Cheers,
Guy

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61390#61390





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Guy Barlow
Hi,

OK, I've made some progress. osgcompositeviewer seems to be producing frame 
sequential output as expected when I use the -2 flag to full screen it.  

The problem with the default settings was that the WSI graphics context wasn't 
getting initialised with stereo enabled.

Still not playing nice will nView.. but its definitely progress.
... 

Thank you!

Cheers,
Guy

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61391#61391





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org