Skip to content

Singular matrix resulting in non-square map #2

@alex997-phy

Description

@alex997-phy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions