Quantcast

A better Font definition of placeNode?

classic Classic list List threaded Threaded
2 messages Options
Lv Qing Lv Qing
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

A better Font definition of placeNode?

Hi:

     I am not sure it is an osg or osgEarth problem.

     In linux we are using osgEarth::Annotation::PlaceNode to display some chinese characters.Then
we find the Text looks a little blur when the size of characters is small.

      Or,the Black characters seems a little gray when the character size is small。I can barely see the strokes of the Chinese character.  I have setFontSolution(128,128),it dose not help.

     Then I find our old app which using QT to draw text,and with the same font,QT text looks better than the PlaceNode. It seems Qt rendering to a 2D window where font resolutions can
exactly matched to the pixels on screen

    So my question is there any way to make the text looks better when the character size is small?

                                                                                                                                               THX!
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: A better Font definition of placeNode?

Not that I know of.

Remember, Qt is drawing in 2D, and OSG is rendering text is 3D, so the Qt text is always going to look sharper and better especially at small sizes.
Glenn Waldron / Pelican Mapping / @glennwaldron
Loading...