HI Steven,

One thing you could try is to utilize the
osg::Drawable::accept(PrimitiveFunctor&) functionality to extra
primitive data from the Text drawable.  Possibly the
osg::TriangleIndexFunctot might be the most straight forward way.
Have a look through the OSG source code to see examples of
TriangleIndexFunctor, TriangleFunctor and PrimitiveFunctor in action.

Robert.

On 30 August 2016 at 14:25, Steven Powers <[email protected]> wrote:
> Thanks for the reply Robert.
>
> I'm attempting to get this done in the next 2 weeks so I don't think I can 
> wait for a rewrite of osgText.
>
> I don't need to support many of the features. I just need to grab the mesh of 
> 3D text that will be adhered to other 3D objects. I'll need to grab the 
> vertex array, or duplicate it, and the color array but I believe that is it.
>
> I'll also have to set the polygon offset to match so that there is no 
> z-fighting.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68490#68490
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to