Definitionintro
Bind pose
Also called rest pose.
The pose of the skeleton in which the skin was attached. The inverses of its joint world transforms map the rest mesh into the frame of each joint.
The bind pose is the pose of a character skeleton in which the skin mesh was attached to it. The mesh as it was modeled, the rest mesh, sits around the skeleton in this pose. Skinning needs to know where each vertex was relative to each joint at that moment, and the inverse of the world transform of each joint in the bind pose gives exactly that. Every skinning method of this sub-area, for example linear blend skinning, starts from these matrices.
Definition
Let a skeleton with joints have the world transforms in its current pose (see character skeleton for ). The bind pose is one fixed pose of the skeleton, chosen when the mesh is attached; its world transforms are . The inverse bind matrix of joint is . It maps a point of the rest mesh, given in model coordinates, to the coordinates of the frame of joint in the bind pose.
The skinning matrix of joint in the current pose is
It maps a rest vertex to the place it would have if it moved rigidly with joint from the bind pose to the current pose. Linear blend skinning is with and .
Property (proved). In the bind pose for every joint, so , and any skinning that blends the with weights of sum 1 returns the rest mesh: . This is the first test of every skinning code on this site.
The inverse bind matrices do not change during the animation, so they are computed once, or stored in the file; glTF stores them in the inverseBindMatrices accessor of a skin, in the order of its joints array.
Notation
- is the world transform of joint in the bind pose, and is its world transform in the current pose.
- Normals move with the inverse transpose of the linear part of the blended matrix, normalized again.
- Points are column vectors, and the world frame is right-handed with up.
Examples and non-examples
One vertex on a forearm. Take the shoulder at the origin and the elbow at in the bind pose, with no rotation, so and . The rest vertex has the coordinates in the frame of the elbow. Now bend the elbow by about , with the shoulder fixed: . Then : the vertex keeps its place relative to the elbow. With the weights on the shoulder and on the elbow, linear blend skinning gives .
T-pose and A-pose. Characters are often modeled and bound with the arms straight out (a T-pose) or angled down (an A-pose), so that the skin of the armpits and the shoulders is open and easy to weight.
Non-example: the world transform alone. Using in place of applies the offset of the elbow twice: , not . Even in the bind pose , so the mesh moves with no animation at all.
Non-example: a rest pose that is not the bind pose. Some tools keep a separate "rest pose" of the skeleton, for example a neutral pose for editing, that differs from the pose in which the mesh was bound. If the code takes the world transforms of that pose as , the skinning matrices are not when the skeleton is in its true bind pose, and the mesh is deformed before any animation. The alias "rest pose" of this page is right only when the two poses agree.
Non-example: a mesh with its own transform. In glTF the transform of the node that holds the skinned mesh is ignored, and only the joint transforms move the vertices; applying it as well moves the mesh twice.
Related definitions
- Character skeleton: the tree of joints, the local transforms and the world transforms .
- Linear blend skinning and dual quaternion skinning: they blend the skinning matrices , as matrices or as dual quaternions.
- Character skinning: the problem that the bind pose sets up.
- Forward kinematics: computes and from the poses; the robotics pages use z up.
- Automatic rigging: fits a skeleton into a rest mesh and computes weights, which fixes the bind pose.
History
The bind pose came with the joint-based skinning of the late 1980s and the 1990s, where each vertex moves with the change of its joints from the attachment pose. Exchange formats such as glTF store the inverse bind matrices with the skin, so that a viewer does not need the bind pose itself.
References
- The Khronos Group, glTF 2.0 Specification, Section 3.7.3 (skins, the joints and the inverseBindMatrices accessor, the per-vertex matrix as a weighted linear sum of the joint matrices, and the rule that the transform of the skinned mesh node is ignored)
- Ladislav Kavan, Part I, Direct skinning methods and deformation primitives, in Alec Jacobson, Zhigang Deng, Ladislav Kavan and J. P. Lewis, Skinning, Real-time Shape Deformation, SIGGRAPH 2014 course, Section 2 (linear blend skinning)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 3RBDTZ Edit this page History Report an error Markdown