Hi Thorsten,
Thanks J-S for testing! You're right, the actual anaglyphic effect seems
to work. But many surfaces aren't rendered correctly. I believe it all
shaders are affected (since all our clouds are gone and most of our
cockpit surfaces and instruments are black - and we use shaders in
exactly these places). The shaders are definitely working when
OSG_STEREO is off. So, could anyone confirm shaders are still working
with osg stereo? And we'll try to dig deeper to see what exactly
triggers it.
Again with these env variables set:
set OSG_STEREO=ON
set OSG_STEREO_MODE=ANAGLYPHIC
I tried the following files, which contain shaders:
osgviewer glsl_confetti.osgt
osgviewer glsl_mandelbrot.osgt
osgviewer glsl_simple.osgt
I also tried the following examples, which use shaders:
osganimationviewer nathan.osg
osganimationhardware nathan.osg
osgfxbrowser (tried all effects)
osggeometryshaders
osgshaders
osgshaderterrain
osgshadow --lispsm -3
I am reasonably certain that this tests vertex, geometry and fragment
shaders. All of them displayed the anaglyphic stereo correctly and
seemed to display all the effects they were supposed to display.
I am not sure how to help you further, I think you would have to dump
your scene, try it in osgviewer, or run in the debugger to see why your
clouds and other shader-dependent things don't render correctly...
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org