HI Steven,

On Jan 25, 2008 5:06 PM, Steven Powers <[EMAIL PROTECTED]> wrote:
> It seems that if the traversalMask gets set to 0x10 it shouldn't render
> nodes with a node mask of 0x1. But this is still happening.
>
> Can the problem be elsewhere. Where does the cull_mask / node_mask get
> evaluated to determine if the node should be visited?

Its the Node::accept() method that evaluates the NodeMask of the Node
against the TraversalMask of the NodeVisitor.

> Does a inheritance mask of the object need to get set?

The inheritance mask is only related to the CullSettings not the
NodeMask/Traversal.  I guess the multiple inheritance used in Camera
is what brings the setNodeMask and setInheritanceMask into too close a
proximity that their roles can be confused.  setInheritanceMask could
probably be renamed a bit more log winded way to try and separate them
but this would break backwards compatibility.

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

Reply via email to