Hi
FYI I guess JP was talking about this thread
http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/9932/focus=9937
Using two equal values for the resolution worked for me too. You have
to try various values because some rounding is performed in background
and you won't necessarily notice any change if you increment them by
one, for instance.
Cheers
Thibault
On Dec 6, 2007 2:57 PM, J.P. Delport <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've also had cases with characters clipped, sometimes not even on the
> same edge. There has been a discussion about this quite some time ago,
> maybe you can find it if you search for my name, and I remember some
> other people also proposed solutions.
>
> What worked for me was to set the resolution and character size to the
> same values, e.g.
> osg::ref_ptr<osgText::Text> t = new osgText::Text();
> t->setCharacterSize(textheight);
> t->setFontResolution(textheight,textheight);
> t->setText("TEST");
>
> cheers
> jp
>
>
> Himar Carmona wrote:
> > 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.
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> --
> This message is subject to the CSIR's copyright terms and conditions, e-mail
> legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean. MailScanner thanks Transtec Computers for their
> support.
>
> _______________________________________________
> 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