Closed andrewrgarcia closed 1 year ago
It is currently being developed as MeshWrap in voxelmap
versions >= 2.1.0
see source-code
rel_depth
and 3d resizing voxelmap.resize3d
to make adequate Triangulated objects. This issue has been resolved with the MarchingMesh() function; applying a marching cubes
function from scikit-image.
Some 3D models may have internal voxels which are not seen and are thus a waste of memory, computation-wise.
A 3D Convex Hull algorithm will process the external voxels which are visible alone.
This will reduce the time complexities of rendering and dynamic manipulation of 3D objects with "n" lengths from O(n^3) to O(n^2) for cases where internal voxels are present.
While a Jarvis algorithm wraps all points by considering the most counterclockwise trios:
A 3-D Convex Hull algorithm will generate a hull from an initial triangle plane of 3 voxels and pivot around the external points in 3-D space until the hull closes:
Some useful references: https://www.cs.jhu.edu/~misha/Spring16/09.pdf