Advanced Character Rigging - Part Two: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 11: Line 11:




All of the meshes need to be:  
All of the meshes need to:  


*triangulated (F3 (Modeling mode), Maya menu - '''Polygons > Triangulate''')
*be triangulated (F3 (Modeling mode), Maya menu - '''Polygons > Triangulate''')
*have their histories deleted (Maya menu - '''Edit > Delete by Type > History''')
*have their histories deleted (Maya menu - '''Edit > Delete by Type > History''')
*have their transformations frozen (Maya menu - '''Modify > Freeze Transformations''')
*have their transformations frozen (Maya menu - '''Modify > Freeze Transformations''')
*face the X-Axis (Z-Axis when adding full body ik for animation)
http://img59.imageshack.us/img59/7919/xaxisorientationmz3.jpg




Line 46: Line 49:




Now bring up the Paint Skin Weights tool (Maya menu - '''Skin > Edit Smooth Skin > Paint Skin Weights Tool [ ]''' & click the square to the right. The Paint Skin Weights Tool will replace the Attribute Editor & the mesh will become black (black has no weights associated with the selected joint in the Paint Skin Weights Tool, white is fully weighted):
Now bring up the Paint Skin Weights tool (Maya menu - '''Skin > Edit Smooth Skin > Paint Skin Weights Tool [ ]''' & click the square to the right. The Paint Skin Weights Tool will replace the Attribute Editor & the mesh will become black (black has no weights associated with the selected joint in the Paint Skin Weights Tool, white is fully weighted) :


http://img354.imageshack.us/img354/3449/legsselecteo2.jpg
http://img354.imageshack.us/img354/3449/legsselecteo2.jpg
Line 55: Line 58:
http://img256.imageshack.us/img256/6714/hipsfloodub4.jpg
http://img256.imageshack.us/img256/6714/hipsfloodub4.jpg


Which will make the legs white:
Which will make the legs white:  
 
''(they are now all connected to the Hip joint--Springheel)''


http://img249.imageshack.us/img249/2235/legsweightedht9.jpg
http://img249.imageshack.us/img249/2235/legsweightedht9.jpg




Now select an upper leg joint in the weight painter, in this case it's "LeftUpLeg",leave the weight value as one, select a brush at the top of the weight painter, & paint on the mesh where the upper left leg should be (notice that the rest of the leg turned black after choosing another joint in the paint weighter, that's a black canvas for the joint you selected):
Now select an upper leg joint in the weight painter (the middle window on the Paint Skin Tool window), in this case it's "LeftUpLeg",leave the weight value as one, select a brush at the top of the weight painter, & paint on the mesh where the upper left leg should be (notice that the rest of the leg turned black after choosing another joint in the weight painter, that's a blank canvas for the joint you selected):
 
''When you paint, remember that you're painting the vertices.  Each vert that you paint will be moved when that joint is moved.  The more white a vert is, the more it will move when that joint is moved--Springheel''. 


http://img155.imageshack.us/img155/1646/legpaintft5.jpg
http://img155.imageshack.us/img155/1646/legpaintft5.jpg
Line 68: Line 75:


[[Advanced Character Rigging - Part Three]]
[[Advanced Character Rigging - Part Three]]
[[Category:Models]]
[[Category:Animation]]

Latest revision as of 18:22, 4 February 2008

Advanced Character Rigging with Maya 7.0

Part Two

Back to Advanced character rigging Introduction

Skip to Advanced Character Rigging - Part Three


Now it's time to "skin" the bones.


All of the meshes need to:

  • be triangulated (F3 (Modeling mode), Maya menu - Polygons > Triangulate)
  • have their histories deleted (Maya menu - Edit > Delete by Type > History)
  • have their transformations frozen (Maya menu - Modify > Freeze Transformations)
  • face the X-Axis (Z-Axis when adding full body ik for animation)

xaxisorientationmz3.jpg


Next we'll need to attach those meshes to the skeleton rig. In the outliner window (Maya menu - Window > Outliner . . ., select all the meshes & the skeleton (hold Ctrl while clicking the meshes & the skeleton):

mayaoutlinerselectionszo2.jpg


Then Edit > Select Hierarchy:

selecthierarchyor4.jpg

This is necessary to include all of the joints in the skeleton. The origin joint would be the only joint we rig & that wouldn't be too much fun, now would it?


And now hit F2 for Animation Mode. Go to the menu Skin > Bind Skin > Smooth Bind [ ] & click the square to the right of the menu item:

bindskinmenusl1.jpg

which will bring up the bind skin options:

bindskinoptionszx3.jpg

& use those values.


Now select a mesh, in this case we'll select the legs since the upper legs & the lower legs are tricky to weight. When the lower leg rotates back, you want it to look natural. Not to have it look like this:

rigging12.jpg


Now bring up the Paint Skin Weights tool (Maya menu - Skin > Edit Smooth Skin > Paint Skin Weights Tool [ ] & click the square to the right. The Paint Skin Weights Tool will replace the Attribute Editor & the mesh will become black (black has no weights associated with the selected joint in the Paint Skin Weights Tool, white is fully weighted) :

legsselecteo2.jpg


I hate having stray joints rigged especially when the joint isn't all that important. So the Flood function is very handy to get rid of those stray weights. Select the Hip joint in the weight painter, select the Replace function, turn up the weight value to one, & click "Flood" like so:

hipsfloodub4.jpg

Which will make the legs white:

(they are now all connected to the Hip joint--Springheel)

legsweightedht9.jpg


Now select an upper leg joint in the weight painter (the middle window on the Paint Skin Tool window), in this case it's "LeftUpLeg",leave the weight value as one, select a brush at the top of the weight painter, & paint on the mesh where the upper left leg should be (notice that the rest of the leg turned black after choosing another joint in the weight painter, that's a blank canvas for the joint you selected):

When you paint, remember that you're painting the vertices. Each vert that you paint will be moved when that joint is moved. The more white a vert is, the more it will move when that joint is moved--Springheel.

legpaintft5.jpg


Keep painting weights wherever they should go & we'll troubleshoot & refine the weighting in part three which is way over here:

Advanced Character Rigging - Part Three