Computing the Barycentric Coordinates of a Projected Point
Wolfgang Heidrich · Journal of Graphics Tools · 2005
An efficient algorithm is described for computing the barycentric coordinates of the projection of a point into the plane of a triangle. The method requires no square roots or conditionals, and only one floating point division, making it suitable for both CPU and GPU implementations.