Hi,
today i wanted to build my own "LineSegmentIntersector" - well some kind of... while doing this, i looked into the sourcecode of the LineSegmentIntersector. There I saw, that the tests in "LineSegmentIntersector::intersects(..)" refer to start and end point of the lsi on the one hand, and to boundsphere.center()/radius() on the other hand. But here is my Problem. Start and end- points are in world coordinates, while the boundingsphere is in local coordinates...somewhere here in the newsgroup a read, that boundingssphere only refers to their children..

I came to this problem, while implementing my own Intersect-Bounding-Algorithms, where i get wrong results... Why is the original LinesegmentIntersector working or: is it actually working?

At which point am i missunderstanding this?

Thanks für your Help,
MG

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

Reply via email to