I made a quad. .............. I have done: setUseDisplaylist(false)
computeIntersections    working fine on this.

But once I change the shape of quad(drag one of its vertex away from the
centre ) ............................. I have done: dirtyBound()
computeIntersections does not give intersection when i click the mouse
outside of boundary of original quad, But inside the modified quad.
ie

osgUtil::LineSegmentIntersector::Intersections intersection;
    if(viewer->computeIntersections(ea.getX(),ea.getY(),intersection))
    { .......
   }


command does not enters into above "if statement".
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to