Hi Robert,
just because I had in mind a thread in this forum where it seems, on the 
contrary, that was NOT recommended for GL efficiency. Do you mean something 
like the code inside "createBackground()" of osggeometry.cpp example?

polyGeom->setVertexArray(new osg::Vec3Array(numCoords,myCoords));
... 
polyGeom->addPrimitiveSet(new 
osg::DrawElementsUShort(osg::PrimitiveSet::TRIANGLE_STRIP,numIndices,myIndices));

so, basically the same content of a obj/wavefront file?

Regards,
Gianni

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to