On Thu, Jul 3, 2008 at 7:35 AM, Schmidt, Richard <[EMAIL PROTECTED]> wrote: > hi, > 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.
The UNSPECIFIED data variance is required as part of the support for setting up DrawThreadPerContext/CullPerCameraDrawPerContext threading models - it's a way of knowing that the DataVariance field hasn't been explicitly set so it could be STATIC or DYNAMIC. Ideally all DataVariance fields will be explicitly set by the loader, and Terry's experience with improvement to performance suggest that some of the loaders could be tightened up w.r.t their own setting of DataVariance. In general most state will be STATIC in the scene graph, or only an occasional field will be DYNAMIC. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

