Intersection between a line and a plane..
If anybody can help me with this I would greatly appreciate it.. I need to find the intersection between a line and and a plane for polygon splitting purposes..the way I do it now is:
*Find the distance from the first point to the plane..
*Find the distance from the second point to to the plane..
*Get a percentage from the 2 distances..
*Add the vector of the line multiplied by this percentage to the first point.
At right angles this works beautifully, but the closer the line gets to being parallel with the plane, floating point imprecision renders the distances(which I use for my percentage) more and more inaccurate..in most cases it''s not too obvious, but I know there must be a better way..does anybody know the definitive FDA approved formula for finding the intersection between a line and a plane?
"Like all good things, it starts with a monkey.."
"Like all good things, it starts with a monkey.."
Got it now thanks
"Like all good things, it starts with a monkey.."
"Like all good things, it starts with a monkey.."
"Like all good things, it starts with a monkey.."
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement