Uwe Woessner wrote:
Hello,
Back to front sorting in the transparent bin did not work in our
application on linux since quite a while.
Once we used CMake to build OpenSceneGraph, it worked correctly but
our application was three times slower than before.
It turned out, that I forgot to add -DCMAKE_BUILD_TYPE=RELEASE to the
cmake options and thus got a non optimized osg build.
With the optimized build I got decent framerates again but geometry
sorting did not work anymore.
It turned out to be CullVisitor.cpp in osgUtil which causes the bug to
appear if compiled with -O3 and disappear if compiled with -g.
Eek, recent gcc's are a bit scary when used with -O3. Lots of
optimization bugs start to appear. Does the bug occur with -O2 as well?
Paul
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/