Hi Joakim,

On 8/13/06, Joakim Simonsson <[EMAIL PROTECTED]> wrote:
> Also note that it will eat up your texture memory in that way.

Well, after having a second thought I'm not sure if the above statement is
correct. I think osg dynamically is building up a texture atlas that
contains all used characters. But I am not sure if this texture is shared
between different osg::Texts...

You second deduction is the correct one. osgText creates a texture
atlas from the glyphs and shares these textures between instances of
osgText::Text.  The Texture's are all mananged by the osgText::Font
class, they may actually be more than one texture per font if the
glyphs are large, but in Andreas case it's like to be just one Texture
for all the numbers.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to