Hi Dennis,
I did actuall merge a fix for scaling of screen space text, this is
probably the most likely change that would affect things between 1.0
and 1.1. Have a look at OpenSceneGraph viewcvs.
Could you post a complete modified osgtext so I can test it at my end.
Robert.
On 7/20/06, Bunfield, Dennis AMRDEC/Davidson
<[EMAIL PROTECTED]> wrote:
In 1.0 this code snippet worked as expected
//Modified code from osgtext example
osgText::Text* text4 = new osgText::Text;
text4->setFont("fonts/times.ttf");
text4->setPosition(center);
text4->setAxisAlignment(osgText::Text::SCREEN);
text4->setAlignment(osgText::Text::CENTER_CENTER);
text4->setCharacterSizeMode(osgText::Text::SCREEN_COORDS);
text4->setText("SCREEN");
geode->addDrawable(text4);
In 1.1 the setCharacterSize(SCREEN_COORDS) will distort the scalling of the
text?
Has the method for doing this changed or is this a bug?
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/