[osg-users] Specifying indices of triangle vertices when creating osg::geometry

Alberto Luaces aluaces at udc.es
Thu Dec 21 04:48:17 PST 2017


"antiro black" writes:

> I also looked at the primitive sets to see if I could specify indices
> there but I couldn't figure it out.

the example you are looking for is osggeometry:

https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osggeometry/osggeometry.cpp#L685

-- 
Alberto



More information about the osg-users mailing list