On 9/25/06, sherman wilcox <[EMAIL PROTECTED]> wrote:
I'm not performing any explicit optimizations. That is I did not run osgUtil::Optimizer.
However, I did set the environment variable OSG_OPTIMIZER=OFF, lo and behold my drawable count went to 10 as one would expect. OK, so the optimizer is running by default. Fine I suppose, so long as I know.
Thanks for the assistance.
The Optimizer will be called from somwhere in your app (most the osg examples call it so perhaps this is copy and pasted in). The only place where the Optimizer is used by default is when you are using a plugin like OpenFlight that will use the Optimizer to fix some of the worst offenses that the OpenFlight structure throws at the scene graph structure. Most plugins don't use the Optimizer though.
Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
