Introduction to the IK
Anchors and "IK Drag" Out, IK Handles In
Inverse Kinematics behavior is controlled by IK handles. These are objects that manipulate a user-selected part of a skeleton. You can create an IK handle on any part of a skeleton-on an arm for example- and use the IK handle to affect only that arm without disturbing the rest of the skeleton. To move the arm, you pick the handle and use the Move tool-there is no longer a separate IK drag operation for skeletons. Also, because you create the handle for only the part of the skeleton you want to move, there is no longer a need for the "Anchors".
Generalized Constraints
The term constraint describes a generalized constraint that can apply to any dag node. Constraints have been generalized so they can be applied to any dag object. A point constraint modifies the translations of an object to match the position of the object it is constrained to. Orientation and aim constraints modify the rotations of the constrained object so the local axes of the constraint match those of the constrained object (orientation), or the selected aim axis points at the constrained object (aim).
The Single-Chain solver
With the single-chain solver, you can set up character motion very quickly, and adjust this motion in a highly visual manner.
Unique/ no Run IK
With the Multi-ChainIK solver, skeletons have a non-unique behavior; that is, the motion of joints can change unpredictably, depending on whether you play back the animation, do a viewframe, move a constraint, or undo on a transformation. The solution to this problem is to make you do a separate, non-interactive operation to "bake" the skeleton motion using the Run IK tool. With the Single-Chain solver, the solution is unique, which means that the behavior of the skeleton is the same whether the animation is played forward or backwards, whether a constraint/handle is moved away and back, etc. Therefore, you can interactively move and play back your skeleton motion without needing to use Run IK.
Rest Pose
The "rest pose" is a reference position for the skeleton, generally a "neutral" pose for the chain. By setting a rest pose for a skeleton (in the menu, select Edit
Set Rest Pose), you can return to this pose at any time (by selecting Edit
Assume Rest Pose). In the past, you would have needed to set a keyframe for this pose. The single-chain IK solver uses the rest pose as a seed position to solve for the skeleton position when a handle/constraint is moved or animated. The behavior of the skeleton chain, therefore, is highly dependent on the rest pose you choose for that chain.
Non-overlapping Handles
With the single-chain solver, you can put only one handle on each part of a skeleton. For example, one handle for each arm (shoulder to wrist), one handle on each finger (first knuckle to fingertip), etc. This is very different than the multi-chain IK, in which handles can share joints, and generally overlap considerably.
IK Terminology
When you apply a single-chain handle to a skeleton chain, a number of new visual icons and terms come into play. The figure below is an IK chain with a single-chain handle.
Root Joint
The topmost joint in a skeleton hierarchy controlled by a given handle (such as the shoulder joint for a handle controlling an arm).
End Effector
The bottom-most joint in the hierarchy controlled by the handle (e.g. a wrist joint).
IK Handle
The object that controls the skeleton chain. In the modeling window, the handle consists of a Goal, a Limb Axis, a Plane indicator and a Pole. See the following example.
In the default Translation Only setting for the IK Handle, only the Goal and Limb Axis are visible.

Goal
The part of the handle that determines the position of the chain's end effector, represented by the diagonal Y icon.
Limb Axis
The imaginary line between the root joint and the end effector.
Plane Indicator
In the modeling window, this is the small pointer icon placed at the root joint. Together with the Limb Axis, this indicator shows the orientation of the plane which contains the skeleton chain. Using the rotation of the IK handle, you can rotate this plane, together with the chain, around the Limb Axis. See the diagram above.
The Plane Indicator is visible only with the intermediate-level Plane Rotation setting for the IK Handle.
Pole Axis
With the single-chain IK, there is a Pole Axis, which the chain refers to for its orientation. If you move the handle so that the Limb Axis crosses this Pole Axis, the chain will "flip" by 180 degrees. As a result, it is sometimes useful to adjust the Pole's orientation so the Limb Axis does not cross the Pole Axis for a given shot using the chain. The Pole Axis is shown in the modeling window by a line segment with an "up" arrow at its tip, and a projection of this Pole Axis is shown as a dashed line segment drawn to the Plane Indicator's rotation disc.
The Pole Axis is visible only with the advanced-level "Plane/Pole Rotation" setting for the IK Handle.
Using Single-chain IK Handles
Objects
Add IK handle
This is a continuous-action tool in which you add IK handles one at a time to a skeleton. To add single-chain handles, select Single-chain in the option box for this tool. Then, select the root joint, and finally the end effector joint. The tool is still active after this operation, so you can continue to select other parts of the skeleton to put other IK handles on. For more information about this tool, see Add IK handle.
This tool lets you select the root and end-effector joints by drawing a pick-box around them (click mouse down and drag a box around the desired joint).
Information Window
When an IK handle is picked, the information about that handle is shown in the Information Window in the IK Handle section.

Name
The name of the IK handle. You can edit this field.
Bounding Box
This option turns off the display of the IK handle's bounding box.
Invisible
This option turns off the display of the IK handle.
Translate
The handle's translation coordinates. Only these coordinates are editable at this time because under Control type, TRANSLATION ONLY is chosen.
Rotate Pivot
The handle's rotation pivot coordinates.
Local Axes
The handle's local axes coordinates.
Scale Pivot
The handle's scaling pivot coordinates.
Bounding Box Min/Max
The limits placed on the handles's bounding box, which is made up of the Limb axis and Plane indicator.
Handle Type
A single-chain IK handle always contains both a position and orientation goal. The position is defined by the goal of the IK handle. Since the single-chain IK solution is unique, the joints between the root and end-effector are uniquely computed based on the current goal position of the IK handle, and the rest pose (used as the "starting value") of those in-between joints.
ON/OFF
Click these buttons to turn the IK handle on or off. When the handle is turned off, it is still visible but has no effect on the IK chain. To hide it completely, click Invisible at the top of the IK handle section.

root
This is the top-most joint in the skeleton hierarchy.
end-effector
This is the bottom-most joint in the skeleton hierarchy.
Control type
The Single-chain solution has three levels of control accessed from the Control type pop-up menu.

TRANSLATION ONLY
This is the default control setting, suitable for most basic IK use. TRANSLATION ONLY means that you can only move or animate the IK handle's translation channels.
PLANE ROTATION
This setting gives you more in-depth control of the IK handle. It lets you rotate the skeleton plane, the plane in which the joints contained in the IK handle lie (if all the joints of the IK handle do not lie in one plane, a "best" fit plane is chosen). Rotating the IK handle around the specified rotation value in the Plane rotate box lets you re-orient the plane indicator, and subsequently the skeleton plane, to create more complex motion in the chain.

Shortcut: You can also control the rotation of the plane axis by picking the IK handle and using the left mouse button with the Rotate tool (Xform
Rotate).
PLANE/POLE ROTATION
This setting provides advanced, specialized control of the IK handle. In some cases, the combination of translation and plane rotation might cause the IK solution to flip uncontrollably. Set the Pole rotate X and Pole rotate Y box values to alter the plane of the skeleton, while keeping the pole in the same orientation relative to the skeleton plane.

Shortcut: Use the middle and right mouse buttons to rotate the IK solution's Pole Axis and its projection.
The POLE ORDER field is used to determine which two degrees of freedom are to be used to rotate the Pole Axis. In the earlier example illustrating plane rotation, the skeleton was drawn in the XY plane. Thus the pole axis is automatically positioned along the Z-axis (i.e. perpendicular to the skeleton plane) when the IK handle is created, and the pole order is ZXY. This means that the Pole Axis is created parallel to the IK Handle's Z axis (and thus given the blue Z axis color), and its orientation is adjusted by applying a local X rotation, then a Y rotation, to the Pole Axis.
When to use the Plane Rotation Setting
If the IK chain never needs to change orientation from its rest position, the default Translation Only setting will be all you need to animate the skeleton. For example, if the legs of a simple biped character in a walk cycle are oriented in a constant direction (i.e. the knees always point forward), the IK handles for the legs will only need translation.
However, if that same biped character needs to have a "bow-legged" or "knock-kneed" appearance, or if the character is dancing the Charleston, you will want to rotate the skeleton plane of both legs to achieve this effect. In this case you will choose the Plane Rotation setting for those handles in the Information Window, and adjust the Plane Rotate fields accordingly.
When to Use the Plane/Pole Rotation Setting
You will need to adjust the rotation of the Pole Axis, through the "Plane/Pole Rotation" setting, only if the skeleton chain is to be animated through an extremely wide range of motion in the scene. Specifically, if the limb axis of the chain comes near the Pole Axis, an undesirable "flipping" of the chain may occur; generally, you will want to move/animate the Pole Axis so that the handle's limb axis does not come too close to it during a given scene.
When you create a single-chain IK handle on a chain, a Pole Axis is automatically created and placed perpendicular to the skeleton plane in its rest position. As long as the chain is not contorted very far from this position, and the limb axis of the chain doesn't approach the Pole Axis, this default position of the Pole Axis is suitable for animating the skeleton. Otherwise, adjusting or animating the Pole Axis may be necessary to avoid flipping behavior in the chain.
Complex Single-chain Example
For typical examples of using the single-chain IK handle, see Lessons 20 and 21 of Learning Alias V8.0 Below is an example of two torsos, and how different types of arm movements are achieved through the use of POLE/PLANE ROTATION.
In this example, the two torsos are identical and both have IK handles on the left arms. The default value for Plane rotate is 90 degrees. The default value for Pole rotate Y and Z is zero degrees. The left torso requires a beer-chugging motion, while the right torso will perform a jumping-jack kind of motion.

First, for the beer-chugger, no Pole rotation is required, so Pole rotate Y and Pole rotate Z are changed to zero. Plane rotate is kept at 90 degrees. For the jumping-jack torso, change the Plane rotate to 0 degrees, the Pole rotate Y to -90 and the Pole rotate Z to zero.
With the IK handles picked, use Xform
Move to drag the arms up to simulate the beer-chugging motion,

Opening the Information window displays the following:


Now, continue to move the arms up and try to create the jumping-jack motion for the right torso. At some point, you'll see the left arm "flip" a little, when the arm's limb axis crosses over the Pole axis. The right arm doesn't flip because the Pole Axis points forward, and therefore the arm's limb axis never approaches it.

The Multi-chain solver
Although the Single-chain IK solver is suitable for most inverse kinematics needs, you can also use Multi-chain IK handles to manipulate skeletons. The Multi-chain solver is backward-compatible with the inverse kinematics provided in V7.0. V7.0 files with skeleton animation have the equivalent Multi-chain IK handles added to them when read into V8.0 In some cases the Multi-chain solver can be used to create specialized animations on your skeleton which the Single-chain solver may not be able to achieve.
Using Multi-chain IK Handles

When a multi-chain IK handle is picked, the IK Handle info section in the Information Window has three items not seen with Single-chain IK handles:
Weight
Weight is a numerical value that determines the influence of this handle relative to other handles in the skeleton chain.
Position
When checked on, the handle is used to determine the position of the end-effector of the skeleton.
Orientation
When checked on, the handle is used to determine the orientation of the end-effector's parent joint.
Position vs. Orientation IK Handles
When an IK Handle is specified as Position, moving the IK handle in turn moves the skeleton's end effector, as with Single-chain IK behavior:

When an IK Handle has been specified as Orientation, rotating the handle affects the rotation of the parent joint of the end effector. As a result, the bone that points to the end effector has the orientation of the IK handle:

If both Position and Orientation are specified for a Multi-chain IK handle, both of the behaviors described above are combined. The end effector moves with the IK handle, and the bone pointing to the end-effector is rotated to match the handle's orientation.
Overlapping Handles
With the Multi-chain IK Solver, you can overlap IK handles. For example, on an arm, you can place an IK handle from the shoulder to the wrist, and a second handle from the shoulder to the elbow. By default, overlapping IK handles will have equal influence on the IK chain. In the following example, if the shoulder-elbow handle is pulled downward at the same time the shoulder-wrist handle is pulled upward, the arm assumes a position that tries to meet both handles equally:

If you prefer one handle's influence to dominate over the other's, you can adjust the handle's weight in the Information window. In this example, if you want the shoulder-elbow IK handle to have only a small influence, you would set the IK handle weight to a small value (e.g. 0.1). As a result, the arm skeleton tends to favor the shoulder-wrist handle, as shown below:

Run IK and the Multi-chain Solver
When you use the Multi-chain solver, you need to perform an extra operation to `bake' the IK handle behavior onto the rotations of the skeleton joints. This is the operation Animation
RunIK. The effect of this operation is to create keyframe animation directly on the skeleton joints. Once this operation is done, the scene can be rendered, or the skeleton's animation can be further refined by editing the keyframes on the joints. Although RunIK is optional with Single-chain skeletons, it is required when using Multi-chain IK handles.
The Spline-handle Solver
Using Spline Handles
You can also use the spline handle to control a piece of skeleton chain. Using the spline handle, the skeleton chain matches a target spline curve. The spline handle makes tail, neck, or snake animation easier. There are four primary purposes of the Spline solver:
Overview
A spline handle is defined on a skeleton chain by a root joint, an end joint, and a target spline curve.

Like single-chain IK handles, spline handles are constraints affecting skeletons which also do not overlap.
Master and Root Handles
There are two kinds of spline handles: master handle and root handle. A master handle, like a single-chain IK handle, sits at the end of the chain and defines the chain from the root joint to the end joint. A master handle controls the twist angle of the chain.
Root handles control the positions of the skeleton chain on the spline curve and the rolling angle of the chain. A root handle is a one-joint handle which sits on the root joint defined by a master handle. The root handle can not exist without a master handle. A root handle controls only the root joint, its position on the spline curve and its rotation along its lower bone. The root joint effects the entire chain.
You can create several adjacent master handles which share one target spline curve. See the following illustration for an example.

You can not have an independent master handle without a root handle. You also can not have adjacent handles using different target curves.
When you delete a spline handle, you also delete all lower adjacent spline handles. In the above illustration, if you deleted the root handle, all of the other handles would also be deleted. If you deleted master handle 2, master handle 3 and master handle 4 would also be deleted.
Parameters and Arc Lengths
Spline handles can define positions on a curve either by parameters or by arc-lengths. Both types of measurements use relative percentage values.
The following figure shows points on a spline curve defined by parameters and by arc-lengths. Notice that each point in this figure is represented by four values: an absolute parameter value, a relative percentage parameter value, an absolute arc-length value and a relative percentage arc-length value. For each spline handle, we can only use relative parameter values and relative arc-length values to define the points or positions.

Rolling the chain
To roll the chain means rotating the root joint using a lower bone as the rotation axis. Since all lower joints inherit their rotations from upper joints, the rotation on the root joint makes the whole chain roll.

Twisting the chain
To twist the chain means rotating each joint (except the end) on the chain using each joint's lower bone as the rotation axis.

There are four different Twist-types that you can use to control the spline handle.

See Twist Type in the Information Window section below for more information.
Information Window
When an IK handle is picked, the information about that handle is shown in the Information Window in the IK Handle section. The Information Window provides added details about a spline handle.
Root Handle Information
For a root handle, you can change the position type, position, and roll degree from the Information Window.

Position Type
Spline handles can define positions on a curve either by parameters or by arc-lengths.
Position
You can interactively change the Position by holding the ALT key down and scrolling with the left mouse in the Position field. You can also type values in the Position field.
Roll degree
You can interactively change the Roll degree by holding the ALT key down and scrolling with the left mouse within the Roll deg field. You can also type a number in the Roll deg field to change the value.
Master Handle Information
For a master handle, you can change the twist type and the twist angle from the Information Window.

Target curve
The spline handle's target curve.
Twist Type
The master spline-handle solution has four types of control from the Twist Type pop-up menu.
Ease-in/out
The joints in the middle twist more than the joints at the two ends.
Slow-in/fast-out
The joints near the root twist less than the joints near the end.
Fast-in/slow-out
The joints near the root twist more than the joints near the end.
Linear
The joints twist equally at each joint.
Twist

You can set the Twist degree by typing the degree number in this field. You can interactively change the degree value by scrolling using both the Alt key and the left mouse.
Using the Skeleton editor
The Skeleton editor no longer lists Constraints and Limits. Instead, it supports Handles and Joints (which can be chosen from the List Types pop-up). To see constraint information, use the Information window.


aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.