Try increasing the texture resolution with osgText::Text::setFontResolution().
Glenn Waldron On Tue, Feb 7, 2017 at 5:01 PM, Roko Talk <[email protected]> wrote: > 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 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

