Archived

This topic is now archived and is closed to further replies.

Triangle problem

This topic is 6690 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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

Share this post


Link to post
Share on other sites