Jeroen Baert
Jeroen Baert
This is some C++-fu I'm not familiar with, but definitely looks interesting! Thanks man. I will look into integrating this in a next version
Here's the encoding version for 3D using a for loop: https://github.com/Forceflow/libmorton/blob/master/libmorton/include/morton3D.h#L120 And here's the decode: https://github.com/Forceflow/libmorton/blob/master/libmorton/include/morton3D.h#L250
I'll look into generalized (n > 3) functions later, though the techniques should be very similar.
It does not dissect triangles that cross the boundary, I think.
There are no plans for a python version at this time. You could write python bindings yourself? https://realpython.com/python-bindings-overview/
What is the exact call you're using to invoke the ICP method?
I've pulled in some ICP-related fixes from upstream: https://github.com/Forceflow/trimesh2/pull/14 Long shot, but maybe fixed?
> > > So far I can see i do not get any error messages yet. Thank you for your time. All credit goes to Szymon upstream, I just pulled...
Okay - that's a good repro. I'd report this upstream, but thinking about this more has got me wondering: Why are you using ICP on two times the exact same...
How would you propose fixing this? Adding a tiny perturbation to the result?