Code Monkey home page Code Monkey logo

Comments (11)

william-silversmith avatar william-silversmith commented on June 15, 2024 1

I'm planning on looking into this next week now that I'm back from break!

from zmesh.

schlegelp avatar schlegelp commented on June 15, 2024 1

Nice! pyfqmr is 5-8 times faster than open3d and Blender!

from zmesh.

william-silversmith avatar william-silversmith commented on June 15, 2024

Hi Philipp, this is pretty odd. I'm going to look into this some more as I wasn't able to understand why this is happening on first inspection. It's possible the lack of deduplication in the graphene downloads has something to do with it, but one would think that would be the sort of thing a simplifier would be good at handling.

from zmesh.

schlegelp avatar schlegelp commented on June 15, 2024

Thanks Will - I very much appreciate you looking into this. By "deduplication", do you mean merging of duplicate vertices, etc? I tried that too (using trimesh) but that didn't appear to make the difference.

from zmesh.

william-silversmith avatar william-silversmith commented on June 15, 2024

It looks like the optimizer is aborting after a single cycle. The top value of the heap_ variable is NaN. That's our first breadcrumb.

from zmesh.

nkemnitz avatar nkemnitz commented on June 15, 2024

I have seen warnings about degenerate triangles in Meshlab before when trying to import some of our Neuroglancer meshes. Could be that there are some triangles that got collapsed to lines or points, i.e. have 0 area...

from zmesh.

william-silversmith avatar william-silversmith commented on June 15, 2024

That's a good point. I'll keep that in mind as I investigate. It's entirely possible that there's a missing check somewhere.

from zmesh.

william-silversmith avatar william-silversmith commented on June 15, 2024

Hi Philipp,

It's taking me some time to figure this out. I'm gonna have to read some of the papers as it wasn't simple to identify the problem. In the mean time, I found some alternative implementations of mesh simplification. I haven't been able to try them out yet, but if you have time give them a shot and let me know how they did.

https://github.com/jannessm/quadric-mesh-simplification
https://github.com/3DLIRIOUS/MeshLabXML

from zmesh.

schlegelp avatar schlegelp commented on June 15, 2024

Thanks Will! I'll have a look at these libraries. The first one looks very interesting at first glance. Inconveniently they only provide wheels for Linux (thinking about lay users). Makes me appreciate you always making wheels for all major platforms all the more :)

For the record: I ended up piggy-backing on trimesh's interfaces with Blender 3D for now.

from zmesh.

william-silversmith avatar william-silversmith commented on June 15, 2024

As an alternative, I worked with the authors of pyfqmr to get a binary released: https://github.com/Kramer84/pyfqmr-Fast-Quadric-Mesh-Reduction

from zmesh.

william-silversmith avatar william-silversmith commented on June 15, 2024

FYI this issue was fixed in f6097df (I believe). Let me know if it isn't!

from zmesh.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.