if (visible==false)
{
node->setNodeMask(0x000000);
}
else
{
node->setNodeMask(0xffffff);
}
2010/3/26 Martin Beckett <[email protected]>
> Specifically set the CullMask in the camera with eg.
>
>
> Code:
> #define DRAW 0x80000000
> viewer->getCamera()->setCullMask(DRAW);
>
>
>
> Then just toggle the bit in _nodeMask for each node
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=26166#26166
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
Maxim Gammer
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org