I'm doing line plane intersection, and have come across an un-referenced variable or constant in the tutorial I'm following.

One of the formulae given is this:

t = N dot (p2 – p0)
     N dot V

The variable I'm stuck with is V. Can someone tell me what V is and how I'd go about finding it?

For more info on that formula, please see the link given in the first para.




Looks like V = p1 - p0. Since then t = 0 when p2 = p0, and t = 1 when p2 = p1.

  • 1
    \$\begingroup\$ Thanks so much :-) just the answer I needed. I'd vote you up but I have 1 rep :-P \$\endgroup\$
    – Bojangles
    Nov 14 '10 at 17:01
  • \$\begingroup\$ No worries! :) Glad it helped... \$\endgroup\$ Nov 14 '10 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.