🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Triangle problem

Started by
1 comment, last by Facehat 24 years, 10 months ago
Set up a system of three equations to define the plane that contains the triangle, get the equation of the plane (z=ax+by+c) then subsitute.
Advertisement
Hi everyone,
This is probably a stupid question, but its been giving me quite a bit of trouble:

Say you have a triangle like this:

code:
     30     /\    /  \   /    \45 ------ 22

The numbers you see there are the heights of each of the vertices. Now if I wanted to find the height of any point inside of it that triangle (lets say <0.33, 0.50> in 2d texture coordinates), how would I do that?

If I didn't explain that very well please tell me. Any help would be appreciated!

--TheGoop

Thanks for the response, but could you be more specific? I'm somewhat new to 3D Math so im not sure how I might go about doing what you described.

--TheGoop

This topic is closed to new replies.

Advertisement