Note: Arms, legs, and breasts can be Smooth Shifted ("created") from this torso ("existing geometry"). One does not have to spline everything.
By itself, a weight map does nothing to your object. It contains information, and it adds this extra information to your object file, but that's it. Unless a bone or deformation tool specifically references a weight map, it cannot affect anything in Modeler or Layout. So, don't worry about creating weight maps before you have anything that can use it!
Note: In Layout, weight maps act like "alpha maps" for bones and other deformation tools, restricting their influence to only those points marked with values lower or greater than 0.0% on the weight map.
STEP 1: Load torso05.lwo into Modeler (if you did not follow the previous sections and just want some weight mapping practice, you may load torso05.lwo off the CD-ROM). Ignore the spline layers. Go to the layer that contains the left half of the torso.
STEP 2: In the Perspective view, left-click on the square "arrow"
button on the toolbar (the one next to the long, rectangular "arrow" button
that contains the word "Perspective") This button takes you to a drop-down
list that lets you change the way the window displays information. Right
now you want to see Weight Map information, so select "Weight Shade" from
the list (Figure 1).
Figure 1 |
Figure 2 |
STEP 3: Let's create a weight map for a future neck bone. Two "rows" of polygons form the neck. Go into Polygon Selection Mode. In the Right View, select the lower row of polygons. (Figure 2)
STEP 4: In the lower-right corner of Modeler, underneath the Right View, notice these four buttons: W, T, M, and "(none)." These buttons stand for Weight Maps, Texture Maps, and Morph Maps, respectively. Right now you want to create a weight map, so W should be highlighted (if it is not highlighted, left-click on it to highlight it).
STEP 5: With the four polygons still selected from Step 3, left-click on the "(none)" button. This will activate a drop-down list (Figure 10-68) that lets you see each of the maps in this object
Note: Ignore the unique map called "SubPatch Weight" for this tutorial. "SubPatch Weight" is a default map that comes with every object - it cannot be deleted or renamed. Modeler uses the weight values in "SubPatch Weight" as a guide for sharpening/flattening the vertexes of a SubPatch surface.
Select "(new)" from this list. A dialog box called "Create Weight Map" will appear. (Figure 3) Type in "Neck" for the name, leave the Initial Value checkbox checked, leave the Initial Value setting at its default of 100.0%, and click on "OK." The points that form the selected polygons will now have values of 100.0% on this weight map. All the other points are still at their default Vertex Map Value of 0.0%.
Notice that the Weight Shade display in the Perspective view describes a weight map with color - a neutral green for values of 0.0%, and a bright orange for values of 100.0%.
Note: A weight map not only shows which points should be affected by deformation; it also shows which points should not be affected. A value of 0.0% has as much impact on a bone's influence as a value of 100.0%. Without a weight map, a bone affects all points. When a map is assigned to a bone, the bone will not touch those points marked as 0.0% on the map. When creating weight maps, the weight value of 0.0% is the key to keeping bones from influencing the wrong points. (All other values just tell the bone how much of its influence will apply to a point).
STEP 6: Deselect everything. In the Back View, select the outer half of the stump of the arm. (Figure 4) Left-click again on the drop-down list button, and select "(new)" to create a new weight map. Type in "Left Arm" for the name, leaving Initial Value checked and at 100.0%. Click on "OK." In the Perspective View, the orange highlights around the neck will seem to disappear and reappear around the stump of the left arm. Don't worry. Your "Neck" map still exists -- but the current weight map has been set to the last one you just created: "Left Arm."
To see what each of the different maps look like in your object, left-click
on the drop-down list next to the W, T, and M buttons. Select the name
of the map you want to see. "(none)" will show you exactly that - nothing.
"Neck" will show you the Neck weight map, and "Left Arm" will show you
the weight map for the left arm. "(new)" lets you quickly create a new
weight map, assigning a flat value to the points of the geometry you have
selected.
Figure 4 |
Figure 5 |
STEP 7: Deselect everything. Select the twelve polygons that form the lower part of the "rib cage" area. Create a weight map called "Torso" for these selected polygons - again with the Initial Value checked and left at 100%. (Figure 5)
STEP 8: Let's edit the Torso map so that it includes the lowest
row of points defining the neck. Because you have just created the Torso
map, it should still be set as the current map in the map drop-down list.
(If not, select "Torso" from the map drop-down list in the lower-right
corner of Modeler now). In Points Selection Mode, select the five points
that form the lowest row of points in the neck. (Figure
6)
Figure 6 |
Figure 7 |
STEP 9: Left-click on the Map tab at the top of Modeler. Then
left-click on the "More" drop-down list underneath "General" on the left
side of Modeler. Select "Set Vertex Map Value..." and the Set Vertex
Map Value dialog box will appear. Leave the Vertex Map setting in the drop-down
list as Torso, but set Value 1 to 100%. (Figure
7) Click on "OK." For this Torso map, you have just assigned
values of 100% to the lowest five points of the neck - and this will be
reflected in the weight-shaded display of the Torso map. Notice that orange
highlights now surround the points in the Perspective window. (Figure
8)
Figure 8 |
Figure 9 |
STEP 10: Deselect everything. In Polygon Selection Mode, select the eight polygons that form the outer part of the "dip" in the upper part of the shoulder. (Figure 9) Create a Weight Map called "Left Clavicle," with values of 100.0% for the points that form these eight polygons.
Notice that the "Left Clavicle" weight map overlaps with the "Left Arm" weight map. This means that the five points of the "overlapped" section will be affected by both the bones assigned the "Left Clavicle" weight map and the bones assigned the "Left Arm" weight map - a "tug-o-war" between the two sets of bones.
"Sharing" points between bones can soften the look of a joint. When one group of bones has just as much "right" to move a set of points as another group of bones, LightWave will do its best to split the difference. To a literal-minded computer, it is only fair.
STEP 11: Let's adjust the Torso map so that it, too, will have
a softness when the left arm bends at the shoulder joint. In the map drop-down
list at the lower right-hand corner of Modeler, make "Torso" the current
map. Go into Points Selection Mode. In the Back View, select the three
lowest points at the center of the arm stump. (Figure
10) These points have already been assigned values of 100.0%
in the Left Arm map - let's mark them with values of 100.0% in the Torso
Map, too.
Figure 10 |
Figure 11 |
STEP 12: Use Map > General > More > Set Vertex Map Value to assign values of 100.0% to these points. The points should now be highlighted orange in the Weight Shade display of the Perspective window.
All the points of the upper torso now belong to one weight map or another. Let's get to the lower half of this torso.
STEP 13: Deselect everything. Select the two rows of polygons that form the waist (as seen in Figure 11). Create a weight map called "Waist," assigning values of 100.0% to the selected geometry.
STEP 14: Deselect everything. Select the entire hip section (everything
below the waist). Create a weight map called "Hips" with values of 100.0%
assigned to the selected geometry. (Figure
12)
Figure 12 |
Figure 13 |
STEP 15: Make sure that Hips is the current weight Map in the Maps drop-down list. Use Map > General > Copy Map to bring up the Copy Vertex Map dialog box. When asking for a name for the new vertex map, Copy Vertex Map will suggest a name similar to that of the current weight map ("Hips 1" instead of the original "Hips"). Replace that name with "Left Leg" instead, and click on "OK." You have just created a new weight map called "Left Leg," with identical values to the "Hips" map. (Figure 13)
STEP 16: Save this model as torso06.lwo.