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.
- There can be unexpected results if a skinned mesh has an animated parent. You should avoid this scenario.
- 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.
-
Select the mesh or patch object and apply the Skin modifier.
- On the Parameters rollout, click Add and choose the skeleton objects.
- 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.
- Make sure Parameters rollout > Edit Envelopes is on, then turn on Vertices.
- On the mesh, select vertices to weight manually.
Each selected vertex is surrounded by a small white rectangle.
- In the list of bones on the Parameters rollout, highlight the name of the bone for which you want to change the vertex weights.
- 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:
- Adjust envelopes and vertex weights on one side of the mesh.
- On the Mirror Parameters rollout, click Mirror Mode.
The mirror plane appears at the position and orientation of the mesh's pivot point.
- If the mirror plane is not at the center of the mesh, change the Mirror Offset parameter to move the plane to the center.
- 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.
- 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:
-
Save the scene.
This is a potentially destructive operation, so it's best not to take any chances with your data.
-
Select the object to which the Skin modifier is applied.
- On the Advanced Parameters rollout, turn off Always Deform.
- Apply any necessary transforms to the mesh/patch object or bones objects.
- 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:
- On the
Create panel, with
(Geometry) active, under Standard Primitives, click Cylinder.
- In the middle of the Top viewport, click and drag 20 units to create the base of the cylinder.
- Release the mouse button and drag up 130 units to establish the height of the cylinder.
- On the parameters rollout, set Height Segments to
20.
This provides mesh detail for a smooth surface deformation.
- 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.)
- In the Front viewport, click successively three times: below the cylinder, in the middle of the cylinder, and above the top of the cylinder.
- Right-click to end Bones creation.
Three bones display. Two of them are within the middle of the cylinder.
-
Select the cylinder.
- On the
Modify panel
Modifier List, choose Skin.
- 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.
- 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.
- 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.
![](../images/GUID-0F61C0A9-3587-43D1-A8E4-EC2FEE513F34.png)
The yellow area shows where the vertex weighting is shared between the neighboring bones.
- Rotate the "driver" bone about its longest axis so that the resulting loss of volume is readily apparent. Then undo the rotation.
![](../images/GUID-48A39CFE-37D8-4916-BE54-9C5A450C934B.png)
Mesh constriction caused by rotating the "driver" bone about its long axis
- Select the mesh object, go to the Envelope sub-object level, turn on Vertices, and select the vertices at the joint.
![](../images/GUID-5573D1C5-6480-4B7C-AD48-B1578D68CDA6.png)
Selected vertices within overlapping envelopes volume
- 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.
- In the Weight Properties group, click
(Weight Tool) to open the Weight Tool dialog.
- 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.
- 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.
- Close the Weight Tool dialog, then turn off Blend Weights on the Parameters rollout.
The mesh's appearance returns to normal.
- 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.
- At frame 50, animate bone 2 so that bones 1 and 2 represent a 90-degree angle.
- At frame 0, the bones should be straight at about a 180-degree angle.
- Go to frame 0.
- In the Parameters rollout, turn on Edit Envelopes.
- Select the child bone (bone 2) in the modifier's list of bones.
- In the Select group, turn on Vertices.
This allows you to select vertices.
- In the viewports,
region-select a good portion of the vertices that are controlled by both bones.
- 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.
- Scrub the Time Slider to frame 50.
- Add an Edit Mesh modifier above the Skin modifier on the modifier stack.
- In the Edit Mesh modifier, turn on Vertex and Soft Selection.
- Edit the mesh to the shape you want.
- In the stack, go back down to the Skin modifier. If
3ds Max displays the topology warning dialog, click Yes.
- In the Deformer Parameters rollout, click Add From Stack.
A new morph target is added at about 90 degrees.
- 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.
- Scrub the time slider. The mesh morphs as the bone angle changes.