Farshid,

If I understand the code correctly, each intersector in the LOS code is 
associated with a start end pair defining the line segment. In other words, 
it's a 1 to 1 mapping. If I have 45 LOS queries, the code generates 45 
LineSegmentIntersectors. Each intersector in turn is added to an 
IntersectorGroup so that this one group contains 45 LineSegmentIntersectors. 
Perhaps Robert can chime in here to verify that this is the case.

When I retrieve the intersection count for EACH individual intersector, I'm 
getting the number of intersections > 1. This seems incorrect for the LIMIT_ONE 
case. For this case, I would expect the number of intersections to be always 1 
(if a hit is found) for each intersector.

I will investigate the code further to see what is going on or what might be 
wrong...

-Shayne

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50034#50034





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

Reply via email to