Hello OSGers! :)

Let's say that I have an osg::StateSet with some osg::Materials or 
osg::Uniforms attached to it. The osg::Material or osg::Uniform changes values 
during the run time, and because of that I set their DataVariance to DYNAMIC. 
Do I also have to set the DataVariance of the osg::StateSet to DYNAMIC? What if 
I have an osg::Geode on which I add/remove Drawables during the run-time? What 
if I have an osg::Drawable which I update its geometry in every frame? Do I 
have to set the DataVariance of the osg::Geode to DYNAMIC? Could someone tell 
me if (and when) the DataVariance property of an osg::Object is inherited to 
its parent or children automatically? Thanks for your time!

Cheers,
George

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47824#47824





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to