This was asked about a year ago, and I've looked at the osg::Plane class, but it only has an intersect method which addresses question 1. Are there plans to add in the ability to find the intersection point to the osg::Plane class? Is there another class that can be used? Or should I just write my own? > Hi, > > I have a plane defined by a position, and an attitude specifying its > normal vector, and a vector also defined by a position and attitude. > > Before I reinvent the wheel, I'm wondering if there already exists an OSG > method, or if someone has some code handy, to determine if: > > 1) the vector intersects the plane? > > 2) if it does, at what point? See osg::Plane ;-) |
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
