
This site is hosted with IXWebhosting:
:: Post Date: 2007-03-01 14:18:07 [Post Comment] [Post Articles]
|
Character Rigging In Maya - Part 3By: Steven J. Tubbrit £¨steven_tubbrit@yahoo.co.uk£© Character Rigging In Maya Continued (Part 3) - The Head ControlCreate a Nurbs Circle, and then Scale it to 4.5 in the X, Y and Z channels. Snap it to the Head joint, then rename it to Head_Control, the freeze transformations and delete all history. Change the wireframe colour to Green. We'll only really be using the Rotate X, Y and Z for the Head, so lock the other channels, and then use the Channel Control to hide them. The main reasoning behind using a Head_Control over standard joint rotation animation is this method can be used to eliminate the need to animate the counter movements of the head when moving the body. Thereby making it much faster to animate since it's something we don't need to worry about. We're going to get a little complicated here, so make sure you follow the instructions as carefully as possible, open the Outliner, and find your Head joint, press CTRL + D to duplicate it, rename duplicated version to Head_Joint_Constraint, select the Head_Joint_Constraint and the Head_Joint, and then go to Constrain > Orient, select the Head_Joint_Constraint, and then the Head_Control, then press P to parent it and you can hide it if you wish, but not the Head_Control. Select the Head_Control, then press CTRL + G to group it, press W to make sure your in MOVE mode, and then press the INSERT key to go into PIVOT mode, using Point Snapping, snap to the Head joint, press Insert again to come out of pivot mode, now rename the group to Head_Control_Group. Nearly there, select the Head_Control_Group, and duplicate it, then delete all the contents, so that you are only left with an empty group, rename this to Head_Control_Group_Constraint, now with Head_Control_Group_Constraint still selected, also select Head_Control_Group and then go to Constrain > Point, now parent Head_Control_Group_Constraint to the Neck Joint. Now, select your COG_Control and rotate it around, you'll notice that the Head joint always stays up over when moving left, right, forward and back. And if you select the Head_Control, you'll notice that you also have seperate control of the head movements. Select the Head_Control and add it to the Rig_Controls Layer. ![]() Download the rig with the spine and head setup here : - {Character Rig Skeleton Setup With Spine Done - Maya 4.5 Only - Zip File} Arms And ShouldersWe're now going to move onto the rigging for the character's arms and shoulders. Let's start with the shoulders, but first, download the following Nurbs Control Shapes that we will use : - {Clavicle Nurbs Controllers - Maya 4.5 Only - Zip File} Unpack them, import them into the Maya scene, and even though I have them placed, just to make sure, snap them to your Shoulder joints, and if they're not coloured, colour them accordingly : - ![]() Select them both and add them to your Rig_Controls Layer. Select the L_Clavicle_Control, then lock the channels for everything but Translate Y and Translate Z, and then use the Channel Control to make the locked one's non-keyable. Do the same for the R_Clavicle_Control too. Before we add full control of the shoulders / clavicle to the control objects, we'll set up our arms beforehand, lastly add them to the Rig_Controls Layer. With the arms, I'm going to be using an IK Rig, a lot of people use a rig on the arms that can switch between FK and IK, in this case, I want to keep things fairly simple, so I'm just going to be using the IK setup. Just like the knees we're going to use some elbow constraints, so download these objects first, import them into Maya, colour them as before, left and right colours, and add them to the Rig_Controls Layer, (note I've also colour coded the wireframe for the polygonal constraints too) : - {Elbow Constraint Objects - Maya 4.5 Only - Zip File} ![]() From the menu, select Skeleton > IK Handle Tool, then select the Left_Shoulder joint and then the Left_Wrist joint, do the same on the other side, selecting Right_Shoulder and Right_Wrist joints. Open the Outliner, select the ikHandle1 and rename it ikHandle_LWrist, and do the same for the ikHandle2 naming it ikHandle_RWrist, select them both and add them to the Skeleton_L Layer. Then select the L_Elbow_PV_Constraint and then the ikHandle_LWrist and then go to Constrain > Pole Vector, and then do the same on the other side for R_Elbow_PV_Constraint and ikHandle_RWrist. You'll notice that when you do this, the hands may offset themselves slightly out of sync with where they should be, so using any method you want, either by rotating the hand joint or using nurbs guide curves again, move them or snap them back into where you'd like them. If you need to do this, don't forget to re-orient the joints using the script we used earlier too, I'd recommend starting from the clavicle joints on each side. If your having problems doing this, you can download a scene here with this stage set up for you : - {Fixed Hand Scene - Maya 4.5 Only - Zip File} Select both the ikHandle_LWrist and ikHandle_RWrist, Create a nurbs circle, rotate it 90 on the Z Axis, and Scale it 2 in X, Y and Z, rename it to L_Arm_Control, colour it accordingly for the left side and then snap it to the Left_Wrist joint. Duplicate it, and then do the same for the other side, this time, rename it R_Arm_Control and snap to the Right_Wrist joint, colour accordingly. Freeze Transformations and delete all History, and add them to Rig_Controls Layer. Select the ikHandle_LWrist and then the L_Arm_Control and then P to Parent them, do the same on the right side for ikHandle_RWrist and the R_Arm_Control. Select the L_Arm_Control, and Lock the Scale, Rotate And Visbility Channels, and then make them non-keyable using the Channel Control. Do the same for the R_Arm_Control. Select the L_Arm_Control and create a new Attribute called Elbow_Twist, do the same for the R_Arm_Control, call it Elbow_Twist as well. Now in the connection editor, load L_Arm_Control in the left column, and in the right, load the ikHandle_LWrist, then connect the Elbow_Twist attribute to the Twist of the ikHandle_LWrist, again, do the same for the right side too. ![]() Because we've added an Attribute to control the Twist, we won't be needing the elbow constraints displayed any more, so select them both, and press CTRL + H to Hide them or alternately, it's up to you, lock all channels, and make them non-keyable, which is what I've done. Let's return back to the shoulders, create a Locator, rename it LClavicle_Locator and snap it to the Left_Shoulder joint, add it to the Rig_Controls Layer, select the LClavicle_Locator and then the Left_Shoulder joint and then go to Constrain > Point. Now, parent the locator to the L_Clavicle_Control, create another locator, name it RClavicle_Locator and repeat the same process again. Then parent both L and R Clavicle_Control's to the COG_Control, just so they follow when rotating. The Hands now, create a Nurbs Circle, rotate it 90 on the Z Axis, and Scale it 1.3 in X, Y and Z, rename it to L_Hand_Control, colour it accordingly for the left side and then snap it to the Left_Wrist joint. Duplicate it, rename it R_Hand_Control and snap it to the Right_Wrist joint, colour accordingly, freeze transforms on both, delete all history, add them both to the Rig_Controls Layer. Select the L_Arm_Control and Point Constrain it to the L_Hand_Control, do the same for the R_Arm_Control and the R_Hand_Control. Select the L_Hand_Control and lock the channels for the Translate X, Y, Z Scale X, Y, Z and Visibility and then make them non-keyable, do the same for the R_Hand_Control. Open the Connection Editor, Reload Left for the L_Hand_Control, Reload Right for the Left_Wrist Joint, connect the rotations : - ![]() Do the same for the R_Hand_Control and Right_Wrist joint. Now let's move onto the finger and thumb rigging. We'll start by doing the Left Hand and then move onto the Right Hand. The FingersWe're now going to add some extra attributes to the Left and Right Hand_Control objects that will allow us to animate our fingers and thumb for the character. Select the L_Hand_Control, and add the following new attributes : - Add these attributes first, but with no minimum and maximum values : - ![]() We now need to connect all these attributes via the connection editor, so open the editor up, and then Reload Left for the L_Hand_Control, we now have a number of things to connect up, so here's the list, just remember to reload right for each item : - ![]() Now you're going to need to do the same for the R_Hand_Control, the values will change for the opposite side, so here's a list for the right side : - ![]() and then in the Connection Editor : - ![]() That's it select either your L or R Hand_Control, and check everything is working ok, by selecting what you want to check in the Channel Editor, and middle mouse scrubbing backwards and forwards in the Persp view, or any other view, note you can select more than 1 item to test, for instance, try selecting Inner_Curl_Base, Inner_Curl_Middle and Inner_Curl_Top and then scrubbing you'll see the whole finger correspond hopefully. Well, that was quite an intensive part to the tutorial, but at least we've now finished with the main body rigging, note you can use these same principles applied to a character's toes, toe spread, etc You can download the rig, rigged up to this point here : - {Rigging Scene - With Arms And Hands Completed - Maya 4.5 Only - Zip File} ![]() Before we move onto the actual binding process, and the creation of blendshapes and so on, we need to create the final part of our rig, and that's the rigging for the eyes, which would mean both eyes together, seperately, and for pupil dilation : - Rigging The EyesBefore we continue on the rig the eyes, there's a couple of small things we need to do first. Open the outliner, and expand the Character group, you can make the the Character_L Layer non-templated now too if you wish for better visualisation, now select the Nose and Head objects, then from the menu select Polygons > Combine, you will end up with one object called polySurface1, with polySurface1 still selected, select the Inner_Mouth_Group Group, and then again, go to Polygons > Combine, then go to Edit > Delete By Type > History, to remove all of the empty nodes. Rename polySurface1 to Head, and then add it to the Character group, to do this, within the outliner, middle mouse drag it over the top of the Character group to make it a child of the parent. Now add it back to the Character_L Layer. Now, select both the Eye_Left and Eye_Right groups, and then middle mouse drag them both over the Head object to parent them to it. Finally, with the Head selected, press W to make sure your in Move mode, then press INSERT to go into PIVOT mode, then point snap the pivot of the head to the Head joint, template the Charater_L Layer to make things a bit easier when snapping to the joint. Ok, we're now ready to rig the eyes, download the following file and import it into your scene, then colour it green if it isn't already and add it to the Rig_Controls Layer, it should be named Main_Eye_Controls : - {Eye Control Object - Maya 4.5 Only - Zip File} ![]() If they're not already, you can untemplate the Curve_Guides Layer, as we'll be using the last two nurbs curve guides when we rig the eyes. We don't need our Nurbs_Guide curves anymore, as I've used the guides to create the control object above already, right mouse click over Curve_Guides Layer, and then select Select Objects, the press DELETE, and then right-click over it again and choose delete. Expand the Head_Control_Group with Outliner, and then parent the Main_Eye_Controls to the Head_Control. Let's set up this controller now, so it actually does something when selected, select the Main_Eye_Controls, lock and make non-keyable the Rotate Z, Translate X, Y, Z, the Scale X, Y, Z and the visibility. Select the Main_Eye_Controls again, and then open the Connection Editor, Reload Left, then within the Outliner, find the head object, and expand it, and then select the Eye_Left group, and then Reload Right. Connect the rotation values of both : - ![]() Do the same for the Eye_Right group too, then Close the Window. Select the Main_Eye_Controls, then select Modify > Centre Pivot, just so our pivot point is in the correct location. Let's add an attribute now for the pupil dilation, select the Main_Eye_Controls, and add a new attribute called Pupil_Dilation, min = 0.5 and max = 1.4 : - Open the outliner, expand the Character group, find the Head and then expand that, select both the Eye_Left and Eye_Right group. In the Persp view, press F to Fit them fully into view then select Show > Isolate Select > View Selected so that we only have the eyes viewable, select the corneas on the front of both eyes, go to Modify > Centre Pivot, and move them up out of the way for now, so that we can concentrate on the main parts : - ![]() Select the Left Eye and then press F to Fit it, select the pupil and iris and select Modify > Centre Pivot, then select Display > Nurbs Components > Edit Points, press Insert for both and snap both pivots to the central CV of the Iris : - ![]() Select all of the eye, press 1 for lowest display, then rotate your view so that you are inside the eye looking through it, you can switch off Edit Points now :- ![]() Select the L_Eye_Iris, and then select the following CV's : ![]() With them still selected, right click over the the L_Eye_Pupil, and select the Middle CV, then go to Edit Nurbs > Selection > Grow CV Selection, Press G to repeat it again, and again, and one more time to make sure, this is to make sure we grab all the overlapping CV's where the Pupil and Iris meet, once you've done this, deselect the CV's that are outside of the original selection you made, you should now have something like this : - ![]() Go to Deform > Create Cluster, don't worry about the Cluster not displaying as we're still in Isolate Selected mode, now repeat this process for the other eye. Once you've done the right eye, select both the cornea objets that you originally moved up out of the way and move them back, I moved mine up 1 on the Translate Y, so setting this value back to 0 will put them back into the original position. select Show > Isolate Select > View Selected so that we have all of our objects displaying again, then open the outliner, find the two clusters and rename them as Left_Pupil_Cluster and Right_Pupil_Cluster. You can add them both to the Rig_Controls Layer. Go to the Connection Editor, Reload Left for the Main_Eye_Controls and for Reload Right, load the Left_Pupil_Cluster, and then connect the Pupil_Dilation to the Scale X, Y and Z, then Reload Right for the Left_Pupil_Cluster, and again connect the Scale X, Y and Z to the Pupil_Dilation : - ![]() Select the Left_Pupil_Cluster, and press CTRL + A to bring up it's attributes, within the Cluster attributes section, turn on Relative, do the same for the Right_Pupil_Cluster. Select the Left and Right Pupil_Clusters and press CTRL + H to Hide them. Close the window, that's it, that's the eyes now rigged. The Head isn't quite finished yet, but it is finished in terms of rigging, the extras that we will use for the head will be the actual Blendshapes for facial animation, we'll look at that shortly. ![]() Rigging Scene - With Eyes Done - Maya 4.5 Only - Zip File (348kb) Just about ready to start our actual binding, but we will finish here and next time look at Blendshapes: - Other Parts of This Tutorial:Go to Part1 Go to Part2 |
| Very helpful tutorial.. waiting for the next part. love it. |
| Man U rock, so does this tuto. Thnx nyways. Lookin for some more of ur work. Can u suggest me a link to ur next tuto for blend shapes. |
| Thnks alot dude.. i think dis will help me alot rigging is goin really tough for me.. |
| How do you stop the feet from bending into the floor? when translating the hip ? thanks |
| You seem to have skipped how to rig the Character_WorldShape Object |
| it is very good tutorial. But I need a normal human rigging tutorial in maya . so please help me . thank you |
| NOW THE MIND DOES NOT NEED TO FREAK ANY MORE.ITS REALLY A GREAT STUFF. THANK FOR TUTORIAL |
| nice notes |
| Nice Tutorial. Plz. upload next part. we r waiting. |
| you can find the continuation of this tutorial at: http://www.johnson-mortimer.co.uk/SJT_Full_Tutorial_List/SetupTutorialPages/Steven%20J_%20Tubbrit%20-%20Character%20Rigging%20Page%20005.htm |
| You helped me a lot! There is so many "superadvanced" useless tutorials on animation a got through, but yours is very well done. Very clear and exactly what must be told. Move on! |
| wow i thought it maybe wont be free, because the quality of the material was to good. Thank you for this tutorial, is realy helpfull, and a realy nice one very very thankful to you by kiran cutekiss2kiran@gmail.com |
| you can find the whole tutorial http://toonlets.com/jam/rigTutorial/CharRiggingPage004.htm |
| u r rig is superb. i am interesting ur character rig.Actually i want to learn rigging ,so i search for tuturiols,then i found your tuturiols .thanks alot.these tuturiols are using for me more.thank u again. |
| i want maya 3D |
| m deadly waiting for the next tutorial .... yayyyyy exellent way of teaching ...dammn my teachers couldnt make it possible to make me understand lolzz ..but this tutorial made me understand the basics .. yayyyy |
| Awesome tutorial especially for a begineer.Plz send binding tutorial also. |
| excellent tutorials for beginners Please you give me video of this tutorial i have some problems........... i am waiting for reply |
| i want fourth edition & video tutorial |
| First Thank you very muc because I enjoyed it very much the way you guided is nice Definitely its most helpful for the beginers U DID GREAT JOB |
| plz send the binding of the body |
| plz send the binding of the body as soon as possible its my humble request to you my sweet heart |
| shall we have the forth edition plzzzzzzzzzzzzz |
| Try the new version of Maya 2008. In 2008, you can adjust the rig without breaking the weighting you have done on the rig. This way, you will not have to re-paint all the weighting again. Cheers! |
| Hello, Thanks because I really enjoyed your tutorial. However, I have got a remark : my character has a long face (long chin) and it becomes deformed at the chin if I reproduce your rig (rotate twist the chin). Do you have any advice ? Cheers |
| Ya the tutorial is very nice.. |
| Heres a link to the rest of the tut http://toonlets.com/jam/rigTutorial/CharRiggingPage007.htm |
| very nice tutorial |
| wow, when i jump for the part 2, i thought it maybe wont be free, because the quality of the material was to good. Thank you for this tutorial, is realy helpfull, and a realy nice one. |
| excellent tutorials for beginners, thanks for providing |
| yeah, i cant find part 4 either, any1 know where i can find it? |
| Ah, thanks but I have done part 2. Reaaalllyyyy need part 4 lol |
| I think they are still making it.part 2 is here: http://en.9jcg.com/comm_pages/blog_content-art-15.htm |
| Where is part 4 please!?!?! |
| where are the rest of the tutorials i could only found this one and the part 1 |
| brilliant tutorial... so helpful!!! except now im in desperate need of a binding tutorial!! |