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
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
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
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
4 matches
Mail list logo