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

Generalized Shader IK: Triple jointed IK with directional endpoint #22

Open
hai-vr opened this issue Feb 15, 2020 · 0 comments
Open

Generalized Shader IK: Triple jointed IK with directional endpoint #22

hai-vr opened this issue Feb 15, 2020 · 0 comments
Labels
project-generalized-shader-ik Related to the Generalized Shader IK project.

Comments

@hai-vr
Copy link
Owner

hai-vr commented Feb 15, 2020

Generalized Shader IK is a draft project to create a modified version of the Handholding Shader IK which would have more customization options and would be less specific to dancing. It does not aim to be a superset of the Handholding Shader IK.

The shader code for the Generalized Shader IK is to be kept separate from the Handholding Shader IK: If the Generalized Shader IK were to be implemented within Handholding Shader IK, it would introduce a whole lot of complexity to a piece of very specialized code that is small enough to be simple to understand.


Currently, the Handholding Shader IK has two joints for which we control the rotation:

  • Shoulder to arm
  • Elbow to forearm

The end of the forearm, the hand is virtually a joint itself being the target position, but we do not control the rotation of that position.

The shoulder joint is not just a position, it is an orientation. The rotation angles can change based on the orientation of the shoulder, and this is applied on the roll.

The idea would be to implement a strategy so that in addition of the position, we could control a third bone: forearm to hand. Using constraints, we could apply a specific direction to the hand, so that for instance, it would be always parallel to the floor, or to be always lined away from the shoulder.

For instance, this could be used to animate robotic arms with pincers at the end.

@hai-vr hai-vr added the project-generalized-shader-ik Related to the Generalized Shader IK project. label Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-generalized-shader-ik Related to the Generalized Shader IK project.
Projects
None yet
Development

No branches or pull requests

1 participant