[osg-users] Antialising for text

Igor Spiridonov igwasm at rambler.ru
Tue Jun 26 01:06:27 PDT 2018


Hi.
I tried to set sampling traits->samples = 4 but I don't see any improvement.

I use text this way:


Code:
osg::ref_ptr<osgText::Text> text = new osgText::Text;
text->setFont(m_font);
text->setAxisAlignment(osgText::Text::SCREEN);
text->setDrawMode(osgText::Text::TEXT);
text->setAlignment(osgText::Text::LEFT_BOTTOM);
text->setCharacterSizeMode(osgText::Text::SCREEN_COORDS);
text->setCharacterSize(11.0);




What do I need to do to make font smoother?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74166#74166







More information about the osg-users mailing list