On 6/6/07, alessandro terenzi <[EMAIL PROTECTED]> wrote:
I think I found out what was the problem: node visitors skips any sub-graph
whose root has a nodemask = 0 ...did I understand it correctly? ...in this
case I understand the reason for my missing nodes...because at the beginning
of my simulation some nodes are hidden.
Is there a way to force the visitor to actually visit the entire graph?
...going down even if it finds a hidden node?
A node mask of 0 will normally terminate all traversals. You can
override this by setting the node mask override on the NodeVisitor
i.e.:
updatevisitor->setNodeMaskOverride(0xffffffff);
This will bit wise OR the Node mask and the mask override value before
doing a bit wise an against the traversal mask.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/