[osg-users] how to show osg::Text respectively?

Robert Osfield robert.osfield at gmail.com
Thu Oct 29 10:05:23 PDT 2015


Hi Lv.

It sounds like an osg::Swtich would be the appropriate tool for toggling
on/off different text subgraphs.

Robert.

On 29 October 2015 at 15:55, Lv Qing <donlvqing at msn.com> wrote:

> Hi,
>
> Here is the situation ,I want to draw dozens of osg::Text,all as children
> of one osg::Geode.And I want to show some of the  osg::Text
> ,and some not.I failed to see osg::Text has a setNodeMask funciton,I can
> only call the  osg::Geode setNodeMask ,but it show all osg::Text or not.If
> I add each one osg::Text to each one osg::Geode,it dose not look like an
> efficient way. So need help!
>
> Thank you!
>
> Cheers,
> Lv
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=65489#65489
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151029/4f8c96b6/attachment-0003.htm>


More information about the osg-users mailing list