Hi, I'm looking for the right-hand position of a variable width osgText string.
My call to osgText::getBound() works perfectly... after the string is drawn once on screen. A Nov. 2004 post says the font is "not created until the first time it's applyed to an osg::State." This appears to still be the case. Is there a way to validate the bounding box before the render stage? Is this the right way to find the text width? My structure is an osg::Geode parenting several osgText::Text objects with varying fonts, positions, and strings. Thanks, Brian _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
