Mike Hall wrote:
> I have attached an image showing the issue.
>   
Try increasing the resolution of the glyph textures, with
setFontResolution(). When you have a low resolution the artifacts will
stand out more.

I've done some hacking to dump the glyph textures that are actually
used. There's no obvious clipping going on there, they look spot on (see
attached files, and yes, they're upside down). So the clipping comes
from using texture coordinates that are slightly off, which might
explain why using an integer position might lead to better results
(although I don't really see a difference versus non-integer positions
myself). That's a bit of a shame though, having good glyph textures that
get mangled a bit somewhere in the process...

Paul


<<attachment: glyph-0-131x173.png>>

<<attachment: glyph-2-105x131.png>>

<<attachment: glyph-5-126x180.png>>

<<attachment: glyph-7-110x131.png>>

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to