math question (intersecting planes)

    Apr 07 2012 | 12:44 pm
    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

    • Apr 07 2012 | 2:49 pm
      check out the plane equations here:
    • Apr 07 2012 | 2:52 pm
      Hi Vanille,
      thanks for your answer! A good idea to look at the 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* and I'm just not thinking the right way yet. I'll keep trying:)
      Cheers, Tom
    • Apr 07 2012 | 2:56 pm
      That might be exactly what I'm looking for! Thanks Robert.
    • Apr 07 2012 | 5:59 pm
      wow, that is a great resource. Lots to think about and experiment with. Thanks for the link!