Conceptcore
Candy wrapper artifact
Also called collapsing joint artifact.
The loss of volume of linear blend skinning when joints twist or bend far, because averaging rotation matrices does not give a rotation.
The candy wrapper artifact is the collapse of the skin of linear blend skinning at a joint that twists. Near a forearm that turns by half a turn, the skin narrows to a thin neck, like the twisted ends of a wrapped sweet. The cause is exact and simple: LBS averages the skinning matrices of the joints, and the average of two rotation matrices is not a rotation, but a rotation times a shrink. The same cause makes a bent elbow lose volume on its inside, the collapsing elbow; the candy wrapper is the twist case of that collapse.
In plain words
Think of a long sweet in a paper wrapper, and twist one end while you hold the other. The paper in the middle narrows to a thin neck. Simple skinning does the same thing to a twisted arm. A point of the skin halfway between the elbow and the wrist is moved partly as the elbow says and partly as the wrist says, and the result is the midpoint of the two places. When the wrist turns far, those two places are on opposite sides of the arm, and their midpoint is near the middle of the arm. So the skin there falls inward. Better skinning methods blend the turns themselves, not the places, and keep the arm round.
The idea
LBS moves a vertex by , so the linear part of the map is the average of the rotations of the joints. Take two joints that turn about the same axis : joint 0 by the angle and joint 1 by , with the weights and . In the plane orthogonal to the axis,
A matrix of this form is a scale by times a rotation by , and
This is a proved property, with these consequences:
- whenever and is not a multiple of : a ring of the radius about the axis shrinks to the radius . So the average is not a rotation.
- At , and : the ring turns by the right angle but shrinks, and at it collapses onto the axis.
- At , , and the ring does not turn at all for and is turned by for : along the limb, where rises from 0 to 1, the skin narrows to a neck and flips there, which is the look of the wrapper.
- At the two matrices are equal, and LBS gives no twist at all; a matrix cannot tell a full turn from none.
The same algebra holds for a bend: the rotations are about an axis through the joint, and the points in the plane of the bend move closer to the joint by the factor . The determinant of the blended linear part is here, so where the weights are nearly constant the local volume shrinks by that factor.
The methods that fix it blend rotations as rotations: dual quaternion skinning blends unit dual quaternions and normalizes, so each vertex moves rigidly; spherical blend skinning and optimized centers of rotation blend unit quaternions about a center. These keep the radius, but DQS and its kin can bulge at a bent joint, the opposite artifact.
Examples
The check value. With the weights and , joint 0 at the identity and joint 1 turned by about , LBS maps to . Dual quaternion skinning with the same weights turns the vertex by , to , and keeps the radius 1.
The radius against the twist. For a vertex at the radius 1 with the weight :
| twist | radius with LBS, | radius with DQS |
|---|---|---|
Along the limb at a half turn. At the radius is : at , at , at , at and at .
The collapsing elbow. Put the elbow at , bend joint 1 by about through it, and take the vertex with the weights and , at the distance from the elbow. LBS puts it at , at the distance ; DQS puts it at , at the distance .
Where it is used
- As the test of a skinning method. The twist of two joints by is the standard case; this site tests it on LBS, DQS, spherical blend skinning and CoR skinning.
- In rigging practice. Riggers add twist joints along the forearm and the thigh, each taking a part of the twist, so that LBS blends only small angles, where is close to 1.
- As the reason for corrections. Pose-space deformation and other corrective shapes add back the volume that LBS loses at the joints, and delta mush hides part of it (it does not keep the radius in a twist, as its page measures).
- In the theory of rotation averages. The fix is a better average of rotations; the rotation group is not convex, and rotation averaging studies the means that stay in it.
- In the character skinning problem, as the reason why no linear blend of the matrices can keep the volume in every pose.
References
- 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 and the candy wrapper artifact) and Section 4 (dual quaternion blending as a fix, and its bulging artifact)
- Ladislav Kavan, Steven Collins, Jiří Žára and Carol O'Sullivan, Geometric skinning with approximate dual quaternion blending, ACM Transactions on Graphics 27(4), article 105, 2008, Section 2.2 (linear blend skinning, equation 2, and the candy wrapper example)
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 ENSRSS Edit this page History Report an error Markdown