SoTextPropertyaliasingFactor Property |
Defines the anti-aliasing factor to apply to the textured text rendering.
Namespace: OIV.Inventor.Nodes
Default is 1.0. Default value can be changed using the environment variable OIV_TEXT_ALIASING_FACTOR.
The anti-aliasing applied transfer functions are:
if aliasingFactor <= 1.0 => Max( (v + f - 1) / f , 0.0)
if aliasingFactor > 1.0 => Min( (v * f) , 1.0)
A value of 0 essentially turns off antialiasing. Only pixels that are full opacity will be rendered. Value 1 is the native antialiasing provided by the FreeType library. Values < 1 scale down the opacity of semi-transparent pixels, so lower opacity pixels become completely transparent, effectively making the character glyphs sharper but narrower. Values > 1 scale up the opacity of semi-transparent pixels, effectively making the characters sharper but wider. Values greater than 5 have little additional visual effect.