To Use the Skin Modifier

The Skin modifier lets you create character animation by deforming a skin mesh with bones, splines, and other objects.

Procedures

To use the Skin modifier:

    By default, the Skin modifier creates an envelope for each assigned bone and automatically adjusts the envelope to encompass nearby mesh vertices. Then, when the bone moves, it brings along all vertices within its envelope.

    Note: The bone "carries" its associated vertices by virtue of the envelope's having assigned Weight values for that bone to the vertices. You can change these assigned values by adjusting the envelopes and/or specifying Weight values explicitly.
  1. Prepare the skin (mesh or patch object) and skeleton (bones, CAT or Biped skeletons, or other objects). Carefully place the skeleton inside the mesh or patch object so that its components are able to influence polygons or patches in their immediate vicinity.
    Tip: The skeleton can already be animated, or you can animate it after applying its components to the Skin modifier.
  2. Select the mesh or patch object and apply the Skin modifier.
  3. On the Parameters rollout, click Add and choose the skeleton objects.
  4. Turn on Edit Envelopes and select an envelope to modify the volume in which each bone can influence the surrounding geometry.

To weight vertices manually:

    The default method of using envelopes to determine which bones affect which mesh vertices can suffice for many situations, but if you need more control, you can opt to apply vertex weights explicitly.

  1. Make sure Parameters rollout > Edit Envelopes is on, then turn on Vertices.
  2. On the mesh, select vertices to weight manually.

    Each selected vertex is surrounded by a small white rectangle.

  3. In the list of bones on the Parameters rollout, highlight the name of the bone for which you want to change the vertex weights.
  4. In the Weight Properties group on the Parameters rollout, set the Abs. Effect value to the new vertex weight.

    The Abs. Effect value is a decimal number between 0.0 and 1.0. The latter value means the vertex is controlled only by the highlighted bone. Values less than 1.0 means that other bones can also affect the vertex's motion.

To mirror envelope or vertex weight settings:

  1. Adjust envelopes and vertex weights on one side of the mesh.
  2. On the Mirror Parameters rollout, click Mirror Mode.

    The mirror plane appears at the position and orientation of the mesh's pivot point.

  3. If the mirror plane is not at the center of the mesh, change the Mirror Offset parameter to move the plane to the center.
  4. If some vertices in the left or right side of the mesh are red rather than blue or green, increase the Mirror Thresh value until all vertices are blue or green.
  5. On the Mirror Parameters rollout, click the appropriate Paste button to paste green or blue envelopes or vertex weights to the other side of the mesh.

To adjust the skin and/or bones without affecting the envelopes:

  1. Save the scene.

    This is a potentially destructive operation, so it's best not to take any chances with your data.

  2. Select the object to which the Skin modifier is applied.
  3. On the Advanced Parameters rollout, turn off Always Deform.
  4. Apply any necessary transforms to the mesh/patch object or bones objects.
  5. Turn Always Deform back on.

    To adjust the bones only, you can also use skin pose.

Example: To apply the Skin modifier to a cylinder with a bones skeleton:

  1. On the Create panel, with (Geometry) active, under Standard Primitives, click Cylinder.
  2. In the middle of the Top viewport, click and drag 20 units to create the base of the cylinder.
  3. Release the mouse button and drag up 130 units to establish the height of the cylinder.
  4. On the parameters rollout, set Height Segments to 20.

    This provides mesh detail for a smooth surface deformation.

  5. On the Create panel, click (Systems). On the Object Type rollout, click Bones.

    Make sure an IK Solver is chosen in the IK Solver list. Turn on Assign To Children. (This should turn on Assign To Root as well.)

  6. In the Front viewport, click successively three times: below the cylinder, in the middle of the cylinder, and above the top of the cylinder.
  7. Right-click to end Bones creation.

    Three bones display. Two of them are within the middle of the cylinder.

  8. Select the cylinder.
  9. On the Modify panel Modifier List, choose Skin.
  10. On the Skin modifier Parameters rollout, click Add, and use the Select Bones dialog to select the three bones.

    The names of the bones are now displayed in the list.

  11. In the Front viewport, select the bone end effector (IK Chain01) and move it around.

    The cylinder deforms to follow the bones. To adjust envelopes to refine the surface deformation, choose the Skin modifier's Envelope sub-object level, and use the Edit Envelopes controls to resize envelopes and change vertex weights.

Example: To use dual-quaternion (DQ) skinning:

    By default, the Skin modifier uses linear weighting, which works fine in most cases when deforming a character mesh with a skeleton. However, if a bone twists about its longest axis, the skin mesh tends to collapse, causing an unsightly loss of volume. In such cases you can apply dual-quaternion skinning, which prevents the loss of volume.

  1. Make sure the joint where you'll apply DQ skinning uses blended weighting between the two adjacent bones. One way to do this is by increasing the diameters of the envelope capsules at the joint so they overlap.

    The yellow area shows where the vertex weighting is shared between the neighboring bones.

  2. Rotate the "driver" bone about its longest axis so that the resulting loss of volume is readily apparent. Then undo the rotation.

    Mesh constriction caused by rotating the "driver" bone about its long axis

  3. Select the mesh object, go to the Envelope sub-object level, turn on Vertices, and select the vertices at the joint.

    Selected vertices within overlapping envelopes volume

  4. In the Dual Quaternion group on the Parameters rollout, make sure DQ Skinning Toggle is on, as it is by default, and then turn on Blend Weights.

    This turns the mesh black in shaded viewports and allows you to use all vertex-weighting tools except Weight Table to apply a DQ mask instead. In this example, you'll use the Weight Tool dialog, but you can use whichever tools for setting weights you're most comfortable with.

  5. In the Weight Properties group, click (Weight Tool) to open the Weight Tool dialog.
  6. On the dialog, click the 1 button, at the right end of the second row.

    This sets the highest possible DQ blending value for all selected vertices, as depicted in the mesh with white geometry.

  7. Also on the dialog, click the Blend button several times. It's located at the right end of the bottom row of buttons.

    This smooths the transition between the weighted vertices and their neighbors.

  8. Close the Weight Tool dialog, then turn off Blend Weights on the Parameters rollout.

    The mesh's appearance returns to normal.

  9. Rotate the driver bone again about its long axis.

    This time the loss of volume resulting from the twisting motion is significantly reduced.

Example: To use a morph angle deformer:

    Create the cylinder and bones from the "Example: To apply the Skin modifier to a cylinder with a bones skeleton" procedure before you continue with this procedure.

  1. At frame 50, animate bone 2 so that bones 1 and 2 represent a 90-degree angle.
  2. At frame 0, the bones should be straight at about a 180-degree angle.
  3. Go to frame 0.
  4. In the Parameters rollout, turn on Edit Envelopes.
  5. Select the child bone (bone 2) in the modifier's list of bones.
  6. In the Select group, turn on Vertices.

    This allows you to select vertices.

  7. In the viewports, region-select a good portion of the vertices that are controlled by both bones.
  8. On the Gizmos rollout, select the Morph Angle Deformer in the drop-down list, and then click Add Gizmo.

    The Deformer Parameters rollout displays. A base morph target is the first and only target in the list.

    Tip: if the Deformer doesn't assign, make sure that bone 2 and not bone 1 is selected in the list.
  9. Scrub the Time Slider to frame 50.
  10. Add an Edit Mesh modifier above the Skin modifier on the modifier stack.
  11. In the Edit Mesh modifier, turn on Vertex and Soft Selection.
  12. Edit the mesh to the shape you want.
  13. In the stack, go back down to the Skin modifier. If 3ds Max displays the topology warning dialog, click Yes.
  14. In the Deformer Parameters rollout, click Add From Stack.

    A new morph target is added at about 90 degrees.

  15. Delete the Edit Mesh modifier from the stack.

    There is a doubling effect of the morph if you don’t delete or deactivate the Edit Mesh modifier.

  16. Scrub the time slider. The mesh morphs as the bone angle changes.