[osg-users] new Optimizer improvement rocks

Schmidt, Richard Richard.Schmidt at eads.com
Wed Jul 2 23:35:57 PDT 2008

i think this fix breaks the design of the DataVariance field.

A better solution would be to fix the loaders and make those objects
static which ARE static. Or remove the 'unspecified' flag from the
DataVariance enum at all.


>This improvement to sharing duplicate state in Optimizer has boosted
my app's performance 10-20% on my various computers at work.  Nice
job, and thanks.  I'm running a pretty complex .flt city model with
lots of textures for all the buildings and cars.  It also loads lots
of external models.  I wonder if others are seeing this much

revision 8513:
"Changed the Optimizer::StateVisitor so that it can individually decide
to optimize away duplicate state with dynamic, static and unspecified
DataVarience. By default
the code now optimizes away duplicate state with either static and
unspecied state, previously
it was just handling static state."
osg-users mailing list
osg-users at lists.openscenegraph.org

More information about the osg-users mailing list