Re: [osg-users] How to change the text with osg::Text?

2012-10-19 Thread Eungil, Kim
It works very well. :) Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50622#50622 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] How to change the text with osg::Text?

2012-10-15 Thread Eungil
Hi, I am a very new, and i got a problem with using osg::Text. I set the text like this blow. osg::Geode* textGeode = new osg::Geode(); osgText::Text* textLabel = new osgText::Text(); root-addChild(textGeode); // root is a point of osg::group() then, i want to display the numbers being

Re: [osg-users] How to change the text with osg::Text?

2012-10-15 Thread Sergey Polischuk
Hi call textLabel-setText(strTmp); instead of update() Cheers. 15.10.2012, 13:42, Eungil slwa...@naver.com: Hi, I am a very new, and i got a problem with using osg::Text. I set the text like this blow. osg::Geode* textGeode = new osg::Geode(); osgText::Text* textLabel = new

Re: [osg-users] How to change the text with osg::Text?

2012-10-15 Thread Chris Hanson
call textLabel-setText(strTmp); instead of update() Also, you may need to set the dataVariance on the osgText to Dynamic. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene