4
\$\begingroup\$

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.

Thanks,

James

\$\endgroup\$

1 Answer 1

5
\$\begingroup\$

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .