[osg-users] Cloning text

Robert Osfield robert.osfield at gmail.com
Fri Sep 8 08:09:33 PDT 2017


Hi Andreas,

I am bit surprised by the extra memory footprint, as I'm currently working
on osgText::Text I don't want to start diving into code that may well
disappear once my work is complete.  The new osgText::Text implementation
relies upon shaders to do outline and shadows rather than multipass and
should simplify the internals a bit.  Given this the balance of memory
overhead is likely to change.

As a general comment, creating a 150,000 copies of an object is something
that raise a red flag - suggesting that you are working around an issue
that may well be better solved with a different approach, perhaps not using
osgText::Text at all.

Could you explain from a higher level what you are wanting to do with all
these text labels?

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170908/093b5202/attachment.htm>


More information about the osg-users mailing list