The heads are currently severed simply by taking everything above z=51
We want to improve this by
Creating an allow list of colors (such as light blue and blue hair).
An optional bounding box (needed for elephants)
Algorithm would be:
while(foundVoxelAtLevel)
for each voxel at zlevel in bounding box
if voxel.color is in allow list
cut from body and add to head
foundVoxelAtLevel= true
zlevel -= 1
The heads are currently severed simply by taking everything above z=51
We want to improve this by
Algorithm would be: while(foundVoxelAtLevel) for each voxel at zlevel in bounding box if voxel.color is in allow list cut from body and add to head foundVoxelAtLevel= true zlevel -= 1
Example of use case we want to improve