The nodeMask is checked against the cameras cullMask (see
osg::CullSettings::setCullMask()) . Any bit set in both masks will
result in the node been drawn.

Ralph

Emmanuel Roche schrieb:
> hi again,
> 
> 
> Just something about the nodemasks: suppose  i want to stop drawing an
> object, all the examples I've seen say claeraly that I have to set
> node->setNodeMask(0x0), but suppose now that I really want to change
> only one bit in this mask: where should I look for the bit field against
> which this mask is checked ? (and the overriding bit field I guess...)
> 
> I though only the first bit was checked, but it is not the case, as an
> object with the mask 0x00000010 is also drawn for instance...
> 
> Manu.
> 

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

Reply via email to