Hi Sebastian, SMesserschmidt wrote: > I might be wrong, but I think the intersector.primitiveIndex might yield > the number you are looking for >
thanks for the reply but unfortunately it seems to return a number from 0 to 7 that is the number of triangles in my example geometry. While the number of primitive sets is 4 in my example. But in fact I can use it at first to find the primitive set (knowing the size of each primitive set and its index). Then I have to verify if the "primitiveIndex" attribute of the same triangle changes moving that triangle from one primitive set to another. Regards, Gianni ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68659#68659 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org