Hi Linh,

On 12/8/06, Linh H Phan <[EMAIL PROTECTED]> wrote:
  I was wondering if there is a "getWorldIntersectNormal" for the
corresponding LineOfSight "getIntersections", ie, can I get the
WorldIntersectNormal (los.getWorldIntersectNormal(i)?) for the
intersection point I get back from "los.getIntersections(i)"?

LineOfSight currently doesn't pass on the intersections normals.
Technically it could be added as the underlying
osgUtil::LineSegmentIntersector returns the local intersection normal
which can be transformed into world coords.  The LineOfSight class is
designed to be a simple interface to solve a specific task so I've
diberately avoided added all the possible combinations of data one
could image wanting.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to