Hi Dirk
Dirk Reiners a écrit :

    

the texture width is not related to the resolution of the text at all.
If you run testTextTXFTexture you can see the whole TXF texture that is
generated. textureWidth defines the width of this texture, with the
height being calculated automatically.

 

hum so i suppose that with a width of 32 and a width of 1024 i won't get the same quad on the textTXFGeo,  but i'v got the same.
So i don't know how to have a smaller texture without using the scale parameter wich make my texture ugly (mipmapping?) as you can see here :

http://www.irisa.fr/siames/GENS/xlarrode/infoBulle2.png

and without scale : http://www.irisa.fr/siames/GENS/xlarrode/infoBulle.png
And so, as the texture is pretty big for me i have to make a big scale on it, and the mipmapping it's killing the "beauty" of the texture.
  

You can change the resolution of the generated font by setting the size
of the font. You can try it in testTextParams, keys - and =.
 

And i have a nice resolution with a font of 192 and  textureWidth 512

Perhaps there is a way to disable mipmapping for this texture?

Thank you dirk

Xavier

Reply via email to