Comments (3)
I am not super up-to-date on what code is out there. Based on my experience, you will have a hard time finding an out-of-the-box solution based on some common and well-tested library (otherwise, I wouldn't have written this code). So you will likely need to write parts yourself, or adapt existing code - which is likely to be research code.
Easiest approach using this repository is as follows: convert your files to off files, run this tool with the right parameters, convert the HDF5 output to numpy arrays using h5py. This should not be too much work to get working.
Alternatively, you can try to adapt the code to STL files (only requires rewriting the from_off
method in the code and try to save the result to something else than HDF5, also only requiring minor changes. This way you might get a solution that better fits your pipeline, for example, if you need to repeatedly process a lot of data for research.
from mesh-voxelization.
Alright, thanks for your fast and detailed reply!
After some more performance testing, I am currently using binvox on a Linux machine, which is acceptable for a grid size of 128.
I might have the time to look into this again, but it will probably be too time consuming to write the conversion script and look into how to build this.
from mesh-voxelization.
No worries. Thanks for getting back.
from mesh-voxelization.
Related Issues (13)
- Can you please specify how to compile with C++11? HOT 8
- .obj to .off HOT 1
- how to convert voxel to triangle mesh HOT 2
- colors HOT 1
- It works super slow when generating 256^3 voxels HOT 1
- fill_occupancy.py.sofa in and A big cube is created?? HOT 2
- the file name should be all numbers??????? HOT 1
- 12311File,1.6GB occ.h5 file,but tensor with size(5,32,32,32)???? HOT 3
- Only positive sdf values when processing the models of ShapeNet HOT 1
- [Question] Is there anyway to `fill` a water-tight voxel grid? HOT 2
- `error.printError()` not found. HOT 3
- Aborted (core dumped)
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 mesh-voxelization.