"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
--
Hi,
I want to create a specific mesh using osg. I have a set of vertices and a set
of indices for the triangles which the mesh should consist of.
I tried using osg::geometry to create this mesh but I can't figure out how to
specify the triangle vertex indices. Do I need an osg::IndexArray for
2 matches
Mail list logo