Closed normanrz closed 3 years ago
Sorry, I just noticed the other PR. Let me know if you want to close this one instead of the other.
Sorry this took so long. I'm going to release a version of this library with the non-integer resolutions shortly.
I was trying to mesh a dataset that has a voxel size of
11.23 x 11.23 x 28
. I was seeing gaps between chunks of the mesh and an offset to the underlying data. After a bit of debugging, I noticed that the decimal places are cut off when casting the voxel resolution touint32
. However, the meshing code itself doesn't seem to require unsigned ints for the simplification where the voxel size is used. With this PR, I propose to change the dtype fromuint32
todouble
.