OptCuts, a new parameterization algorithm, jointly optimizes arbitrary embeddings for seam quality and distortion. OptCuts requires no parameter tuning; automatically generating mappings that minimize seam-lengths while satisfying user-requested distortion bounds.
Sometimes the rounding error might cause a linear solver that requires strict positive definiteness to crash. However the Eigen::SimplicialLDLT we use by default works just fine.
A simple trick that one can do is to add an epsilon * identitiyMatrix to each of the projected element Hessian, so that the rounding error won't make the global Hessian indefinite.
Similarly, one can also blend the global Hessian with an epsilon scaled lumped mass to help with this issue.
Sometimes the rounding error might cause a linear solver that requires strict positive definiteness to crash. However the Eigen::SimplicialLDLT we use by default works just fine.
A simple trick that one can do is to add an epsilon * identitiyMatrix to each of the projected element Hessian, so that the rounding error won't make the global Hessian indefinite. Similarly, one can also blend the global Hessian with an epsilon scaled lumped mass to help with this issue.