-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi,
I am mapping a 3d mesh into a 2D square. Although some meshes work good, some of them shows warning "
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.110223e-16.> In rectangular_conformal_map (line 132)
Warning: Matrix is singular to working precision. > In rectangular_conformal_map (line 161)
Warning: Matrix is singular to working precision. > In rectangular_conformal_map (line 162)".
It should be the problem that the matrix M (M = cotangent_laplacian(v,f)) is singular. And as a result, the 2D map is no longer square and the angle distortion is large. I do not know what to do to prevent this problem happening. I have tried to smooth the mesh but nothing changes. Would you mind helping me in solving this problem?
Thanks,
Alex