Re: [osg-users] Antialiasing Text

2017-02-08 Thread Sebastian Messerschmidt

Hi Roko,

Are you using a true-type font? The default might be a system-font where 
you get no smoothing. Maybe a screenshot would help.

Also, have you tried this without the special character size mode?

Cheers
Sebastian


Hey Glenn,

thank you for your answer : ) - Sadly it barely help, more or less it doesn't 
help at all : (

The fonts still consist of several colors (white and light grays if I specify white as 
the color). How come this is so hard to solve, I think I must do something wrong, 
because, it does not make sense that all people living with this ugly text. I just would 
like to have simple plain text, which has the "properties" either the font 
pixel colored or there is no fonts pixel.

Maybe someone can show me an example how pretty their CharacterSize(10) font 
looks like. Because there must be something wrong that it looks so ugly for me, 
but it's so hard to solve it ^^'


Many thanks guys!

Cheers,
Roko[/img]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70125#70125





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Antialiasing Text

2017-02-07 Thread Roko Talk
Hey Glenn,

thank you for your answer : ) - Sadly it barely help, more or less it doesn't 
help at all : ( 

The fonts still consist of several colors (white and light grays if I specify 
white as the color). How come this is so hard to solve, I think I must do 
something wrong, because, it does not make sense that all people living with 
this ugly text. I just would like to have simple plain text, which has the 
"properties" either the font pixel colored or there is no fonts pixel.

Maybe someone can show me an example how pretty their CharacterSize(10) font 
looks like. Because there must be something wrong that it looks so ugly for me, 
but it's so hard to solve it ^^'


Many thanks guys!

Cheers,
Roko[/img]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70125#70125





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Antialiasing Text

2017-02-07 Thread Glenn Waldron
Try increasing the texture resolution with
osgText::Text::setFontResolution().


Glenn Waldron

On Tue, Feb 7, 2017 at 5:01 PM, Roko Talk  wrote:

> Hi guys,
>
> anyone an idea how I could apply the authors solution without specifying
> the font?
>
> I just try to have 2D text on top of everything, which should not change
> it's screen size. (<-- "setCharacterSizeMode(osgText:
> :Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT)")
>
> 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.
>
> Anyone an idea? : )
>
> Many thanks in advance!
>
>
> Cheers,
> Roko
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70123#70123
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Antialiasing Text

2017-02-07 Thread Roko Talk
Hi guys,

anyone an idea how I could apply the authors solution without specifying the 
font? 

I just try to have 2D text on top of everything, which should not change it's 
screen size. (<-- 
"setCharacterSizeMode(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT)")
 

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. 

Anyone an idea? : )

Many thanks in advance!


Cheers,
Roko

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70123#70123





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Antialiasing Text

2012-01-06 Thread Robert Osfield
Hi Filip,

On 2 December 2011 09:18, Filip Arlet fili...@seznam.cz wrote:
 How I can implement text without anti-aliasing. If I zoom too close, it looks 
 horrible.

You can select high res Font to help avoid the undersampling of the
text texture when viewing closely.  See the osgtext example.

Alternatively you could use Text3D as it's polygon based rather than
texture based.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Antialiasing Text

2011-12-02 Thread Filip Arlet
Hi,

How I can implement text without anti-aliasing. If I zoom too close, it looks 
horrible.

Than you,

Cheers,
Filip

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44182#44182





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org