HI Dirk,

On 12 February 2013 11:31, Dirk Langner <[email protected]> wrote:
> yes you are right: it is allocated on demand, BUT when you setText again and 
> again always containing new glyphs(e.g within traditional chinese language) 
> the new glyphs will ALWAYS be added to the glyphTexture, isn't it?

There isn't any replacement of the existing glyphs in the texture,
glyphs are only added.


> When this is true the glyphTexture will contain "unused" glyphs, and so a new 
> glyphTexture will be generated when the current one is full?!?
> So thats the reason for removing unused glyphs

The GlphTexture isn't regenerated, the new glyphs are subloaded to the
existing texture as long as there is room so the cost is kept to a
minimum.


Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to