I-a Mean Value Coordinates for Closed Triangular Meshes
Mean Value Coordinates for closed triangular meshes were introduced in . In this section, we briefly review this work and describe the notations we will use in the rest of this note.
As written in , a 3D point can be expressed as a linear sum of the 3D positions of the vertices of a triangular mesh by: .
For a point onto the surface (a two-dimensional parameter), we note as usual the linear function on that takes value 1 on vertex and 0 on other vertices, and its 3D position. The definition of the weights should guarantee linear precision (i.e. ).
Since (the integral of the unit outward normal onto the unit sphere is ), we have
being the projection of the manifold onto the unit sphere centered in .
Writing that , with , we obtain
The weights are given by
And the weights such that are given by
This definition guarantees linear precision; it gives a linear interpolation of the function onto the triangles of the cage; and it extends it in a regular way to the entire 3D space.
Computing the weights
The support of the function is only composed of the adjacent triangles to the vertex . Then, we can rewrite Eq. 4 as , with
Given a triangle with vertices , we see that
This last integral is simply the integral of the unit outward normal on the spherical triangle .
By noting , with (see Fig.1), it can be easily expressed as
This comes from the fact that the integral of the unit outward normal on a closed surface is always 0.
Finally, we obtain
This point was discussed in . As the authors pointed out, by noting the 3 by 3 matrix , we can derive the weights by
Since , we have from Eq. 8 that
Ii MVC Derivatives
We now present the derivatives of the Mean Value Coordinates.
Deforming the cage mesh with induces a deformation of
the 3D space by
In the rest of the document, for any function , we note
its derivative by and , its gradient, its jacobian, and its hessian.
The deformation function as defined acts now on entirely. The derivatives of can be expressed as a linear sum of positions :
Consequently, it allows to specify implicit equations on the cage in a linear system by giving specified rotations and scales on 3D locations, or to minimize the norm of the hessian to force rigidity, as done in the case of Green Coordinates in .
We also have
From these expressions, we see that, in order to get and , we first need to obtain and for each vertex of the cage.
Special case: lies on the surface of the cage
Mean Value Coordinates define an interpolation process. The function represented onto the vertices of the cage (in our case, a space transformation) is extended to the interior of the triangles with linear interpolation on each triangle. Then it is extended to the space by means of a surfacic integration of the function (see Eq. 1).
Since we represent the cage as triangle mesh in the 3D case, the deformation function cannot be anything more than continuous onto the edges of the cage in 3D. Therefore Jacobians and Hessians of the deformation cannot be evaluated everywhere on the surface of the cage, and we do not provide any formula for Jacobians and Hessians of the deformation onto the surface of the cage.
Ii-a Expression of the Jacobians
In the general case where , we have
and and two well defined functions on that admit well controlled Taylor expansion around , ,
being the skew 3 by 3 matrix (i.e.) such that .
with and being functions well defined on and that admit controlable Taylor expansion around .
Ii-B Expression of the Hessians
We note .
and , and being functions well defined on and that admit controllable Taylor expansion around .
and and being functions well defined on and that admit controllable Taylor expansion formula around .
-  M. Ben-Chen, O. Weber, and C. Gotsman, Variational harmonic maps for space deformation, ACM Transactions on Graphics (Proc. of ACM SIGGRAPH) (2009), 1–11.
-  T. Ju, S. Schaefer, and J. Warren, Mean value coordinates for closed triangular meshes, ACM Transactions on Graphics (Proc. of ACM SIGGRAPH) 24 (2005), no. 3, 561–566.