Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface mesh simplification by Carve crashed #73

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 0 comments
Open

Surface mesh simplification by Carve crashed #73

GoogleCodeExporter opened this issue Mar 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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:

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

No branches or pull requests

1 participant