Hi Lucie, When you make a line segment intersector with just two Vec3s as input arguments, the line segment runs from one point to the other in model coordinates. How are you finding wandp1 and wandp2? In your code it looks like they are uninitialized in which case they are both (0, 0, 0). If you actually do have the values for the two points, would you expect that line to intersect your terrain?
Cheers, Tom ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30273#30273 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

