Benoit Rosa
Benoit Rosa
No problem, I needed the feature anyway so it's my pleasure ! Perhaps I'll implement a few more things and complete this PR if I find some time, if it...
Hi, For easy testing, you can download the inside_mesh.py and triangle_hash.pyx files from the Occupancy Network repo, and compile the pyx file. You just have to create a setup.py file...
After looking a bit more in depth, I found that the mesh I was using didn't have any normals computed. I didn't look into the details of the computations but...
I just re-tested with another (more complex) mesh and indeed, the mesh.contains function behaves correctly when the mesh normals are pre-computed. Note that I did compute the normals using Cloudcompare....
@oliverstefanov There was a mistake in the command needed. It should be `python setup.py build_ext`. When you compile it normally creates a build folder, with subdirectories containing the built files...