[osg-users] Objects sub-selections
Antoine Rennuit
antoinerennuit at hotmail.com
Mon Sep 4 09:45:22 PDT 2017
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
More information about the osg-users
mailing list