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/