Assignment #2: Creating the Skeleton
Installing the Character Design Shelf
In order to use the CharacterDesign shelf, first download this zip package:
Character Design Shelf.
Each Maya installation has a series of folders for custom preferences and tools, so you will be dragging files from the unzipped archive's folders to their counterparts in Maya's preference folders.
Here's a list of what needs to be dragged where:
- Files in shelves → Documents/maya/2015-x64/prefs/shelves/
- Files in icons → Documents/maya/2015-x64/prefs/icons/
- Files in scripts → Documents/maya/2015-x64/scripts/
Note: "Documents" is where Maya's preference folders are usually found on Windows. Additionally, the 2015-x64 will be different if you're using another version of Maya.
Once you've placed the files in their correct folders and opened Maya, you should see the CharacterDesign shelf tab on the top right side of the Maya interface:
The buttons below are available to you on the CharacterDesign shelves. The only shelf button that is required for this assignment is the transparency fader. This allows you to select one or more mesh objects in Maya and create a slider that will adjust their transparency. The save-it button will allow you to save iterations of your assignment as you work. We strongly encourage you to use this button often.
The on and off buttons will toggle on and off the joint orientation labels of your skeleton. This will be very useful when you are trying to correctly orient your joints later in the assignment. Don't worry about the rest of the buttons, they will be explained later in the course.
Starting from your Maya scene with the image reference planes from the previous assignment, in the Display Layer box click the "R" next to the reference_lyr. This allows the reference planes to be selectable.
Next select the reference planes then click the transparency fader button on the CharacterDesign shelf:
A transparency fader control handle should pop up in the Maya scene. Selecting the circles and moving them up and down will allow you to adjust the transparency of the image planes. The arrow at the bottom of the fader allows you to move this control mechanism around the scene.
To finish up, click the empty box next to the reference_lyr until "R" shows up again.
Joint Placement Reference
Joint Tool - (Animation menu set) Skeleton → Joint Tool
Conventions for joint orientation
Axis |
Orientation |
Why |
X |
Points down toward the child |
Maya auto-orients joints this way as a convention. This minimizes gimbal lock problems when using the default rotate order. However, there are a few special cases where joints in character rigs should be oriented differently. |
Z |
Primary axis of rotation |
Using Z as the primary axis of rotation further reduces risk of gimbal lock. This helps IK work more reliably. |
Y |
|
Rotating the Y axis 90 degrees causes gimbal lock. We try to minimize gimbal lock by orienting Y as the least used axis. |
1. The Back
Click and draw the back joint chain using the Joint Tool. Use the image for reference on where to place the joints. Most characters will need four joints in the spine (excluding null joints). Having four joints makes it possible to create an s-curve. Note: the final deformation skeleton may end up having many more than four joints.
1a. Creating the back joint chain
- Switch to the side camera view
- Activate the joint tool - Skeleton → Joint Tool
- Note: If you can't find the Skeleton menu option, you may need to change the Maya menu set. Unlike most other programs, which have fixed "File, Edit, etc." menus, Maya has so many tools that it requires multiple sets of menus. Click the drop down menu on the top left of the interface and choose "Animation" for this assignment.
- Start with the pelvis. Place the pelvis joint slightly below where the belt would be.
- Next, place the spine 1 through 3 similar to where they are in the reference image. There should be a slight curve to these joints, a relaxed posture. Horizontally, they should be placed slightly more toward the back.
- Finally, place the end null joint directly above spine 3. Press "enter" when finished.
- In the Outliner, click the "+" next to center_root_bind_joint to expand the hierarchy. To open (or close)
the hierarchy all at once hold the Shift key before clicking the plus.
Tip: If the joints are too small to easily work with navigate to Display → Animation → Joint Size... to change the relative sizing of all the joints in the scene. Individual joints can be
scaled by changing the Radius attribute in the Channel Box or Attribute Editor.
- Name the joints as shown in the images above and below
1b. Orienting the back joints
- Check for flipping on the Y axis
-
Turn on local rotation axes display for the back joints
- Shift-select all of the back joints
- Turn on Local Rotation Axes display
- Display → Transform Display → Local Rotation Axes
- The Y axis should be aiming in the same direction for all joints. Particularly they should each aim out the back. In this example, the third joint has it's Y axis pointing the opposite way, so it will need to be re-oriented.
- Re-orient the back joints to fix any flipping of the Y axis
- Skeleton → Orient Joint (option window)
- Select the joint that has the Y axis pointing the wrong way
- With the settings shown above, click Apply. Change the axis to negative or positive as needed.
- Repeat this down the joint chain until all of the Y axes are pointing the same way.
- Orient the root joint orthogonal to world space.
- Select center_spine_1_bind_joint and press "shift-p" to unparent it.
- With with the center_root_bind_joint selected, press "ctrl-a" to bring up the Attribute Editor.
- In the Joint Orient field, round off all values to multiples of 90.
- In this example only the Y value needs to change from -6.116 to 0.
- Parent the joint back into the hierarchy
- Select center_spine_1_bind_joint
- Shift-click center_root_bind_joint to add it to the selection
- Press "p"
- Orient spine 3 orthogonal to world space.
- Select center_spine_3_bind_joint and press "shift-p" to unparent it.
- With the joint still selected, press "ctrl-a" to bring up the Attribute Editor.
- In the Joint Orient field, round off all values to multiples of 90.
- Parent the joint back into the hierarchy
- Select center_spine_3_bind_joint
- Shift-click center_spine_2_bind_joint to add it to your selection
- Press "p"
-
You can turn off the rotation axes by shift selecting the joints in the chain and once again going to
- Display → Transform Display → Local Rotation Axes
1c. Delete the temporary null joint
- Select temp_spine_null_joint
- Press the "delete" key on the keyboard
2. The Neck
Click and draw the neck joint chain using the Joint Tool. Most characters need three neck joints (including the head, but not the end null joint) so that it can bend into a c-curve.
2a. Creating the neck joint chain
- Switch to the side view camera
- Activate the joint tool - Skeleton → Joint Tool
- Place the neck 1 joint slightly below the collar line.
- Place the neck 2 joint in the middle of the neck. Horizontally, it should be slightly more toward the back of the neck.
- Place the head joint just below the ear where the vertebrae would join the skull.
- Place the head end null joint directly above the head and press "enter".
- Name the joints as shown in the image.
2b. Parent the neck to the back
- Select center_neck_1_bind_joint
- Shift-click center_spine_3_bind_joint to add it to your selection
- Press "p"
The skeleton should now look like this in the Outliner
2c. Orienting the neck joints
- Check for flipping on the Y axis
- Shift select all joints in the neck chain.
- Turn on Local Rotation Axes display
- Display → Transform Display → Local Rotation Axes
- Check to make sure the Y axis points in the same direction.
- Re-orient the neck joints to fix any flipping of the Y axis
- (repeat the steps shown above for the back chain)
- Orient the head orthogonal to world space.
- Select center_head_1_bind_joint and press "shift-p" to unparent it.
- With the joint still selected, press "ctrl-a" to bring up the Attribute Editor.
- In the Joint Orient field, round off all values to multiples of 90.
- Parent the joint back into the hierarchy.
- Select center_head_1_bind_joint
- Shift-click center_neck_2_bind_joint to add it to your selection
- Press "p"
3. The legs
Click and draw the leg joint chain using the Joint Tool. Even if the reference image shows straight legs, add a bit of bend to the knee to indicate the direction it will bend.
3a. Creating the leg and toe joint chains
- Switch to the side view camera
- Activate the joint tool - Skeleton → Joint Tool
- Place the hip joint first.
- Place the knee and ankle joints. (knee should be bent, not straight)
- Place the final foot null joint where the heel touches the ground. Press "enter" when finished.
- Create a second joint chain for the toe. Start by placing the right_ball_bind_joint.
- Place the foot end null joint and press "enter" when finished.
- Name the joints as shown in the image
3b. Orient the foot joint in world space
- Unparent the foot joint
- Select the right_foot_bind_joint
- Press "shift-p"
- With the foot joint selected, press "ctrl-a" to bring up the Attribute Editor.
- Zero out all of the joint orient values
- Parent the foot back to the knee
- Select right_foot_bind_joint
- Shift-select right_lowerleg_bind_joint
- Press "p"
- Delete the temporary foot null joint
- Select temp_null_joint
- Press the "delete" key on the keyboard
3c. Orient the ball joint orthogonal to world space
- Select right_ball_bind_joint and press "ctrl-a" to bring up the Attribute Editor.
- In the Joint Orient field, round off all values to multiples of 90.
3d. Parent the toe to the foot
- Select right_ball_bind_joint
- Shift-select right_foot_bind_joint
- Press "p"
The leg joint chain should now look like this
3e. Align the right leg in the front view
- Switch the the front camera view.
- Select right_upperleg_bind_joint.
- Press "w" to activate the Move Tool.
- Move the joint over on the X axis to align with the reference image. Note that right/left on the skeleton is always relative to the character's direction. From the front view you would line up the upper leg joint screen left, but it would be on the character's right.
- Press "e" to activate the Rotate Tool.
- Rotate the Y axis to align with the image.
3f. Parent the upper leg joint to the back
- Select right_upperleg_bind_joint
- Shift-select center_root_joint
- Press "p"
3g. Mirror the right leg to the left side
- Skeleton → Mirror Joint (option window)
- Change the settings to match the screenshot below
- Mirror across: YZ
- Mirror function: Behavior
- Search for: right_
- Replace with: left_
- Select right_upperleg_bind_joint and press apply
4. The arms
Click and draw the arm joint chain using the Joint Tool. Even if the reference image shows straight arms, add a bit of bend to the elbow to indicate the direction it will bend.
4a. Creating the arm joint chain
- Switch to side camera view
- Activate the Joint Tool - Skeleton → Joint Tool
- First, place the upperarm shoulder joint
- Next, place the lowerarm elbow joint (elbow should be bent, not straight)
- Place the hand joint
- Place the temp hand null joint and press “enter” when finished
4b. Align the arm joint chain in the front view
- Select right_upperarm_bind_joint
- Press “w” to activate the Move Tool
- Move the joint to align the character’s right arm
- Press “e” to activate the Rotate Tool
- Rotate the joint chain to align with the image
The arm skeleton should now look like this:
4c. Creating the clavicle joint
- Switch to front camera view
- Activate the joint tool - Skeleton → Joint Tool
- Click and draw the clavicle as shown in the image. Press “enter” when finished.
- Name the clavicle joint right_clavicle_bind_joint
4d. Parent the clavicle to the chest
- Select right_clavicle_bind_joint
- Shift-select center_spine_3_bind_joint
- Press “p”
4e. Orient the clavicle joint relative to the chest
- Select right_clavicle_bind_joint
- Press “ctrl-a” to bring up the Attribute Editor
- Zero out all joint orient values
4f. Parent the arm to the clavicle
- Select right_upperarm_bind_joint
- Shift-select right_clavicle_bind_joint
- Press “p”
4g. Mirror the arm from right to left
- Skeleton → Mirror Joint (option window)
- Change the settings to match the screenshot below
- Mirror across: YZ
- Mirror function: Behavior
- Search for: right_
- Replace with: left_
- Select right_clavicle_bind_joint and press apply
The skeleton up to this point should look similar to these screenshots:
Save your progress up to this point as assignment2_checkpoint.ma and be sure to check in with one of the TAs during lab hours.
5. The hands
To create the skeleton for the fingers we will make a joint chain for a single finger, then duplicate it and re-use it for the other fingers.
5a. Preparation
- Before creating the finger, you may need to reposition the right_hand_null_joint
- Unparent the joint
- Move it so that it sits in the center of the palm
- Reparent it to right_hand_bind_joint
- Rename right_hand_null_joint to "right_palm_bind_joint"
5b. Create Finger Joint Chain
- Switch to the top view
- Activate the joint tool. Hold the 'x' for grid snapping, then place an even, straight, four joint chain facing down the negative X axis
- Name the joints as labeled above.
- Switch to perspective view
- Rotate and position it to roughly where the base knuckle of the index finger would be
- By only rotating in Z, rotate the child joints to put the finger in a relaxed pose
- Open the tool settings located at the upper right of Maya
- For Move Axis, change to Local
- Change the lengths to line up roughly where the knuckles would be by only moving the X-axis (red arrow manipulator)
- Select right_index_1_bind_joint
- Go to Modify → Freeze Transformations Options
- Uncheck all of the boxes except for Rotate and click Freeze Transform. This will make all rotations down the chain 0.
-
Here is a side view of the finger in relation to the arm:
5c. Creating the Remaining Fingers
- Select right_index_1_bind_joint and duplicate it four times (ctrl+d)
- Move and rotate them so that you form the rest of the fingers
- Use the same technique as above to lengthen or shorten bones
- Rename the fingers so that index is replaced with thumb, middle, ring, and pinky for each duplicate
Tip: To make the renaming process less tedious, you can go to Modify → Search and Replace Names... and specify a string to search for and a string to replace.
5d. Orienting the Fingers
- To make sure everything is oriented and positioned properly, select all the finger joint chains and their children.
- Rotate about the Z-axis and the fingers should form a fist, with the finger
- Undo the rotation and make any changes to the position or rotation of the fingers so that it will clamp into a fist when you rotate about Z
- Keep repeating these steps until you get the desired fist shape when you rotate about Z. The fingers should start coming together when you rotate them. It should look as follows when looking at the fist head on:
- The the thumb should be oriented so that when you rotate about Z, it will reach just below the start of the pinky joint chain. Below is what it looks like from underneath the hand:
5e. Completing the Hand
- Select the top most parent of all the finger joint chains
- Freeze transformations, again making sure you are only freezing rotation
- Parent each finger to the right_palm_bind_joint
- Delete left_clavicle_bind_joint
- Select the right_clavicle_bind_joint
- Go to Skeleton → Mirror Joint Options
- Make sure the settings match the screenshot below:
6. Finalize
- Select the center_root_bind_joint
- Go to Modify → Freeze Transformations Options
- Freeze transformations, again making sure you are only freezing rotation
End of Assignment 2.
Turning in your files
Like last time you will be turning your files into Collect-It on catalyst. For this assignment, turn in the following:
- front_view.png
- side_view.png
- assignment2.ma
- Make sure to use Maya 2015
- Turn in a Maya ASCII file, not Maya Binary
Your assignment is due Thursday 8/6 at 5:00 PM.
In addition, you will be required to check in with the TAs during office hours at least once for this assignment. Make sure check in with your assignment2_checkpoint.ma file.
|