00:00In the previous video, we've seen how we can assign the object to the armature so that
00:06it gets deformed. Let's see now what's happening. To make our life easier, we'll modify the
00:13display of the bones clicking in front, so that we see them through the mesh. Since the
00:22armature is deforming the mesh, I'd like to see it. So I will go in the object display
00:29option and click wireframe. When assigning the armature, Blender will automatically
00:37create vertex groups that we can see in the vertices menu of the object. And you can see
00:44that we have a group named with the same name as the different bones. So this will be generated
00:53automatically. And if we change the name of a bone, the name of the vertex group will be
00:59automatically modified. We can display those names in the viewport by going into the armature option
01:07and clicking names. This can be very useful whenever we'll work on different bones association.
01:14So each bone corresponds to a vertex group. And each vertex group determines the influence of the bone
01:23to deform the mesh. So if I get rid of some of the groups, you can see that the mesh is no longer
01:31deformed by the associated bones. This influence value is called weight. And we can see the value of the
01:40weight for each group by selecting the vertices, opening the N panel and check out the vertex weight stack.
01:50Here you will be able to see all the vertex group associated to one vertex and their influence or weight.
01:58The weight determines how much the associated bone deform the mesh. Here you can see that this vertex
02:07is deformed by three different bones, almost entirely by bone number five, a bit by bone number four,
02:15and bone number three has near to zero influence. We can visually display the weight onto the mesh by
02:22going into the overlay menu and selecting vertex group weight. By default, you will have this bluish to
02:30red tint. The deep blue means zero influence. The red means one influence and you have different color
02:39in between. I like to enable the zero weight option that will turn any vertex that has no influence into
02:48black. It make the readability more obvious. If I remove bone five influence, we can see it turn to black.
02:56So it's very easy to see whether a vertex is influenced or not by a bone group. Whenever you will select a
03:04bone group in the vertex group, you will see its influence on the mesh. To assign a vertex group to
03:12one or different vertices, you just need to select them, set the weight and then click assign. If you click
03:20remove, you will remove the group from those vertices. Since these groups influence the deformation or the
03:28influence of the armature, I like to be able to see the armature in edit mode. So we can go into the
03:36modifier stack and activate the viewport display in edit mode and in mesh editing. This way, I will be able
03:46to see the influence of the armature in real time and it will make the weight editing way easier.
03:55Whenever I change the value of the weight, I will see my mesh deforming regarding the influence of the
04:02underlying bone. When editing weight in edit mode, I can copy the weight of one vertex to the selected ones by
04:11clicking this icon. It's very handy to assign a given influence to a whole edge loop, for example.
04:19By default, bones deform the mesh, but we can get rid of this deformable option by going into the bone
04:26option and uncheck deform. Since bones are not only used to deform the mesh but can be used for
04:33mechanical purpose, it's important to be able to uncheck this option. If the deform option of a bone
04:40is unchecked before parenting and assigning the armature to the object, the corresponding vertex
04:47group won't be automatically created. We can enable and disable multiple bone at once by pressing Shift
04:55W and select Deform and enable or disable the deform option. Bones influence or a vertex group
05:03weight can be also edited in weight paint mode. Selecting the object and pressing control tab,
05:11we can go into weight paint mode. This way, you will be using brushes to paint the weight onto the mesh.
05:19So in the left panel, we can see the usual brushes we have for texture painting and in the end panel,
05:27we will have specific brushes that will allow us to add or remove weight. We just need to set the
05:36weight we want to reach, for example one here, and the strength of the brush. The higher the strength,
05:43the faster we'll get to the selected weight. So if I set the weight to zero with a strength of one,
05:50it will totally remove the weight of the given vertex group. As for texture painting, we have
05:57option to change the curve of the brush and also enable symmetry, which is very handy. This will
06:03allow us to paint on both sides of the mesh at once. This is very handy when working on a symmetrical
06:10character, for example, where the left arm will be symmetrized on the right arm. By default, you will
06:18have to select the vertex group in the vertex group panel. To be able to select the associated bone,
06:24you have to get back into object mode, select the amateur, then the mesh and go back into weight
06:30main bone. You can now select each bone and the associated vertex group will be automatically selected.
06:39You can also move the bones, rotate them, etc. while working on the weight paint. To select the bone,
06:46you have to control left click it. You can then paint the influence for each bone using the given
06:54brushes. I generally use the mix and subtract brush, like 99% of the time.