[osg-users] HELP: Pick point in Point Cloud
Adrian Egli OpenSceneGraph (3D)
3dhelp at gmail.com
Thu Feb 14 08:35:48 PST 2008
Hi
the osgpick is working on triangles, (if am right). So if you don't have any
triangles (or surfce mesh) it doesn't hit any surface area. and points
can no be picked because it's not clear how you like to pick a point. so
first you have to define how a point can be picked. May you choose the
closest
point to the camera, or ... One of the fastest algorithm for that is a
kdTree-based closest point search. have a look in google ask for closest
point search.
/Adegli
2008/2/14, Samuele Pierattini <samuele.pierattini at bologna.enea.it>:
>
> Hi all,
> i am newbie for OSG; my initial goal is write a program
> to load point could file and pick a point.
> I tried to use the example osgpick with .3dc file format.
> The program osgpick reads the file and displays the point cloud
> but does not select any point.
>
> Thanks to those who can help me
>
>
> --
> Samuele Pierattini
> ENEA
> E-Mail samuele.pierattini at bologna.enea.it
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080214/a761c0d6/attachment.htm
More information about the osg-users
mailing list