[osg-users] Antialiasing Text

Roko Talk schirokotal at gmail.com
Tue Feb 7 14:01:24 PST 2017


Hi guys,

anyone an idea how I could apply the authors solution without specifying the font? 

I just try to have 2D text on top of everything, which should not change it's screen size. (<-- "setCharacterSizeMode(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT)") 

But no matter what I try the text itself looks pretty ugly and I think this is caused by anti aliasing. - Do I miss something how I could get 2D text in just raw, crystal clear, pixels? So the text either has exactly the color specified or there is no text. And what I get right now is, that I specify white as the color and the font color is partially white, light grey. 

Anyone an idea? : )

Many thanks in advance!


Cheers,
Roko

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








More information about the osg-users mailing list