[osg-users] Drawing large number of labels

Robert Osfield robert.osfield at gmail.com
Fri Mar 31 09:22:28 PDT 2017


Hi Andrew,

Vertices are cheap. Reusing them might be more expensive than just
duplicating.  Rather than ruse vertices you may be better off just
uses shaders to generate the glyphs and select the required texcoords.
It'd be easier just to duplicate vertices and use straight
osg::Geometry.

Robert.

On 31 March 2017 at 16:47, Andrew Cunningham <andrewC at mac.com> wrote:
> Hi Robert,
> Thanks for the very detailed reply - I don't know where you find the time! I think you gave me some good ideas. For example, I only need to render numbers. I could render each digit and reuse the vertex arrays to compose the number.
> Thanks a bunch!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70628#70628
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list