From a triangular mesh I have a 3D triangle T represented by 3D vertexes v0, v1 and v2. Each vertex has an associated UV coordinate into a common texture image, represented as uv0, uv1, uv2.

Furthermore there is 3D point P, that is guaranteed to be within the triangle T (coplanar to and within boundary of T).

My question is given point P, and triangle T, how does one go about calculating the UV coordinates of P?


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.