>When do I need a switch node if I have a nodemask?
>[..]
>Why - is there extra functionality from the switch, is there a limitation of 
>the nodemask?


The difference is in traversal of nodes.

Switch nodes affect ALL traversals.
Node/cull masks affect certain kinds of traversals.

For example, if a model should only be rendered by the main camera
mSecondCamera->setCullMask( 2 );
model->GetNode()->setNodeMask( 1 );
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to