variational-surface-cutting icon indicating copy to clipboard operation
variational-surface-cutting copied to clipboard

Few issues with variational surface cutting

Open lukkio88 opened this issue 5 years ago • 1 comments

Hi,

I'm running your tool on few meshes I have. Meshes from a scan to be precise.

On one of these I get the following error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  ERROR: Invalid value in solveYamabeProblems()

Where I found here you check for the distortion, I'm not particularly familiar with the Yamabe problem so I don't know exactly what you solve there. My guess is however my mesh is a bit noisy and this probably affects the optimizer somehow.

Can you help? The mesh is a tri-mesh (it should be manifold) about 20k big (triangle counts) and watertight.

Sometimes also the normal-clustering doesn't really work, it just crashes, but this is specifically related to the solver I guess.

Another issue I had, with a different mesh was that it was getting stuck in the following loop in your code (like infinite loop) more specifically here

lukkio88 avatar Jun 04 '20 12:06 lukkio88

Copying this from the other issue, but the only easy thing I can suggest from a distance is to try remeshing your input. Scan data sometimes has lots of low-quality skinny triangles in it, which can contribute to numerical ill-conditioning.

nmwsharp avatar Jun 24 '20 15:06 nmwsharp