Skip to content

Surface mesh simplification by Carve crashed #73

Description

@GoogleCodeExporter
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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions