Keep up-to-date with Free tutorials!!

 

Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

 

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

 

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

 
submit tutorial
First ... 2 | 3 | 4 | 5 | 6 | 7 | 8
Painting Weights and Skinning: A Straightforward Approach

By Kiel Figgins
| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star half
(8 Votes)
| 86545 Views
| 0 Comments
| Comments 0
Date Added: 10th April 2013
Software used:
Maya

Scrub the timeline to check your work. Use the "smooth" Paint Operation in paint weights to ease the transition between the two joints (Fig.24).

1699_tid_fig24_knuckle_smoothed.jpg
Fig. 24 - Smoothing weights before and after


For best results with "smooth", use on the back/extreme side of a bend and set the opacity to 1.

Right-click on the next thumb joint and repeat down each joint for the entire left side joints/verts. Once you've painted the left side, mirror the weights over.

Painting Weights - Tips

Avoid using Substitute; stick with Replace/Add/Smooth on the Paint Weight Brush options. Substitute can oddly disperse weights between joints.

Right-clicking on a joint and using a Marking menu to select the "paint weight" option is typically faster than trying to find the same joint in the Paint Weight Joint list.

You can quickly toggle between Adding and Smoothing weights by holding the Shift key while in Paint mode.

Display Joint Size (Display > Animation > Joint Size) will quickly change the visual size of the joint without changing or having to adjust the Radius value. This works well if the joints are grossly oversized or if you're doing many joints close together in a detailed area, such as the face.

Seeing the effects of smoothing weights is clearer when the mesh is being deformed by that joint. For instance the shoulder; smoothing the weights when the arm is raised up or lowered, the results are much more apparent. Combine with having the joint animated for that range of motion, you can quickly scrub the timeline to see the results even more so and adjust accordingly.

Additional Tools and Processes

Often times, there are instances where one mesh has to ride along with another, but not deform. This could be buttons on a shirt or a policeman's badge.

The script, djRivet.mel, uses follicles to constrain objects to a polygon or nurbs surface using Maya's hair system: http://www.creativecrash.com/maya/downloads/scripts-plugins/polygon/c/djrivet-mel--3 )

You can take this script further and use multiple "riveted" joints to ride along the surface of a mesh and then skin only to those riveted joints. For instance, a bandolier, slung diagonally across the chest, would deform oddly if the body is bent or the shoulder raised. If you created a series of joints that were then riveted to the underlying body mesh, you could skin the bandolier mesh for better results.

A note about using djRivet, is that the follicles created are based off UVs. If the mesh has overlapping UVs, the rivet may not work or will behave oddly. You can work around this by having the model's UVs laid out accordingly or by doing the following:

• Duplicate the un-UV'd mesh and name it "..._AutoUVs"
• With the AutoUVs mesh selected, go to Create UVs > Automatic Mapping
• Delete History on the AutoUVs mesh: Edit > Delete by Type > History
• Select the un-UV'd mesh, then Shift + select the AutoUVs mesh and got to Create Deformers > Blendshape
• Select the newly created blendshape node under the Inputs of the AutoUVs mesh
• Set the Influence of the un-UV'd mesh to 1 in the blendshape node

From here you would create your rivets on the AutoUV mesh as the UVs do not overlap and the mesh will follow along with the mesh driving the blendshape.

Weight Hammer

Weight Hammer (select verts, then go to Skin > Edit Smooth Skin > Weight Hammer) is a function in Maya that looks at the selected verts, gathers the weights of the verts around the selection and applies those weights to the selection. This tool is useful when you have stray verts being affected by outside joints. I run into this the most often with the lips; typically the lower lips will be weighted to the head or top lip joints, causing them to sheer. Once you select the verts and run Weight Hammer, the results are clear (Fig.25).

1699_tid_fig25_weight_hammer.jpg
Fig. 25 - Weights hammered for stray vertex

Mirror Skin Weights Settings

Mirroring the weights from one side of the mesh to another can save hours of work and frustration. To do so correctly relies on a few key factors that have already been addressed: mesh construction, joint naming and position. If these factors are taken care of, mirroring weights is very straightforward.

Select your bound mesh, then go to Skin > Edit Smooth Skin > Mirror Skin Weights > Option Box. Use the settings shown in Fig.26.

1699_tid_fig26_weight_mirroring.jpg
Fig. 26 - Mirror weight settings

Additional Tips

One of the main struggles when you're new to painting weights is maintaining the volume. Eventually, you realize that you can maintain the volume if you allow the meshes to penetrate or you can smooth the weights and loose that volume. Too often people spend so much time trying to get results that are not possible with a default skinCluster. If you're working in games, typically you cannot have blend shapes or too many corrective joints, so you paint weights to maintain as much volume as possible - hence penetration. If you work in a pre-rendered environment, you can explore adding additional joints, corrective blend shapes, muscle solutions and many others to get the desired results.

Start Rough and Polish as Needed

Painting weights can be a very long and tedious process. Instead of trying to get every vertex delicately weighted, put a default bind on there, fix the hot spots for volume control and start animating. Once the character is up and moving in the scene, you can see where the weights fall apart. If the shoulders or feet are sheering, fix those weights first and continue animating. By fixing as you go, at the end of the project you'll have only cleaned up the areas that needed it and not spent time on those that didn't.

Unnatural Animation Causes Unnatural Deformations

A common complaint of painting weights come from the shoulders. While it's true that this area comes under a high level of scrutiny, often times the rig is being animated into an unnatural pose that would be outside the range of motion for the character. Often this comes from raising the arm too high without lifting the clavicle, trying to shrug the shoulders too deeply or twisting too much (especially when twist joints aren't being used). By putting the character in an unnatural pose, you'll start seeing unnatural results in the skin that may need to be fixed by adjusting the pose in animation or a custom, one-off solution on the rig or in the scene.

Know When to use Another Approach

At some point, you'll find a situation where default skin clusters and painting weights is not getting the desired results. You can try adding more and more joints, but this may not be practical, either in terms of rigging or animation. Common examples of these situations are skirts and dresses in games (which sheer when the legs separate too far apart), muscular characters (whose loss of volume or lack of flexing is more noticeable), characters with layers of cloth that drape or hold a silhouette, or when the camera is closer and can see the deformation's shortcomings.

At this point, you may need to explore other options, such as corrective blend shapes, cloth simulation, muscle simulation and so on. My only words of advice before going down these additional paths is to make sure your project truly needs those results, as each one of these other options will make your character heavier and more complex, which may lead to unforeseen problems later on.

Conclusion

Painting weights is not nearly as bad as it's made out to be. With a few modifications in workflow and a better understanding of what the skinCluster can and cannot do, you'll find that painting weights is a far less daunting and time-consuming task.




< previous page

 
First ... 2 | 3 | 4 | 5 | 6 | 7 | 8
Related Tutorials

Tutorial

Gallery Image.



Keywords: Character, 3ds Max, ZBrush, Kroenen, Hellboy

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (9)
Comments 2 Views 13968

Tutorial

Gallery Image.



Keywords: masks, face, wrinkles, zbrush, character, Gavin Goulden

Go to galleries 1
rating star fullrating star fullrating star halfrating star nonerating star none
Comments 0 Views 9883

Tutorial

Gallery Image.



Keywords: Maya, Rigging, Animation, Hands, Arms, Shoulder, Character

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 0 Views 20835

Tutorial

Gallery Image.



Keywords: Making of, Tutorial, Male, Character, Scientist, ZBrush, 3ds Max, Photoshop, V-Ray, NUKE

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 1 Views 38415
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment