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

Find'n'Link bones automatically #15

Closed
igelbox opened this issue May 9, 2022 · 0 comments · Fixed by #18
Closed

Find'n'Link bones automatically #15

igelbox opened this issue May 9, 2022 · 0 comments · Fixed by #18

Comments

@igelbox
Copy link
Owner

igelbox commented May 9, 2022

Approaches (off the top of my head):

  1. Naive minimum distance between source/target bone origins.
    May link sibling bone to a parent in case if there's many small bones in a region, e.g.:
chest        -> neck
|- neck      -> |- head
 \ clavicle  ->  \ clavicle

image

Which result in implicit applying neck animation to clavicle while would look weird.
  1. Take hierarchy into account, e.g.:
  • Condense the armature graph
  • Find most relevant source-to-target nodes condensed graphs
  • Link most relevant source-to-target bones examining paths (each node has just one child) between respective condensed nodes

image

igelbox added a commit that referenced this issue May 10, 2022
Automatically link target bones to source ones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant