Glenn, 
thanks for your reply. Because performance IS important for me (hundreds of 
texts) I went a different route.

I derived a class TextWithOffset from osgText::Text and overwrote the method 
computePositions. I added my offset to the _offset member variable after the 
alignment was calculated. Unfortunately the computePositions method is pretty 
large, so I ended up copying about 150 lines of code, but anyway, it works.

Cheers,
Martin

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





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

Reply via email to