mickelangelo / carve

Automatically exported from code.google.com/p/carve
Other
0 stars 0 forks source link

Surface mesh simplification by Carve crashed #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load polyobj.ply
2. run Carve's mesh simplification:
void SimplifyMeshbyCarve(carvePoly *obj,double edgelengthmin)
{
    carve::mesh::MeshSimplifier simplifier;
  simplifier.removeFins(obj);
  //simplifier.removeLowVolumeManifolds(obj, 1.0);

  // p->transform(carve::geom::quantize<10,3>());

    double min_delta_v=edgelengthmin*edgelengthmin*edgelengthmin;
  simplifier.simplify(obj, 1e-2, min_delta_v, M_PI/180.0, edgelengthmin);
  // std::cerr << "n_flips: " << simplifier.improveMesh_conservative(p) << std::endl;

  simplifier.removeFins(obj);
  //simplifier.removeLowVolumeManifolds(obj, 1.0);

}

3. Carve crashed when set edgelengthmin = 1.4901161193847656e-006

What is the expected output? What do you see instead?
The Carve should not crash. Could anyone help me to take a look at the problem?

What version of the product are you using? On what operating system?
Latest Carve. Windows 7 64bit + VS2012

Please provide any additional information below.
See attachment.

Original issue reported on code.google.com by tanglaoy...@gmail.com on 3 Sep 2014 at 9:13

Attachments: