Hi Preet,

i'm currently working on a similar problem(including text drawing along a path) 
and also having thousands of labels. So i would be interested in your solution 
using osg::Geometry


> Also wanted to ask: If I use a fixed font resolution and specify the font 
> texture size can I safely assume I can store 'X' glyphs in the one texture? 
> So with a font resolution of (32,32) and a texture size of (1024,1024) can I 
> expect that at least 1024 glyphs will be packed into the texture before 
> another texture is created? 


The answer is: it depends on :D 

The space "allocated" in the texture depends on resolution and on fontsize!
Currently i'm trying to improve the GlyphTexture by removing "unused" glyphs 
from texture and reuse the newly free area to prevent using multiple textures!

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





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

Reply via email to