Hello All, New to OSG and just finished reading the OSG Quick Start guide. I wanted to make sure I understood when it is necessary to set the data variance of a Node to DYNAMIC. The OSG Quick Start Callback example set the rotation MatrixTransform node to DYNAMIC since it would be modifying the transform in each update callback and that made perfect sense.
However, the Picking example does not do this, even though it is essentially performing the same thing though with user interaction involved. It's still modifying one of the MatrixTransform nodes as the Callback example did, but the node's data variance was specifically set to STATIC when it was created. I thought maybe the data variance value would be changed to DYNAMIC after it was determine that it had been selected, but that doesn't appear to be the case. So, my question is, why aren't the rotation MatrixTransform nodes in the Picking example set to DYNAMIC like the one MatrixTransform node in the Callback example was? Wouldn't that leave the possibility of updating the scene graph during the cull and/or draw phases? Thank you! Cheers, Dan ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47868#47868 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

