Re: [osg-users] LineSegment and Plane Intersection

2008-02-18 Thread Robert Osfield
Hi Renan, There isn't a convenience function in Plane or LineSegment for computing the intersection point, but there are maths functions in Plane to help you. Rather than me try to explain the maths of how to compute a intersection of line with a plane it would be best to consult online texts

Re: [osg-users] LineSegment and Plane Intersection

2008-02-18 Thread Renan Mendes
Hi, Robert. I am aware of the analytical way of solving my problems. Thanks, anyway. Renan M Z Mendes ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] LineSegment and Plane Intersection

2008-02-18 Thread Per Rosengren
The osgUtil::IntersectionVisitor has the foolowing applys: virtual voidapply (osg::Node node) virtual voidapply (osg::Geode geode) virtual voidapply (osg::Billboard geode) virtual voidapply (osg::Group group) virtual voidapply (osg::LOD lod) virtual voidapply

[osg-users] LineSegment and Plane Intersection

2008-02-17 Thread Renan Mendes
Hi, everyone. I'm having some trouble with computing the coordinates of the intersection between a osg::Plane and an osg::LineSegment. In addition, I'd like to be able to compute only the intersection with the plane, and forget about the rest of my scene... Is it possible? Thanks, Renan M Z