[osg-users] osgText quality (UNCLASSIFIED)
Buckley, Bob CTR MDA/IC
bob.buckley.ctr at mda.mil
Thu Dec 6 09:48:45 PST 2007
Classification: UNCLASSIFIED
Caveats: NONE
I leveraged the Font class and its internal Glyph sets for calling
glBitmap.
This is how Glut does text, which is nice and crisp.
However, it results in purely billboarded text, unless you do the
rotations yourself.
I would like to have used XFonts but I'll be cross platform.
But, I'm able to leverage TrueTypeFonts.
Bob Buckley
Raytheon
-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Himar
Carmona
Sent: Thursday, December 06, 2007 6:45 AM
To: OpenSceneGraph Users
Subject: [osg-users] osgText quality
Hi,
have anybody any hints about which parameters values give the best
quality with osgText? In my app i must show some text (normally 10-20
pixel height), and the quality i have been able to achieve is not good.
I noticed also in osgText that some characters are clipped ( most
visible for e and c characters, event at a great font resolution).
I was also looking for a way to look at the texture that osgText is
creating, but haven't found one.
Thanks a lot,
Himar.
Classification: UNCLASSIFIED
Caveats: NONE
More information about the osg-users
mailing list