• Create Account

# Triangle problem

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

2 replies to this topic

### #1Facehat  Members   -  Reputation: 696

Like
Likes
Like

Posted 24 August 1999 - 11:36 AM

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

### #2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 23 August 1999 - 06:21 PM

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.

### #3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 24 August 1999 - 11:36 AM

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

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

PARTNERS