Hi, thank you for all your help. I found that what I was looking for in the 
osggeometry example, its a property of PrimitveSet:

polyGeom->addPrimitiveSet(new 
osg::DrawElementsUShort(osg::PrimitiveSet::QUADS,numIndices,myIndices));

myIndicies is the IndexArray which I need to pass.

Thank you!

Cheers,
ParticlePeter

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29015#29015





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to