On 29.8.2013 15:07, Glenn Waldron wrote:
For rendering, data variance only applies to Drawables and StateSets, not
to Nodes. Data variance on Nodes is only honored by the osgUtil::Optimizer.
So if you want to change your materials at runtime in multi-threaded mode,
set the StateSet d.v. to DYNAMIC.
Yes of course, my bad. Although data variance can be set on any
osg::Object, it is only feasible to set it on drawables and state sets.
Anyway, DYNAMIC variance will force the frame to wait till the dynamic
draw is complete.
Thanks for the correction Glenn.
Robert Milharcic
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org