Blender Studio
  • Films
  • Projects
  • Training
  • Characters
  • Tools
  • Blog
  • Join
  • BLENDER.ORG

    • Download

      Get the latest Blender, older versions, or experimental builds.

    • What's New

      Stay up-to-date with the new features in the latest Blender releases.

    LEARNING & RESOURCES

    • Blender Studio

      Access production assets and knowledge from the open movies.

    • Manual

      Documentation on the usage and features in Blender.

    DEVELOPMENT

    • Developers Blog

      Latest development updates, by Blender developers.

    • Documentation

      Guidelines, release notes and development docs.

    • Benchmark

      A platform to collect and share results of the Blender Benchmark.

    • Blender Conference

      The yearly event that brings the community together.

    DONATE

    • Development Fund

      Support core development with a monthly contribution.

    • One-time Donations

      Perform a single donation with more payment options available.

Training Highlights
Stylized Rendering with Brushstrokes
Geometry Nodes from Scratch
Procedural Shading Fundamentals
Stylized Character Workflow

Training types
Course Documentation Production Lesson Workshop

Training categories
Animation Geometry Nodes Lighting Rendering Rigging Shading
Film Highlights
Wing It!
2023
Charge
2022
Sprite Fright
2021
Spring
2019
Project Highlights
Project DogWalk
Interactive
Gold
Showcase
BCON24 Identity
Showcase
Fighting with Grease Pencil
Article
Course
Advanced Rigging
Rigging a Character
  1. 02

    Re-targeting the body

  2. 03

    Re-targeting the face

  3. 04

    Baking the rig

  4. 05

    The mesh deform cage

  5. 06

    Refining cage deformation

  6. 07

    Adding shapekeys to the cage

  7. 08

    Weight painting the hands

  8. 09

    Weight painting the face

  9. 10

    Rigging extra objects

  10. 11

    Body parameters

  11. 12

    Understanding facial actions

  12. 13

    Finishing facial actions

Timelapse
  1. 01

    Vincent Timelapse 01

    Free
  2. 02

    Vincent Timelapse 02

    Free
Posing Vincent
  1. Vincent drunk pose
  2. 02

    Posing Vincent

    Free
Documentation
  1. BlenRig_5_Quick_Introduction_Guide.pdf
Rig
  1. BlenRig 5 for Blender 2.8 (V1.04) Free
  2. BlenRig 5 for Blender 2.7x (V1.02) Free

Login to view this content

Join Blender Studio for just €11.50/month and get instant access to all of our training and film assets!

Login Join Blender Studio
Juan Pablo Bouza
Juan Pablo Bouza Author
License CC-BY
Report Problem
Rigging a Character

The mesh deform cage

THE MESH DEFORM CAGE

Let's adjust the Mdef Cage and see our character in motion for the first time!

Join to leave a comment.

18 comments
Nicq Pierre-Armand
Nicq Pierre-Armand
May 1st, 2019

Hey great course :) Here is a quick script that speed up the binding for multiple objects (indentation's not working here..):

import bpy context = bpy.context for obj in context.selected_objects: for mod in obj.modifiers: if mod.type == "MESH_DEFORM": mod.precision = 5 context.view_layer.objects.active = obj bpy.ops.object.meshdeform_bind(modifier="MeshDeform")

TonyGrisham250
TonyGrisham250
Feb. 26th, 2019

Hello, not sure if this is still active, however due to some odd proportions of my character (such as a large head) the cage of the head tugs on the shoulders. I belove I have gotten each as septate as I can. Is this something a higher level of binding can fix or due I need to edit the cage more.

Marita
Marita
April 4th, 2018

Hello. The mesh worked great when binding, the only problem now is that my mesh doens't move with the rig as it does in the video. The bones of my character are super stretchy and not like a normal rig. If I grab the hand control and try to move it, then it doesn't react correctly with the joints, rather it just stretches out. I've followed the video quite nicely, I'm not sure what's wrong with the way my model acts. Any help?

EDIT: I actually realized that the problem is not that the bones are working wrong, but rather that the IK's are NOT working.

CornerStudio
CornerStudio
Nov. 22nd, 2017

Even after I adapt the rig to my character, the mesh deform cage still remain the same as before. It didn’t change according to the rig that I changed.

Stephen Petersen
Stephen Petersen
June 20th, 2017

One difference I can't fix is in the video the cage has shaded faces so you can tell when the body goes outside the cage. My cage faces don't show shading, can't find the setting to turn that on. One workaround I turned Max Draw Type to solid from wire. Steve

Grady Pruitt
Grady Pruitt
July 6th, 2016

Just thought I'd point out that instead of turning off the subsurfs (particularly if you have a number of parts) you could also use the simplify option in the Scene properties tab with the preview set to 0, couldn't you?

Juan Pablo Bouza
Juan Pablo Bouza
July 6th, 2016

@Grady Pruitt:

Yes you can :)

Diego Yaya
Diego Yaya
June 5th, 2016

hola JuanPablo, execelnte tu blenrig5, me a funcionado perfecto, pero en un personaje tuve que escalar todo el rig y el LATTICE_BODY me ha quedado deforme, en consecuencia la caja de deformación "BlenRig_mdef_cage" me queda deforme que debo hacer? mil gracias.

Juan Pablo Bouza
Juan Pablo Bouza
June 5th, 2016

@Diego Yaya:

Cómo va? en el mismo panel de rigging y baking hay un botón que dice RESET DEFORMERS, eso va a resetear todos los lattices y debería arreglar el problema!

Show more replies
Diego Yaya
Diego Yaya
June 5th, 2016

@Juan Pablo Bouza: muchas gracias por la pronta respuesta, efectivamente, solucionado.

Dale Beach
Dale Beach
March 18th, 2016

Hi JP,

Is there a chance that when you cover customization to do a tail? It would help me out with my lizard biped! Also, it might be useful for any number of mythological characters.

Thank you for your rig, and for the great tutorials.

Juan Pablo Bouza
Juan Pablo Bouza
March 18th, 2016

Hi @dbeach! Well, not in these videos, but at some point I was thinking of doing a biped lizard too, hehe. But I don't know when I'll do that. In case you want to add a simple FK or IK chain to your character, just add those bones and parent them to "pelvis_def", that should work. And about the mdef cage, just extrude the tail from my cage, maybe erase any influence that might have remained from the legs, and paint it with your tail bones. It shouldn't be harder than that.

But well, yes I hope I can do my biped lizard soon too :)

Show more replies
Dale Beach
Dale Beach
March 19th, 2016

@Juan Pablo Bouza: Thanks very much, I appreciate it!

Philipp Rapp
Philipp Rapp
March 17th, 2016

Hi Juan great add on. I tried to follow your instructions with a different model. The character has a skirt, long hair and a bow on her waist (actually it's Alice from Alice Madness Returns). I ignored the hair so far because you did the same and I will also ignore the bow for now but what do I do with the skirt? Should I model her real legs under the skirt and put them inside the mesh cage and than rigg her skirt later?

Juan Pablo Bouza
Juan Pablo Bouza
March 17th, 2016

Hi @rapppc ! Advanced level question :p

What I usually do with skirts is to duplicate the mesh deform cage, so, you can have the original mesh deform cage to deform her legs only, and then, in the cage copy, you erase the lower legs and join the upper legs middle vertices to create a skirt like cage. So then, the upper body and skirt would use that mesh deform cage.

If the skirt is long, I usually build a skirt rig with some extra bones and weight paint the cage with those. This is because you may want the skirt to have a different range of motion and not follow the legs, but well, that's up to you.

Oh, one other thing, you might want to adjust the mesh deform cage to your model first, and then create the duplicate cage. The key thing here is that both cages should look more or less the same, otherwise you would get a very different deformation in the legs and in the upper body, and you would have intersections all over the place. Take a look at Victor, you'll see he uses 2 cages, one for the body and another one for the suite, and they both look alike.

Hope this helps!

Show more replies
Philipp Rapp
Philipp Rapp
March 17th, 2016

@Juan Pablo Bouza: Will do that thanks. If I encounter any problems you will here from me again ;)

Juan Pablo Bouza
Juan Pablo Bouza
March 17th, 2016

@rapppc: in all cases you have to use two mesh cages. the difference is that you just use the cage copy without any additional bones, the skirt will follow the legs. About doing an extra rig for the skirt, you should just create the bones you need and parent those bones to "pelvis_def".

In chapter 8 or 9, I'll do some customization and add some extra bones to the rig. But well, in your case, you should parent the structure to pelvis_def, which is in the deformation layer.

Philipp Rapp
Philipp Rapp
March 17th, 2016

@Juan Pablo Bouza: Thanks for the very quick and useful response. I think in my case it would be nicer to have a separate skirt rigg cause I also would love to apply some cloth simulation to it. My rigging knowledge is very limited and it would be awesome if you could maybe do a quick tutorial on how to attach separate cloth riggs to your BlenRig once you have finished this series. Until then I will try your first suggestion with the two mesh cages.

Films Projects Training Blog Blender Studio for Teams
Pipeline and Tools
  • CloudRig
  • Blender Kitsu
  • Brushstroke Tools Add-on
  • Blender Studio Extensions
Characters
  • Mikassa
  • Whale
  • Ballan Wrasse
  • Snow
Studio
  • Terms & Conditions
  • Privacy Policy
  • Contact
  • Remixing Music
Blender Studio

The creators who share.

Artistic freedom starts with Blender The Free and Open Source 3D Creation Suite