Hi Lalit,

In the past I've tackled problems like drawing from mouse coords into
3D by creating a ray from the mouse coords and then intersecting this
with a plane.  The maths for computing the intersection point can be
handled by the osg::Plane class, there is no need to use the high
level scene graph intersection routines.

For you application only you will be able to answer how you want to
constrain the points you want to generate - would a plane that is
orthogonal to the image plane and going through the mid point of the
data cloud be appropriate?  You'll need to decide yourself what is
appropriate.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to