[osg-users] Analyzing the Topology of osg::Geometry

Zahraa Yasseen zmy01 at aub.edu.lb
Wed Oct 17 04:42:23 PDT 2007


Hello,

Is there a way to tell which vertices (of the vertex array) in an  
osg::Geometry instance belong to a given face i, regardless of the  
PrimitiveSet type?
The query is:
Given face Id (i), and vertex index (j=0,1,2 if the face is a  
triangle) in this face,
What is the index of this vertex in the VertexArray of the osg::Geometry?

Thanks




----------------------------------------------------------------




More information about the osg-users mailing list