<div dir="ltr"><div><div>Hi Antoine,<br><br></div>Have a look at the include/osgUtil/LineSegmentIntersector and PolytopeIntersectors, specifically the Intersection data structures they have all you are looking for :-)<br><br></div>Robert.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 September 2017 at 11:16, Antoine Rennuit <span dir="ltr"><<a href="mailto:antoinerennuit@hotmail.com" target="_blank">antoinerennuit@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi OSG forum,<br>
<br>
In the application I am developing I need to implement sub-selection, that is picking of the elements that compose a drawable. e.g. for a mesh, that would be selecting / picking the vertices or triangles that compose the mesh. For instance, this makes it able to edit the mesh by updating its vertices position.<br>
<br>
Is this possible to achieve with OSG?<br>
<br>
What I have seen so far in OSG (i.e. LineSegmentIntersector and PolytopeIntersector) only returns the drawable, and it does not seem possible to return the vertices or triangles composing the drawable.<br>
<br>
Kind regards,<br>
<br>
Antoine.<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=71619#71619" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=71619#<wbr>71619</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>