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 <[email protected]> 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 > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

