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 <[EMAIL PROTECTED]>:
>
> 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 [EMAIL PROTECTED]
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to