[[22330]]

Rigging Panel (Tool shelf)

[PS Showtime url=”/wp-content/uploads/2014/09/map_rigging.png”]

The rigging panel basically contains a collection of properties which also are available at other regions in Blender. But having them all in one place is a time saver. The panel is provided It has 4 major sections:

  • SL Rigging Style.
  • Bone Display style.
  • Bone Visibility.
  • Bone Constraints (1).

(1) Bone constraints are only visible in Edit Mode and Pose mode.

rig_properties_02

The + icon on the left of the preset buttons expands the Bone Panel

SL Rigging Style

The Avastar Armature can be configured for Classic Rigging (using only the SL Base Bones) or for Fitted Mesh Rigging (additonally use of the Collision Volume Bones).
rigging_06

Attention: The Rigging Style selection only marks the corresponding bones as Deform Bones. The Weighting of the Bones is part of the Skinning Process.

Bone Display Style

The first row of buttons changes the bone shape. You probably will mostly select the Octahedron Style or the Stick Style.

rigging_07

In the Second Row of the section we find 3 properties:

  • X-ray: To display bones even when they are occluded (hidden) by the mesh.
  • Shapes: To enable the usage of Custom shapes.
  • Limits: To display the bone movement ranges.

Bone Visibility

The first row of the Bone Visibility section contains 4 Presets for different Workflows:

  • Skin (the Weighting Workflow).
  • Pose (the Animation Workflow).
  • Retarget (import of BVH Animations).
  • Edit (Modify the Rig).
rigging_02

The + sign expands the Bone set visibility buttons

For details about Workflow Presets see below.

Bone Workflow Presets (details)

The presets actually do a bit more than just controlling the Bone visibilities. They also control to some extend what you can do with the Bones in the various Bone Workflow Presets:

  • Skin is used when you want to do weight painting on your Mesh. This preset will enable the SL Bones and also unblocks their rotation setting so that you can rotate the bones for testing your weights.
  • Retarget is used when yuo want to import another Animation from a BVH file.
  • Pose is used for all your animation work. This preset enables the green control bones which are optimized for your Animation tasks. This is also the default preset forAvastar.
  • Edit is used when you want to edit the Bone’s Rest poses, for example when you create a non human character.

Bone Visibility expanded

The Bones are grouped into 12 subsets. You can enable/disable the visibility of each subset separately by enabling the corresponding view button (see yellow box in image).
Note: In the tool shelf the Bone Visibility Panel can be collapsed and expanded by clicking on the small (+)/(-) sign to the left of the Bone Presets.
Avastar Bone Sets are descriobed below in more detail.
rigging_01

Bone Sets

  • Torso, Arms, Legs, Origin: These buttons control which of the Control Bones (green) are visible
  • IK Arms, IK Legs: These buttons control which of the IK Bones (yellow) are visible
  • Extra: There are a few Extra bones which normaly are not used for Animation in SL. These bones are either not weighted to the default Avatar (Skull, Foot Bones and Toe Bones) or are automatically animated (Eye Bones). However you can use these Bones in your animations for custom meshes.
  • SL Base: to display the SL Bones (Blue)
  • Attachment: to display the Attachment Bones (red)
  • Volume: to display the Volume Bones
  • Structure: to display the Structure bones
  • Eye Target: to display the Eye target (needed for animating the eyes)
  • Deform Bones: to display all bones which have the Deform Option enabled. The content of this set can change dynamically (see fitted Mesh)
Note: You can not disable visibility of ALL bone groups. Hence at least one of the bone groups is always selected.
Note: Selected elements (dark background) are made visible, while unselected elements get hidden.

Bone Constraints (Available in Pose mode and Edit mode)

The (green) Control Bones and the (blue) SL Base Bones of the Avastar rig are closely related to each other. Actually the SL Base Bones by default inherit the control Bones Transformation matrices. Hence the control bone skeleton and the SL Base bone skeleton are like almost perfectly synchronized twins. You can see this best with Bone display mode set to Octahedral:

rigging_04

The Green Control Bones are the master bones used for Animation

rigging_05

The SL Base Bones are used for Skinning (Weighting). They closely follow the green control bones

Due to the Bone constraints the SL Base bones can normally not be directly moved or rotated. Hence by default you have to move the control bones and weight the SL Base bones.

Since this behavior can be a bit tedious at times we have added the Bone Constraints panel to change the default behavior of the SL Base Bones on purpose (i.e. when you want or need it):

Constraints Panel (in Edit/Pose Mode)

You can Unlock Rotations and Locations separately. For working on Human SL compatible Skeletons, you would almost always unlock the Rotation constraints and keep the Location Constraints to ensure your mesh can not be put into a wrong positioning.
rigging_03

Note: The Bone Workflow Presets (see above) take this into account. So when you select the Skin preset, then the constraints are automatically set appropriate for the Weighting workflow.

Structure Constraints

The Avastar Rig also contains a set of Structure Bones, although there are no corresponding SL Base Bone available. The structure Bones are mostly beneficial for Animation when you create non Human characters like Quadrupeds for example (dogs, cats, lions, horses, …)
By default the Structure Bones are not selectable. But when you work on non human skeletons you often want to reposition the structure bones as well.
rigging_08
This is where the Structure Enable button comes into Play. When you enable Structure you can move the Structure Bones around just like all the other Control bones.
rigging_09

Snap Rig To Pose (available in Armature Pose Mode)

The Snap Rig to Pose button is a quick way to make the current Pose the new Rest Pose.

Snap Base to Rig (available in Armature Edit Mode)

The Snap Base to Rig button allows to snap the SL Base Bones to the Control bones. You need this function whenever you have modified your Rig in Edit mode.

Important: You should NEVER modify the SL Base bones in Edit mode. Please use always the Green Control Bones and then use this Snap function.
Right after you have clicked on the Button an operator panel will show up at the bottom of the Tool Shelf. You might need to scroll down the Tool shelf to spot that panel:
rigging_13

 

The Operator Panel gives you some control over which bones shall be snapped:

  • Scope: Can be Selected Bones, Visible Bones, or All Bones.
  • Adjust IK Line Bones: Will adjust the connection bones between the IK Pole Targets and their constrained Bones
  • Adjust IK Pole Angles: Will adjust the Pole angle (see below)

Sync Pole Angles

Pole Angle show up when you are working with IK Targets. It is important to have the Pole angle set correctly because otherwise you will see remarkable changes of your pose when you switch between FK and IK mode.

So what is the Pole Angle? In short the pole angle is the relative Bone roll of the constrained Bone (the Elbow here) between a plane that is defined by the Bone’s IK Target Bone (the IKWrist in the example), its Pole Target, and the Chain End point of the IK Chain (the Collar Bone here):

rigging_11

Click to Zoom In

rigging_12

Click to Zoom In

 

Note: The definition of the pole angle is done in Rest Pose. The bending of the Arm in the images above just makes it easier to spot how the pole plane is constructed.

For a simple Rig like the Avastar Rig the Pole angle is typically 0°,90°,180° or 270°  but it can have any angle actually. Blender allows to set the Pole angle manually. Avastar provides a function that calculates the optimal pole angle automatically whenever you switch from Edit mode to pose mode.

Our course Non Human character Creation tells more about this. You also find some information about the Pole Angle on the Web. You find some resources with Google, see blender pole target