Ok, another "basic 3d math" question (sorry -- I swear I used to know
all this stuff, but now I can't even seem to think of what the formulas
I want are called... <sigh>)
I have a triangle that represents a bit of terrain mesh -- that is, the
triangle is NOT vertically aligned. It's made of points A, B, C, each
point having an XYZ (so there's Ax, Ay, Az...) I have a 4th point (P),
that I've already determined has X/Z coordinates inside the triangle --
that is, if I set everything's Y to 0, T(ABC) contains P. I can get the
distance2d between points, and I know that what I want to do to get the
Y coordinate of P is some sort of averaging, but I can't seem to quite
figure out what values to average, how.
Hints?
Thanks!
--
Please take off your pants or I won't read your e-mail.
I will not, no matter how "good" the deal, patronise any business which
sends
unsolicited commercial e-mail or that advertises in discussion newsgroups.


|