Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

EffectHub.com: Your Best Source for Gaming
Login    or

Complete Human Character Rig In 3D Studio Max, Part 2

In part two of the Human Rigging series, you’ll pick up from where you left off and begin creating Ik’s and custom controls for the character’s rig. This will include setting up and working with wire parameters and custom attributes.

Throughout this series author Soni Kumari will walk you through the entire process of constructing a fully realized character rig from scratch using Max's proprietary toolset. Over the course of the project Soni will  give you a series of in-depth lessons, working towards building a intuitive, animation friendly character rig from the ground up. If you've always wanted to learn how rig but didn't know where to start, this series is for you.


In the second part of the tutorial, we will learn how to create IKs and links for the character controls. Let’s start the 3ds Max software and open the Character Bones.max file, which was saved in the first part of the tutorial.





Before getting started, we need to hide the character mesh for some time. It will be convenient during selection and justifying the objects or elements in the viewport. So first open the Layer Manager. In the Layer Manager settings box, click on the ‘Hide-Unhide’ tab button to hide the character mesh. A bulb icon appears which means the particular layer is OFF. Then close the Layer Manager settings box.





Now, we first have to link both thighs - Bn_L_thigh 01 and Bn_R_thigh 01 to Bn_Hip01 to the Hip bone. So select Bn_L_thigh 01 and Bn_R_thigh 01, then enable the Select and Link button on the main tool bar and then drag using the left mouse button onto Bn_Hip01.





Now, we’ll apply IK for the left side leg bone. So select the Bn_L_thigh 01 bone, and click on Animation > IK Solvers > HI Solver.





Now, with the HI Solver Tool selected, click on the Bn_L_Ankle 01 bone. You will notice a white cross wire here with the transform gizmo, which is called the IK handle.





Again follow the same process for the right leg IK setup, and then you’ll see both leg's IKs like in the image below.





Now, select Bn_L_Clavicle01 and Bn_R_Clavicle01 and enable the Select and Link button on the main tool bar, and then drag using the left mouse button onto Bn_chest01.





Now, we’ll apply IK for the left side hand bone. So select the Bn_L_Arm01 bone then click on Animation > IK Solvers > HI Solver.





Now, with the HI Solver Tool selected, click on the Bn_L_Hand01 bone. You will notice a white cross wire here which is the IK handle.





Again follow the same process for the right hand IK setup, and then you will see both hand IKs and both leg IKs just like the image shown below. Now, let’s check all the links and IKs to see how they work.





So first select BRoot_Spine01 and move it down a bit. You’ll notice a kind of pose in the character`s bones, so it is fine. Don’t forget to undo the action to restore the initial pose for the character's bones.





Now, we are going to start making the foot controls. So in the Create Panel, go to the Helpers tab and then select Point. Before creating the Point Helper, turn On the Box option and keep the Size value at 2.0 under the Parameters group, and then create a point helper.





Now with the point helper selected, hold down the Shift key and move it a bit away in the viewport. This opens the Clone Options window. In the Clone Options window, enable the Copy radio button and enter a value of 3 in the Number of Copies spinner box. Finally click on OK.





After duplicating the point helpers, we will now snap them to specific bones.





First select any one of the point helpers and then while holding down the Alt + A keys, click on the Ik chain of the left leg. This opens the Align Selection window. In the Align Selection settings box, turn Off Z Position and then click on the OK button.





Again select another point helper, then hold down the Alt + A keys and click on Bn_L_Ankle 01. Once again the Align Selection box appears. This time in the Align Orientation Local group, turn On the X, Y and Z Axes, and turn off the X, Y and Z positions in the Align Position group and press the OK button. You will notice the selected point helper changes rotation according to the Bn_L_Ankle 01 orientation direction.





Now, to do a Quick Align, select the point helper then press the Shift +A keys and click on Bn_L_Toe 01.





This time the point helper is snapped according to the Bn_L_Ankle 01 orientation.





Again select another point helper, then hold down the Alt + A keys and click on Bn_L_Toe 01. The Align Selection box appears. This time in the Align Orientation Local group turn on all X, Y and Z Axes, and turn off the X, Y and Z Positions in the Align Position group and press the OK button. You will notice the selected point helper changes rotation according to the orientation direction of Bn_L_Toe 01.





Just as stated in previous steps, with the Point Helper selected, we do a Quick Align while pressing Shift +A and clicking on Be_L_ToeTip 01.





Now select the last point helper and then do a Quick Align while pressing Shift +A key and clicking on Bn_L_Ankle 01.





Now we need to rename all these aligned point helpers as PointH_L_Heel01, PointH_L_Toe01, PointH_L_Toetip01 and PointH_L_Ankle01.





Now we have to link the helpers with each other and in a proper manner. So with the Select and Link tool enabled, first select PointH_L_Heel01 and drag the mouse onto PointH_L_Toe01. Then first select PointH_L_Toe01 and drag onto PointH_L_Toetip01. Finally select PointH_L_Toetip01 and drag onto PointH_L_Heel01.





Now, select all the Point Helpers and click on the Mirror tab button. It opens the Mirror settings box. In the Mirror settings box, click on the Copy radio button and in the offset spinner box put a value of approximately -13.216 and then click on the OK button to apply the Mirror command. The offset value may vary in your case. This mirrors all the left side point helpers to the right side too.





Rename all the mirrored Point Helpers as PointH_R_Heel01, PointH_R_Toe01, PointH_R_Toetip01 and PointH_R_Ankle01.





Now we’ll freeze the transformation on all these point helpers. So select all the Point Helpers on both sides one by one.





With all the Point Helpers selected, hold down the Alt key and right click on any of the selected helpers. A Popup menu appears, and then choose Freeze Transform.





As soon as the Freeze Transform command is applied, a dialogue box appears, simply click on the Yes Button.





Now, we have to apply Constraints to the point helper and bones as per requirement. So first select the left Ankle IK and go to Animation > Constraints > Position Constraint.





With the Position Constraint selected, click on PointH_L_Ankle01 to apply the position constraint to the Ankle IK. For checking purposes, drag PointH_L_Ankle01 a bit, you will notice that the Ankle IK also moves with the helper.





Next, with the Bn_L_Ankle 01 bone selected, click on Animation > Constraints and then select Orientation Constraint.





Now click on PointH_L_Toe01 to apply the Orientation Constraint onto Bn_L_Ankle 01.





Just like this, with the Bn_L_Toe 01 selected, click on Animation > Constraints and then select Orientation Constraint.





Then click on PointH_L_Toetip01.





Now, follow the same steps for the right side Point Helpers to apply the Orientation Constraints.





After doing this, we’ll be creating the main Curve Controls. So jump into the Top view, take the  Line tool, right click on the Snap Toggle button and turn on the Grid Points option.





Draw a rectangle shape in the viewport. After that turn off the Snap Toggle button.





Again jump into the Perspective view, and put the rectangle shape beneath the left foot. Click on the Modify panel, and select Vertex mode.





Select vertices and reshape the curve as shown in the image below. The Curve shape should look like a basic character’s foot.





Now with the Curve shape selected, click on the Rendering tab, expand it, and turn on the Enable In Viewport option. Enter a value of 0.3 in Thickness spinner box.





Again with the curve shape selected, click on the Hierarchy panel and select the Affect Pivot Only button.





Now, press Shift+A  and click on the left Ankle IK to snap the pivot point. Then again turn Off the Affect Pivot Only button.





Now Rename the curve shape as CtrlC_L_Leg 01, and with the CtrlC_L_Leg 01 selected, click on the Mirror  button.





It opens the Mirror options box. Turn on the Copy radio button, then set the Offset values according to your preference. And click on the OK button.





Now, with the mirrored control selected for the right side foot, press Shift+A and click on the right Ankle IK for quick snap.





Rename the new curve as CtrlC_R_Leg 01. Now we’ll link the foot controls with the Heel point helpers. But before linking them, let’s do a Freeze transform for the control curves.





Select PointH_L_Heel01, click on the Link Select button and drag it onto the CtrlC_L_Leg 01. Do same for the right leg.





Now, we'll add custom parameters for the foot controls. So with the CtrlC_L_Leg 01 selected, go to the Modify panel, and click on the modifier dropdown arrow.  And choose the Attribute Holder command from list.





With the CtrlC_L_Leg 01 selected, click on the Animation menu and choose the Parameter Editor.





It opens the Parameter Editor window. It looks like a complicate panel, but don’t worry, I’ll simplify each step for a better understanding.





So, first click on the Parameter Type drop down arrow and select String.





Now, rename the selected control as "Heel Control" in the Name box. And in the Default Text box, enter XYZ and then click on the Add button to add the Heel control attribute group in the modifier.





You'll notice that the Heel control attribute is added in the Custom Attribute palette. Again click on the Parameter Type browser arrow, and this time select Float.





After choosing the Float Parameter Type, rename it Heel X in the Name box, and enter a value of 100 in the Size box and in the Range spinner box. Set the From field to -360, and the To field to 360. Finally click on the Add button to add the Heel X Attribute.





Add another Attribute once again, this time rename it Heel Y only and leave the Range and Size parameters untouched. And then click on the Add button to add the Attribute.





Once again, add another Attribute, this time rename it Heel Z only and leave the Range and Size parameters untouched. Then click on the Add button to add the Attribute.





Now, you’ll see three attributes for the Foot Auxiliary controls in the Custom Attribute panel.





In the same way we'll create more Attributes for the foot control. So first select String in Parameter Type, then type "Toe Controls" in the Name box and "XYZ Rotation" in the Default Text box, finally press the Add button.





Now, you'll notice in the Custom Attributes, that one more Toe Controls category has been added.





Again change the Parameter Type to Float, and rename it as "Toe X" in Name box. Change the value for Width to 100 (under the Size group,) and keep the values for Range set as:  From -360 and To 360, then click on the Add button.





Now create two more, Toe Y and Toe Z control spinners using the same process as we did in the previous steps.





Now, just like this we'll create one more Attribute for the foot control to make the other categories for the Auxiliary controls. So first select String in the Parameter Type, then type "Ball Controls" in the Name box, and "XYZ Rotation" in the Default Text box. Finally press the Add button.





Now, you will notice in the Custom Attribute, that one more Ball Controls category is added.





Again change the Parameter Type to Float, Rename it as "Ball X" in Name box and change the value for Width to 100 (under the Size group.) Keep the values for Range set to: From -360 and To 360, and then click on the Add button.





Create two more, Ball Y and Ball Z control spinners using the same process as we did in the previous steps.





I found that I made one mistake during renaming the controls properly. So select and Rename the Heel Control "XYZ Rotation". Always be careful in nomenclature.





Now for the right side Custom Attribute creation, we have to follow the same process as we did for left side.





Now, we are going to connect the Custom Attribute with wire parameters for proper controls. So first select CtrlC_L_Leg 01, Right-click and then select Wire Parameters.





Now follow the link as shown in the image below. Start from Modifier Object > Attribute Holder > Custom Attributes and then select Heel X.





With the Heel X selected, click on PointH_L_Heel01 and again you have to follow the link direction as depicted in the image. I.e. start from Transform > Rotation > Zero Euler XYZ and then select X Rotation.





It opens the Parameter Wiring options window. First click on the Control direction arrow and then type DegToRad(Heel_X) in the expression text box, and finally click on the Update button.





Now for the other direction wiring, select right side Heel Y, then select Y Rotation: Bezier Float. Then click on control direction and type the expression text as DegToRad(Heel_Y), and finally click on the Connect button.





Again do same for Heel Z while following the previous steps.





Now this time we’ll connect the Wire Parameter for the Toe Control. So with the CtrlC_L_Leg 01 selected, Right-click and choose Wire Parameters.





Now follow the link as shown in the image below. Start from Modifier Object > Attribute Holder > Custom Attributes and then select Toe X.





With the Toe X selected, click on PointH_L_Toe01 and again you have to follow the link direction as depicted in the image. I.e. start from Transform > Rotation > Zero Euler XYZ and then select X Rotation.





It opens the Parameter Wiring option window. First click on the Control direction arrow and then type DegToRad(Toe_X) in the expression text box, and finally click on the Update button.





Now for the other direction wiring, select right side Toe Y, then select Y Rotation: Bezier Float. Then click on control direction and type the expression text as DegToRad(Toe_Y), and finally click on the Connect button.





Now select right side Toe Z, then select Z Rotation: Bezier Float. Then click on control direction and type the expression text as DegToRad(Toe_Z), and finally click on the Connect button.





Again with the CtrlC_L_Leg 01 selected, Right-click and choose Wire Parameters and follow the link as shown in the image below. Start from Modifier Object > Attribute Holder > Custom Attributes and then select Ball X.





With the Ball X selected, click on PointH_L_Toetip01 and again you have to follow the link direction as depicted in the image. I.e. start from Transform > Rotation > Zero Euler XYZ and then select X Rotation.






And then follow the same process as we have done in steps 77, 78 and 79.





And finally follow the same process for the right side foot control also as we did for the left foot. In the next part of the tutorial we'll see a more advanced setup for the legs and then we’ll move ahead towards the Spine and Hands IK setup.





In the next part of the tutorial we'll see a more advanced setup for the legs and then we’ll move ahead towards the Spine and Hands IK setup.


From: http://cgi.tutsplus.com/tutorials/complete-human-character-rig-in-3d-studio-max-part-2--cg-17521


...

You must Sign up as a member of Effecthub to view the content.

4356 views    3 comments

You must Sign up as a member of Effecthub to join the conversation.

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: views/footer.php

Line Number: 6

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/topic.php

Line Number: 21

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/topic.php

Line Number: 85