Calculating point on polygon's surface

Started by
1 comment, last by renton79 14 years, 2 months ago
As in the subject, I am looking for a way to calculate position of a point on the polygon's surface BUT, I have two variables of this point available plus all of the polygons vertices, points x and y coordinates I know I just need to be able calculate its z position so it is matching triangles surface at same point. You must look at the picture from the front to along the z axis, this will be used to write simple zbuffer later on. have a look at attached picture http://i49.tinypic.com/9gycua.png
Advertisement
Just derive a plane equation from the triangle and plug x,y... should output the corresponding z.
Thanks namar777, I am looking into it now

This topic is closed to new replies.

Advertisement