Robert, Thanks for your quick answer, I have tested and your hint led me somewhere.
Now I understand that the PolytopeIntersector::Intersection::primitiveIndex is the index of the sub-object in the osg::Vec3Array defining the drawable, is that right? Also, I have the feeling that the primitives returned can only be of a single type (vertices, lines or triangles/quads) and that this type depends on the mode of the PrimitiveSet associated to the drawable, is that right? Kind regards, Antoine. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71621#71621 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

