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

Modeling, Texturing & Rigging a Realistic Shark in 3D Studio Max - Part 3

In the third and final part of the series, you'll learn how to construct a versatile and animation friendly rig for the shark using 3d Studio Max's built in tool-set. You'll learn how to create bone chains, link and parent objects, the importance of the child/parent relationship, how to setup control curves, and finally how to skin the model for proper deformation.



Let’s start 3ds Max and open the Complete Textured Shark.max file, which we saved at the end of the second part of this tutorial.

3dsMax_Shark_PT3_1

Now click on the Manage Layers button on the main toolbar, to open the Layer Manager window.

3dsMax_Shark_PT3_2

Click on the Create New Layer button, to create a new layer inside the Layer Manager window.

3dsMax_Shark_PT3_3

With the new layer selected, Right Click on it and then Rename it Body Mesh.

3dsMax_Shark_PT3_4

Select the shark body in the viewport and then Right Click on the Body Mesh layer, and select the Add Selected Objects command from the fly-out menu. This adds the shark to the Body Mesh layer.

3dsMax_Shark_PT3_5

Again click on the Create New Layer button to make another new layer, and Rename it Bones.

3dsMax_Shark_PT3_6

Just like this, create Four more layers and  Rename them as: Controls, Extra, EyeBalls and Teeth as shown in the image below.

3dsMax_Shark_PT3_7

Now let’s add the relative objects to their corresponding layers. With both eyeballs selected in the viewport, Right Click on the EyeBalls layer and select the Add Selected Objects command from the flyout menu. This add the shark’s eyeballs to the EyeBalls layer.

3dsMax_Shark_PT3_8

With the upper and lower teeth meshes selected, Right Click on the Teeth layer and select Add Selected Objects from the menu.

3dsMax_Shark_PT3_9

Now turn on the Freeze button for the Body Mesh, EyeBalls and Teeth layers.

3dsMax_Shark_PT3_10

Now we'll start creating bones. So first press the F3 key to change to wireframe view, and then go to the Animation menu and click on Bone Tools.

3dsMax_Shark_PT3_11

This opens the Bone Tools window. Now click on the Create Bones button, to start creating  bones.

3dsMax_Shark_PT3_12

Jump into a side view and  create a chain of eight bones in the middle of the shark body, as shown in the image below.

3dsMax_Shark_PT3_13

You can always turn on Bone Edit Mode to edit the size, position and rotation of the bones.

3dsMax_Shark_PT3_14

Again turn on the Create Bones button, and create two bones with the end bone node for the upper  part of the fin.

3dsMax_Shark_PT3_15

Following the same procedure, also create the tail bones.

3dsMax_Shark_PT3_16

Just like this, create the head and jaw bones  as shown in the image below.

3dsMax_Shark_PT3_17

Following the same process, create the bone chain for one of the side fins as well. For this, work in the Top view.

3dsMax_Shark_PT3_18

Now, jump into the Perspective view and see where the bones are actually placed. You will notice the side fin bones are not in the right place, they're actually a bit too high.

3dsMax_Shark_PT3_19

So select the root of the side fin bones, and move it down to the side fin's mesh, as shown below.

3dsMax_Shark_PT3_20

Now after placing the bone inside the fin mesh, select all the fin bones for mirroring and duplicating to the opposite side.

3dsMax_Shark_PT3_21

With the fin bones selected, click on the Mirror button on the main tool bar to open the Mirror settings box. Here select the Y axis as the Mirror Axis, and  change the Offset value to 55.0 (the Mirror Axis and Offset values could be different in your case). Next, turn On the Copy radio button, and then press OK to apply the mirror command. This will create the same bone chain for the opposite side's fin.

3dsMax_Shark_PT3_22

Now we need to rename all the created bones according to their relative body parts. So with the first spine bone selected, rename it Spine01 jnt, under the Name and Color section of the  Modifier panel.

3dsMax_Shark_PT3_23

In the same way, select the second  spine bone and then rename it Spine02 jnt.

3dsMax_Shark_PT3_23a

In this way, rename all the spine bones as Spine01 jnt, Spine02 jnt, Spine03 jnt, Spine04 jnt, Spine05 jnt, Spine06 jnt, Spine07 jnt, Spine08 jnt, and rename the very last end bone node Spine Tip jnt.

3dsMax_Shark_PT3_24

Following the same process, rename all the tail bones as Back bottom fin 01 jnt, Back bottom fin 02 jnt and Back bottom fin Tip jnt.

3dsMax_Shark_PT3_25

Now rename the top tail bones as Back Top Fin 01 jnt, Back Top Fin 02 jnt and Back Top Fin Tip jnt.

3dsMax_Shark_PT3_26
3dsMax_Shark_PT3_26a

Next rename the top fin bones as Top Fin 01 jnt, Top Fin 02 jnt and Top Fin Tip jnt, as shown in the image below.

3dsMax_Shark_PT3_27

So now we have renamed all the bones according to their corresponding body parts.

3dsMax_Shark_PT3_28

If you want to see the names of the bones in a proper list, just click on the Select by Name button on the main toolbar, or press the H key on your keyboard.

3dsMax_Shark_PT3_29

This will  open the Select From Scene window, where you can see all the bones listed.

3dsMax_Shark_PT3_29a

After renaming  the bones, click on the Layer Manager button to open the Layer Manager window once again. In the window, turn on the Hide button for the Body Mesh layer, to hide the layer object. This will hide the shark body mesh in the viewport.

3dsMax_Shark_PT3_30

Now we'll start linking the bones with the relative bones. This is a tricky process and you must be able to understand the Child/Parent relationship. So first click on the Select and Link button on the main toolbar, and then  click to select the Top Fin 01 jnt and then drag and drop onto the Spine02 jnt. Now the Spine02 jnt becomes the parent of the Top Fin 01 jnt. This means wherever the Spine02 jnt moves, the Top Fin 01 jnt will follow.

3dsMax_Shark_PT3_31

Just like this, with the  Select and Link tool selected, first click on and select the Back Top Fin 01 jnt and the Back bottom fin 01 jnt together, and then drag and drop onto the Spine Tip jnt.

3dsMax_Shark_PT3_32

Now with the Select and Link tool selected again. First click on and select the Jaw jnt and then drag and drop onto the Head jnt, as shown in the image below.

3dsMax_Shark_PT3_33

After parenting the bones, it’s time to link some more objects like the teeth and eyeballs meshes. So in the Layer Manager window, turn off the Freeze option for the Teeth and Eyeballs layers.

3dsMax_Shark_PT3_34

After unfreezing the teeth and eyeballs meshes, use the Select and Link tool again. First click on and select  both eyeballs, and then drag and drop on the Head jnt.

3dsMax_Shark_PT3_35

Following the same process, select all the upper teeth meshes and  link them with the Head jnt.

3dsMax_Shark_PT3_36

Now select all the lower teeth meshes and  link them with the Jaw jnt, to make it  the parent of the lower teeth.

3dsMax_Shark_PT3_37

Next we have to create the point helpers for linking the fins bones. So in the Create panel, click on the Helpers button and then select Point helper. Also turn on the Box checkbox,  and keep the Size value as 2.0.

3dsMax_Shark_PT3_38

Now drag and draw out Two point helpers anywhere in the viewport, as shown in the image.

3dsMax_Shark_PT3_39

Now it’s time to align the  helpers. So first select a helper in the viewport, and then turn on the Align button on the main toolbar (or you can press Alt-A alternatively.) Then click on the Left Front Fin 01 jnt as shown in the image.

3dsMax_Shark_PT3_40

After clicking on the Left Front Fin 01 jnt, the Align Selection window opens. Here check on all X, Y and Z positions and also turn on all Align Orientation axes. Finally click on the OK button, to apply the align command.

3dsMax_Shark_PT3_41

Following the same process, select the other point helper and press Alt-A (or the Align  button), and then click on the Right Front 01 jnt, finally hit the OK button.

3dsMax_Shark_PT3_42

Following the same process, I created one more point helper and kept the size larger than before. I have also aligned it with Spine01 jnt and then renamed all the point helpers as Left Fin Helper , Right Fin Helper and Root point helper as shown in the image below.

3dsMax_Shark_PT3_43

With the Select and Link tool selected once again, link Left Front Fin 01 jnt to Left Fin Helper, Right Front 01 jnt to Right Fin Helper and Spine01 jnt to Root point helper, as shown in the following image.

3dsMax_Shark_PT3_44

Now select both the Left Fin Helper and Right Fin Helper and then link them with the Root point helper.

3dsMax_Shark_PT3_45

Finally, select the Spine01 jnt and Head jnt and then link them with the Root point helper.

3dsMax_Shark_PT3_46

So now the Root point helper becomes the root parent of all the bones and helpers. You can check it by moving and rotating it.

3dsMax_Shark_PT3_47

Now we will create the control curves. So unhide the shark Body Mesh in the Layer Manager window.

3dsMax_Shark_PT3_48

Go to the Create panel and select Circle from inside the Shapes tab, and then draw a circle onto the grid as shown.

3dsMax_Shark_PT3_49

With the Circle shape selected, Right Click and select the Convert To: > Convert to Editable Spline option.

3dsMax_Shark_PT3_50

With the Circle spline still selected, press the E key to select the Rotate tool and then Right Click on the Angle Snap Toggle button. This opens the Grid and Snap Settings window. Here keep the Angle value at 90.

3dsMax_Shark_PT3_51

Turn on the Angle Snap Toggle button. Now with the Circle spline selected, go to the Modify panel and choose the Spline selection mode. Then while holding down the Shift key, Rotate the curve on the X axis to make a duplicate copy of the selected spline. You will notice that the duplicated spline snaps to 90 degrees, as shown in the image below.

3dsMax_Shark_PT3_52

Following the same process, I duplicated the Circle once more on the Z axis and placed it as shown. I also turned on the Enable In Viewport option to see the curves with a solid thickness in the viewport. Keep the Thickness value at 0.4 or as you wish.

3dsMax_Shark_PT3_53

Now duplicate the entire curve entity, and place each one at the top and bottom of the tail respectively.

3dsMax_Shark_PT3_54

With any of the curve controls selected, make eight more copies of it. Place these controls beneath the spine bone chain according to each spine bone, as shown in the following image.

3dsMax_Shark_PT3_55

Make two more copies of the curve entity and place them at the jaw and the mouth bones. Then create four new Circle splines and place two of them over each side fin, as shown.

3dsMax_Shark_PT3_56

Once again open the Layer Manager window, and turn on the Hide button to hide the shark mesh.

3dsMax_Shark_PT3_57

Now select all the control curves, do a Right Click, go to Convert To: and select the Convert to Editable Spline command from the fly out menu.

3dsMax_Shark_PT3_58

Now with the top tail control curve selected, open the Hierarchy panel and turn on the Affect Pivot Only button. You will notice that the transform gizmo of the control curve is quite different and not following the alignment of the tail bone.

3dsMax_Shark_PT3_59

So with the control curve selected and the Affect Pivot Only button enabled, click on the Align tool button on the main toolbar and then click on the Back Top Fin 01 jnt to open the Align Selection box. In the settings box, check on all the Align Position axes for X, Y, and Z. Also check on all the Align Orientation axes for X, Y, and Z, then click on the OK button.

3dsMax_Shark_PT3_60

Following the same procedure, I have also aligned the other bottom tail control curve with the Back bottom fin 01 jnt. As we did previously, once we have aligned all the control's pivot points, we turn off the Affect Pivot Only button.

3dsMax_Shark_PT3_61

Now select all the control curves  and then while holding down the Alt key, do a Right Click and select the Freeze Transform command from the fly out menu.

3dsMax_Shark_PT3_62

Whenever the Freeze Transform command is selected, a message box appears.  Simply click on the Yes button to apply the Freeze Transform command.

3dsMax_Shark_PT3_63

Now let’s rename all the control curves one by one. First rename all of the spine controls as follows: Ctrl_Spn0, Ctrl_Spn01, Ctrl_Spn02, Ctrl_Spn03, Ctrl_Spn04, Ctrl_Spn05, Ctrl_Spn06, Ctrl_Spn07, Ctrl_Spn08. Rename all of the tail controls as Ctrl_tail Top01 and Ctrl_tail btm01 and the fin controls as Ctrl_Left Front Fin 01, Ctrl_Left Front Fin 02, Ctrl_Right Front Fin 01, and Ctrl_Right Front Fin 02. Finally rename the head and jaw controls as Ctrl_Head and Ctrl_Jaw respectively.

3dsMax_Shark_PT3_63a

Now with all the control curves selected, open the Layer Manager. Select and Right Click on the Controls layer, and choose the Add Selected Objects option to add all the selected curves to this layer.

3dsMax_Shark_PT3_64

Now we will apply particular constraints according to each control. So with the Back Top Fin 01 jnt selected, go to the Animation menu and select Orientation Constraint from inside the Constraints submenu.

3dsMax_Shark_PT3_65

With the Orientation Constraint selected, click on Ctrl_tail Top01 to apply it.

3dsMax_Shark_PT3_66

Now also apply the Orientation Constraint to the bottom tail control. So with the Back Bottom Fin 01 jnt selected, go to the Animation menu and select Orientation Constraint from inside the Constraints submenu, and then click on Ctrl_tail btm01 to apply the Orientation Constraint command to it.

3dsMax_Shark_PT3_67

Following the same procedure, I have applied the Orientation Constraint to all the spine bones’ controls (From Ctrl_Spn01 to Ctrl_Spn08.)

3dsMax_Shark_PT3_68

Just like this, apply an Orientation Constraint from the Left Front Fin 01 jnt to Ctrl_Left Front Fin 01, the Left Front Fin 02 jnt to Ctrl_Left Front Fin 02, the Right Front 01 jnt to Ctrl_Right Front Fin 01, and from the Right Front 02 jnt to Ctrl_Right Front Fin 02.

3dsMax_Shark_PT3_69

Also apply an Orientation Constraint from the Head jnt to Ctrl_Head, and the Jaw jnt to Ctrl_Jaw.

3dsMax_Shark_PT3_70

Now we will link the controllers to each other. So with the Select and Link tool selected, link Ctrl_tail Top01 and Ctrl_tail btm01 to Ctrl_Spn08, Ctrl_Spn08 to Ctrl_Spn07, Ctrl_Spn07 to Ctrl_Spn06, Ctrl_Spn06 to Ctrl_Spn05, Ctrl_Spn05 to Ctrl_Spn04, Ctrl_Spn04 to Ctrl_Spn03, Ctrl_Spn03 to Ctrl_Spn02, and Ctrl_Spn02 to Ctrl_Spn01.

3dsMax_Shark_PT3_71

Just like this, link Ctrl_Left Front Fin 01 to Ctrl_Left Front Fin 02, and Ctrl_Right Front Fin 01 to Ctrl_Right Front Fin 02.

3dsMax_Shark_PT3_72

Finally, I created one big Rectangle spline around the shark's body, and aligned its gizmo to the  Spine01 jnt by turning on Affect Pivot Only in the Hierarchy panel as we did in previous steps. In the Align Selection box, only turn on Align Position for all axes and then click on the OK button. Then rename it to Ctrl_global.

3dsMax_Shark_PT3_73

Now we have to link all the root controls and the Root helper with Ctrl_global. So select all the root controls Ctrl_Spn01, Ctrl_Left Front Fin 01, Ctrl_Right Front Fin 01, Ctrl_Head, and Root point helper then turn on the Select and Link  button and drag and drop on Ctrl_global.

3dsMax_Shark_PT3_74

In this way we have now completed the rigging process.

3dsMax_Shark_PT3_75

Now it’s time to apply skinning to the shark mesh. So I have unhidden the shark mesh to skin the bones.

3dsMax_Shark_PT3_76

With the shark body mesh selected, go to the Modify panel and select the Unwrap UVW modifier in the stack.

3dsMax_Shark_PT3_77

With the Unwrap UVW modifier selected, open the Modifier List and select the Skin modifier to apply it to the shark body mesh.

3dsMax_Shark_PT3_78

After applying the Skin modifier, click on the Add button in the skin modifier Parameters group.

3dsMax_Shark_PT3_79

This  opens the Select Bones window. Here choose Spine01 jnt, Spine02 jnt, Spine03 jnt, Spine04 jnt, Spine05 jnt, Spine06 jnt, Spine07 jnt, Spine08 jnt, Back Top Fin 01 jnt, Back Top Fin 02 jnt, Back bottom fin 01 jnt, Back bottom fin 02 jnt, Top Fin 01 jnt, Top Fin 02 jnt, Left Front Fin 01 jnt, Left Front Fin 02 jnt, Right Front 01 jnt, Right Front 02 jnt, Head jnt and Jaw jnt. Don’t select any ‘Tip’ bones in the list and then click on the Select button.

3dsMax_Shark_PT3_79a

After applying the skin modifier and adding the bones, let’s check for  proper deformation of the shark body.

3dsMax_Shark_PT3_80

If you rotate the head controller, you will notice some problems with the deformation.

3dsMax_Shark_PT3_80a

Lets fix this problem. Select the Envelope inside the skin modifier, in the modifier list panel. Then first select the Head jnt and  turn on the Edit Envelope button. You can see there isn`t a proper weight influence according to the selected head bone.

3dsMax_Shark_PT3_81

To fix the problem, turn on the Vertices option.

3dsMax_Shark_PT3_82

Now with the upper lip vertices selected, increase the Abs Effect value to 1.0. You'll see the selected vertices are now shifted back to their original position properly.

3dsMax_Shark_PT3_82a

Just like this, keep adjusting the Absolute Influence values to get  proper deformation of the various parts of the shark mesh.

3dsMax_Shark_PT3_83

We have now completed all the skin weights as  required. You can check the deformation by moving and rotating various controls.  Also apply a Mesh Smooth modifier to the shark body mesh to make it look smoother.

3dsMax_Shark_PT3_84


Finally open the Layer Manager window, and Hide the Bones layer.

3dsMax_Shark_PT3_85

Now we have a fully rigged and animation ready shark character.

3dsMax_Shark_PT3_85a

Here I have composited a rendered image of the shark in Photoshop. I hope you have enjoyed this series.

3dsMax_Shark_PT3_85b


From: http://cgi.tutsplus.com/tutorials/modeling-texturing-rigging-a-realistic-shark-in-3d-studio-max-part-3--cg-28410



...

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

3370 views    2 comments

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

inforly

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2014-07-30
>>Back to 3DMax group


Latest Posts


Sponsor


They are waiting for your help



Share

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