MAYA full body IK (FBIK) By:- Ajit Singh Yadav What is full body IK (FBIK) ?Now quickly and easily create natural looking poses and animation for your biped and quadruped characters with the new full body IK (FBIK) in Maya. Maya's full body IK is based on the Alias® HumanIK® solver used in Alias® MotionBuilder. It Makes Maya rigging and Posing Characters Faster, easier and more accurate. The FBX plug-in and file interchange format now allows you to transfer rigged characters animated with FBIK between Maya and MotionBuilder without requiring the animation to be baked. Setting up a character's skeleton works best by using a standard naming convention for joints - these map automatically to the solver. You can then animate the character to move very naturally with a minimum of effort. For example, by Pulling a finger and the arm will move, but only as far as the nearest shoulder joint. Or pull character hand and you can animate a character reaching up as if grabbing something from a top shelf, and the hips, shoulders, and back will all rotate and bend appropriately. With Maya's other solvers, you would have to keyframe separately the motion of the hips, shoulders, arms and neck to avoid the character getting bent into strange, stiff looking poses. Preparing your character for full body IK (FBIK)Make sure that your character model is in a pose as explained:- For a biped (Human), your character should be in a "T" pose and should be facing down the axis. Also, your character's feet should be straight, its hands should be flat with palms facing downward, and its thumbs should be pointing down the axis For a quadruped (Animals), your character should be facing down the axis and its paws/hooves should not be flat on the ground but should be pointing downwards with all their toes fully-extended towards the floor. Also, if your character has a longer neck its neck needs to be extended and pointing down the axis. We'll create a separate skeleton structure for Leg, Arm, Hand and Spine. Once the joints are created we'll edit and fine-tune their placements to match the features in the geometry then parent these separate skeletons together to create a single skeleton. The leg and spine skeletons will be drawn in the side view window. While the arm and hand will be drawn in the top view so that later it is easier to fix. Also arm, wrist, spine & legs will not be creating completely straight. That is, they will have at least some small degree of a bend. Now we have an idea how we proceed, let build a skeleton for our character. Creating a Skeleton So how Skeleton (bones) are Created in Maya? Skeleton are created using the joint tool In Maya a skeleton is a hierarchy of a unique kind of transform nodes called Joints.
See image:- (2)
Choose Skeleton |joint Tool
Now open Outliner (Window | Outliner) Now Select one by one each joints from the Outliner and rename them as shown in Image :- (4)
Same way create joints for character leg as LeftUpLeg, LeftUpLegRoll, LeftLeg, LeftLegRoll, Leftfoot and LeftHeel as shown in the Image :- (5).
To end the joint creation press ENTER key on the keyboard and rename them in Outliner. Now for character foot fingers create LeftToeBase, LeftFootThumb1, LeftFootThumb2, LeftFootThumb3, LeftFootIndex1, LeftFootIndex2, LeftFootIndex3, LeftFootIndex4, LeftFootMiddle1, LeftFootMiddle2, LeftFootMiddle3, LeftFootMiddle4, LeftFootRing1, LeftFootRing2, LeftFootRing3, LeftFootRing4, LeftFootPinky1, LeftFootPinky2, LeftFootPinky3 and LeftFootPinky4 as shown in Image :- (6) and (7) To end the joint creation press ENTER key on the keyboard.
Now Select one by one each joints from the Outliner and rename them as shown in Image :- (8)
In Perspective view select LeftToeBase joint SHIFT select Leftfoot joint and go to Edit menu press Parent or press P key on your Keyboard as shown in Image :- (9) See the result in Image :- (10).
Go to page<< 1 2 3 4 5 >>Now for character hand I am creating extra bones for thumb see Image :- (11).
You can create hand fingers like foot fingers in different group with thumb but I like this way more. they are in this order LeftShoulder, LeftArm, LeftArmRoll, LeftForeArm, LeftForeArmRoll, LeftHand, LeftHandThumb1, LeftHandThumb2, LeftHandThumb3. See Image :- (12) for Renaming joints in order using Outliner.
Now for fingers create joints as in this order LeftFingerBase, LeftHandMiddle1, LeftHandMiddle2, LeftHandMiddle3, LeftHandMiddle4, LeftHandIndex1, LeftHandIndex2, LeftHandIndex3, LeftHandIndex4, LeftHandRing1, LeftHandRing2, LeftHandRing3, LeftHandRing4, LeftHandPinky1, LeftHandPinky2, LeftHandPinky3 and LeftHandPinky4 see Image :- (13)
See Image :- (14) for Renaming joints in order using Outliner.
In Top view select LeftFingerBase joint SHIFT select LeftHand joint and go to Edit menu press Parent or press P key on your Keyboard as shown in Image :- (15) See the result in Image :- (16).
Same way In front view select LeftShoulder joint SHIFT select spine2 joint and go to Edit menu press Parent or press P key on your Keyboard as shown in Image :- (17)
Go to page<< 1 2 3 4 5 >>Again In front view select LeftUpLeg joint SHIFT select hips joint and go to Edit menu press Parent or press P key on your Keyboard as shown in Image :- (18)
See the result in Image :- (19) and now select LeftUpLeg joint go to Skeleton | Mirror joint
Same way select LeftShoulder joint in front view go to Skeleton | Mirror joint
So far character Skeleton is made using joint tool we need to fix some problem for bone orientation see next section. Orienting Joints Joint orientation is one of the most important aspects of setting up a skeleton that will behave predictably as we used default setting, XYZ, will point the X axis of the joints down the base. Orient joint tool is used to change the orientation of any selected joint or hierarchy. Choose whichever axis that feel comfortable with, but be consistent.
Notice the local rotation axis of each joint. Y axis is pointing down the bone. But check X or Z axis which way these axis are pointing.
We have to rotate some of the local rotation axis 180 degree on the Y axis so that all of the axes are pointing the same way. Select entire skeleton and go into component selection mode (Press F8),in the status line enable the Miscellaneous selection type.( the Button with Question ark button) See Image :- (22)
Now our Joints (bones) are problem free let move to skinning section. Go to page<< 1 2 3 4 5 >>SkinningSkeletons provide the structure of the body, but the skin provides the appearance. Getting the mesh of the character to deform according to the position of the character's skeleton is called skinning. Most characters animated in Maya will be skinned in some form, and getting a character's mesh to deform smoothly usually takes a good knowledge of the skinning tools and how they work. Maya has two features for skinning characters, Rigid Bind and Smooth Bind. These tools work slightly differently, and each has advantages. I used Smooth Bind for skinning characters but I explained both type of skinning so that you can use one of it for your character :- Rigid Bind Rigid Bind (choose Skin | Bind Skin | Rigid Bind) breaks each part of the surface into clusters and associates each cluster with a joint. This type of binding does not allow for the weighting of vertices across multiple joints. To compensate for the lack of weighting, Rigid Bind incorporates a number of tools called Flexors that allow for control over the joints. Flexors are attached to the joint or the bone and can be used to fine-tune the bending and creasing of a joint or to create other effects, such as muscle bulging. Lattice Flexors These surround the mesh with a user-defined lattice that is centered on the joint's rotation axis. The lattice's attributes contain some predefined behaviors. Creasing determines the amount of crease on the inside of the bend. Rounding determines the bulge at the "elbow" of the joint. Length In/Out allows sliding of the skin over the joint. Width Left/Right allows the skin in the joint area to squash outward or inward to help preserve volume. Sculpt Flexors Sculpt Flexors apply a sculpt deformer and center it on the joint. Sculpt Flexors can be used to create muscle bulges based on joint angle. To do so, create a set driven key for the sculpt deformer and drive it by the angle of the joint. Sculpt Flexors use a sculpt deformer to modify the appearance of the skin. Joint Cluster Flexors These create a cluster representing the vertices affected by the joint. This allows for weighted deformations, and joint clusters are differentiated from regular clusters by using the letter "J." Joint Clusters allow for weighting, and when the Manipulator tool is used, the shape of the joint's deformation can be adjusted. Smooth Bind Smooth Bind (choose Skin | Bind Skin | Smooth Bind) is the second and more widely used type of skinning. It creates good results without the need for flexors and deformers to control deformation at the joints. Smooth Bind works by allowing individual vertices to be weighted across multiple joints. This allows each vertex to be controlled by multiple joints, providing a smooth transition from one joint to another. It does not allow for effects such as muscle bulges and creases, but you can add these by using standard Maya deformers. Once the skin is bound to the skeleton using Smooth Bind, you can edit weights using either the Component Editor or Paint Weights. The general work flow is to use Paint Weights for the global changes and then fine-tune problem areas a vertex at a time using the Component Editor. Paint Weights Painting weights is the most interactive way to adjust the weighting of a smoothly bound skin. The interface uses the standard Artisan tools to paint the weight maps. When painting weights, the affected vertices show up as white or gray; unaffected vertices show up black.
Component Editor The Component Editor (choose Window ¡úGeneral Editors ¡ú Component Editor) allows you to affect the weighting of each individual vertex. To use the editor, select a vertex or a group of vertices on the object, and these will show up in the Component Editor. The weights of each vertex are displayed on a per vertex basis. Sometimes a vertex is affected by many joints. This can cause unwanted deformations and slow performance. Choosing Skin ¡ú Edit Smooth Skin ¡ú Prune Small Weights can get rid of the unwanted influences. Mirroring or Copying Weights Most characters are fairly symmetrical, so you can fine-tune the skin on one side of your character and simply mirror those weights to the other half. To do so, choose Skin ¡ú Edit Smooth Skin ¡úMirror Skin Weights. The mirror axis is specified in the tool's options. For mirroring to work, the character's pivot needs to be centered along the left/right axis of the character. Maya also offers a way to copy weights from one character to another. The weighting is copied based on the relative positions of the vertices compared to the joints. It should give a good first pass when skinning similar characters, leaving just minor cleanup. Adding full body Ik System to Character (Biped). We can create floor contacts for your character's hands and feet to make them collide with-rather than pass through-the floor surfaces you defined in your scene. Floor contacts allow your character's hands and feet to react to the floor by stopping and bending the wrist, ankles, toes and fingers.
Turn on Hand Contact & Feet contact the Floor. See Image :- (26) ( Turn on the Appropriate floor contacts by typing on or 1 in the Handa or feet contact fields and then press ENTER.
In the feet to Floor contact Attributes or the Hand to floor contact Attributes section, turn on the hands or feet Contact attributes. Now character is ready for Animation. Fast way to Make full body IK (FBIK) Skeleton. Use Biped Factory from www.YouNeedThisMan.com See Image (27) and (28)
|
discuss this topic to forum


