>
> To delete the same text I've tried the following code but it's not working
> for me:
> osg::ClearNode* clearNode = new osg::ClearNode;
> clearNode->addChild(tankLabelGeode);
>

  I'm not sure where you got the idea to use clearNode. Go read the
documentation of what it does. It's not what you need.


How can I hide the nodemask ?
>

  Set the node's nodemask to 0:

tankLabel->setNodeMask(0);

To turn it back on, set it to non-zero:

tankLabel->setNodeMask(~0);



>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47503#47503
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to