math question (intersecting planes)
Hi everyone,
I am looking for a way to compute the intersection between two planes in 3d-space. The result is a straight line. To begin with, I have two sets of three points with which I'm able define the two (non parallel) planes.
As far as I can remember from school there are many ways to accomplish this. Usually it involves setting up the plane equations in a certain way and then solving a linear equation system. This can be done by gaussian elimination, I think. Easily enough done on paper. But is there a way of implementing this in code? Or maybe someone has an Idea where I can find a set of 3d-math objects or something like that?
Any advice is appreciated!
Thanks!
Tom
check out the plane equations here:
http://paulbourke.net/geometry/
Hi Vanille,
thanks for your answer! A good idea to look at the jit.la objects.
I think the problem is though that when intersecting two planes you get a line. A line has an unknown in the equation that describes it... But maybe there is way to do it with jit.la.* and I'm just not thinking the right way yet. I'll keep trying:)
Cheers,
Tom
That might be exactly what I'm looking for!
Thanks Robert.
Tom
wow, that is a great resource. Lots to think about and experiment with. Thanks for the link!