This is a very interesting post.
In summary: generate a mesh of a rectangle which represents the u.,v mapping of a sphere, and re-map the resulting mesh onto a sphere.
An anisotropic metric is used in meshing the u, rectangle, with the aim of accounting for the mesh distrorsion induced by the mapping from a planar mesh to a 3d mesh,
and obtain a set of “not distorted” triangles in 3d.
So the author uses
MMG2D_Set_tensorSol(mmgSol, m11, m12, m22, pos);
m11 = 1/sqrt(l1), m12 = 0, m22 = 1/sqrt(l2)
where l1, l2 are eigenvalues.
This because for a unit radius sphere, m11 = cos(phi), m12 = m21 = 0, m22 = 1;
Now let suppose that the surface has not an orthogonal parametrization, that is the coefficient F of the first fundamental form is not zero.
Which is the value for m12 in MMG2D_Set_tensorSol for this case?
Grazie
Giovanni
.