|
I am currently looking at a problem with osg::Optimizer. I
wonder if any one can verify this problem for me. The problem occurs when the graph being optimized contains
shared state sets. If the Optimizer has the MERGE_GEOMETRY option set then the
output graph is not correct and some surfaces disappear from the model. The input graph in question contains shared state sets
because a previous optimization has performed a MERGE_STATE_SETS. I have attached some simple samples. test_opt1.osg is a graph containing shared state sets. It
was produced by running osgconv on the original osg file with the OSG_OPTIMIZER
environment variable set to MERGE_STATE_SETS. test_opt2.osg is result of
running osgconv on test_opt1.osg with OSG_OPTIMIZER=MERGE_GEOMETRIES. If you
view these files in osgviewer with OSG_OPTIMIZER=NONE you will see that second
one has some surfaces missing. I will look into this further, but if anyone has come across
this before, or feels like doing some debugging J feel free
to let me know. Roger |
test_opt2.osg
Description: Binary data
test_opt1.osg
Description: Binary data
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
