I use a osgText::Text object, put the text into it with all the appropriate
attributes. I put the osgText::Text under an osg::Geode with addDrawable().
I put the geode under an osg::MatrixTransform (I believe it may have
changed name in the latest version of OSG) with addChild(). Then I use a
osg::Projection and put the transform under that. Then you can change the
position of the object by calling text-setPosition().
On Fri, Aug 30, 2013 at 6:35 AM, Sebastien le Goff se.leg...@gmail.comwrote:
Hi,
I'm looking for a way to create a text scroller. My pb is that I can move
dynamicaly the TextBaseElement using a positionAttittudTransform by I can't
hide the top or the bottom of the Element
Have you got some tips ?
Thank you!
Cheers,
sebastien
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56033#56033
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org