<div dir="ltr">Try increasing the texture resolution with osgText::Text::setFontResolution().<div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Glenn Waldron</div></div></div></div>
<br><div class="gmail_quote">On Tue, Feb 7, 2017 at 5:01 PM, Roko Talk <span dir="ltr"><<a href="mailto:schirokotal@gmail.com" target="_blank">schirokotal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
anyone an idea how I could apply the authors solution without specifying the font?<br>
<br>
I just try to have 2D text on top of everything, which should not change it's screen size. (<-- "setCharacterSizeMode(osgText:<wbr>:Text::OBJECT_COORDS_WITH_<wbr>MAXIMUM_SCREEN_SIZE_CAPPED_BY_<wbr>FONT_HEIGHT)")<br>
<br>
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.<br>
<br>
Anyone an idea? : )<br>
<br>
Many thanks in advance!<br>
<br>
<br>
Cheers,<br>
Roko<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=70123#70123" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=70123#<wbr>70123</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>