Added NEW_APPROACH code path that merges the separate GlyphGeometry arrays and primitives into a single set of arrays and primitives

This commit is contained in:
Robert Osfield
2017-03-02 11:12:55 +00:00
parent f233005988
commit 4721651dbe
3 changed files with 142 additions and 24 deletions

View File

@@ -127,6 +127,10 @@ class OSGTEXT_EXPORT Text3D : public osgText::TextBase
void computeGlyphRepresentation();
osg::Geometry::PrimitiveSetList _frontPrimitiveSetList;
osg::Geometry::PrimitiveSetList _wallPrimitiveSetList;
osg::Geometry::PrimitiveSetList _backPrimitiveSetList;
// ** glyph and other information to render the glyph
struct GlyphRenderInfo
{