Calculating point on polygon's surface
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
Just derive a plane equation from the triangle and plug x,y... should output the corresponding z.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement