Hi, tim This is just a note from tim to yourself... Just checking on the basics you want to accomplish...
You have some persistent data in the form of labels that you would like to enable or disable depending on mode/state or a certain menu configuration. You would also like to enable/disable an individual text lable in that group and you presumed that you might be able to do that with osg::switch. While you found you could enable/disable the whole group when a geode containing multiple text lables was added to a switch and even that disabliing all children in a group was also a possibility... you found that you could not add a text to a switch nor find a way to enable/disable one text child as part of a parent geode, which you further assumed was the correct kind of place to add a text child as a drawable.... So you wonder how enable/disable text from rendering at will without deleting the object or replacing the text with spaces or non-text, because you'd like to re-use the group of labels next time that page of information is used. Maybe it should just be re-drawn from scratch, but you're wondering how to do it, hmmmm??? How to do that same thing like setSingleChildON() or setChildValue() or the like when those functions aren't available or want a different type of pointer (like a node*) when you have a text added to a geode as a drawable? What makes text different than those other things you've been switching ON/OFF like graphics models and the like? good luck with that... I can't help you at this time, but... hang in there... simple things may come to those who wait... Have fun! Cheers, tim ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26541#26541 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

