Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement to Meebit severing heads currently done at z=51 #3

Open
elsewhat opened this issue Jul 6, 2021 · 0 comments
Open

Improvement to Meebit severing heads currently done at z=51 #3

elsewhat opened this issue Jul 6, 2021 · 0 comments

Comments

@elsewhat
Copy link
Collaborator

elsewhat commented Jul 6, 2021

The heads are currently severed simply by taking everything above z=51

We want to improve this by

  1. Creating an allow list of colors (such as light blue and blue hair).
  2. 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

Example of use case we want to improve
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant