Comments (11)
I'm planning on looking into this next week now that I'm back from break!
from zmesh.
Nice! pyfqmr
is 5-8 times faster than open3d
and Blender!
from zmesh.
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.
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.
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.
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.
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.
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.
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.
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.
FYI this issue was fixed in f6097df (I believe). Let me know if it isn't!
from zmesh.
Related Issues (18)
- Build manylinux Docker with Boost
- Is it possible to export IGES,STEP using zmesh package ? HOT 7
- how to export step from obj? HOT 1
- Reading Out Meshes is Slow HOT 1
- Questions on obj file format conversion and nrrd file format support HOT 40
- Neuroglancer precomputed format HOT 2
- Create Official First Release
- OSX wheels for Python 3.7 HOT 2
- How to combine surfaces from chunks (or how to deal with a real large region) HOT 5
- Add mesh data equality tests HOT 1
- User Friendly Mesh Output
- Why do we need to transpose?
- Remove zi_lib Dependency on Boost HOT 1
- Simplification is independent of reduction_factor HOT 7
- Increase 32-bit X Representation Space to 1023 Voxels HOT 1
- Simplify Method for Existing Mesh HOT 2
- Transparently Handle C vs Fortran Order HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zmesh.