Updating 5/27/03 backup with 6/20/03 tarball

This commit is contained in:
Don BURNS
2003-06-24 15:39:59 +00:00
parent 1dce115c91
commit 5a939f5420
3 changed files with 112 additions and 40 deletions

View File

@@ -60,9 +60,9 @@ osg::Node* createLabel2(const osg::Vec3& pos, float size, const std::string& lab
text->setPosition(pos);
text->setFontResolution(40,40);
text->setCharacterSize(size);
text->setCharacterSizeMode(osgText::Text::SCREEN_COORDS);
text->setAlignment(osgText::Text::CENTER_CENTER);
text->setAutoRotateToScreen(true);
text->setAutoScaleToLimitScreenSizeToFontResolution(true);
text->setDrawMode(osgText::Text::TEXT_PIXMAP);
text->setText(label);
@@ -87,7 +87,7 @@ osg::Node* createLabel3(const osg::Vec3& pos, float size, const std::string& lab
text->setCharacterSize(size);
text->setAlignment(osgText::Text::CENTER_CENTER);
text->setAutoRotateToScreen(true);
text->setAutoScaleToLimitScreenSizeToFontResolution(true);
text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT);
text->setText(label);
}