[osg-users] pick a point or line

Bruno Oliveira bruno.manata.oliveira at gmail.com
Sat Apr 16 00:55:49 PDT 2016


Is it possible to perform intersection when using PagedLOD?

> On 06 Apr 2016, at 09:12, Han Zhou <horzel.5028841 at gmail.com> wrote:
> 
> Hi all,
> 
> I'm working on an CAE software in which users need to setup some params on the boundary. I extract point, line, and face elements so that users can pick and choose them, and it will give a feedback, like change color.
> I referenced osgpick example and the OpenSceneGraph 3 cookbook, for surface picking, it is easy. Now the problem is, to pick a point or line, which is the best way to implement it? do I need to implement a Intersector subclass like LineSegmentIntersector?
> 
> Thank you!
> 
> Cheers,
> zhouhan
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66741#66741
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list