[osg-users] Objects sub-selections

Robert Osfield robert.osfield at gmail.com
Mon Sep 4 04:05:14 PDT 2017


Hi Antoine,

Have a look at the include/osgUtil/LineSegmentIntersector and
PolytopeIntersectors, specifically the Intersection data structures they
have all you are looking for :-)

Robert.

On 4 September 2017 at 11:16, Antoine Rennuit <antoinerennuit at hotmail.com>
wrote:

> Hi OSG forum,
>
> 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.
>
> Is this possible to achieve with OSG?
>
> 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.
>
> Kind regards,
>
> Antoine.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=71619#71619
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170904/76849461/attachment.htm>


More information about the osg-users mailing list