Edição dos pesos de vértices¶
This modifier is intended to edit the weights of one vertex group.
The general process is the following, for each vertex:
- (Optional) It does the mapping, either through one of the predefined functions, or a custom mapping curve.
- It applies the influence factor, and optionally the vertex group or texture mask (0.0 means original weight, 1.0 means fully mapped weight).
- It applies back the weight to the vertex, and/or it might optionally remove the vertex from the group if its weight is below a given threshold, or add it if it is above a given threshold.
This modifier does implicit clamping of weight values in the standard (0.0 to 1.0) range. All values below 0.0 will be set to 0.0, and all values above 1.0 will be set to 1.0.
- Grupo de vértices
- O grupo de vértices que será afetado.
- Padronização de pesos
- The default weight to assign to all vertices not in the given vertex group.
- Adicionar ao grupo
- Adds vertices with a final weight over Add Threshold to the vertex group.
- Remover do grupo
- Removes vertices with a final weight below Remove Threshold from the vertex group.
- Tipo de decaimento
Tipo de mapeamento:
- Sem mapeamento
- Curva personalizada
- Allows the user to manually define the mapping using a curve.
- Sharp, Smooth, Root and Sphere
- These are classical mapping functions, from spikiest to roundest.
- Uses a random value for each vertex.
- Passos em média
- Creates binary weights (0.0 or 1.0), with 0.5 as cutting value.
Opções de Influência e máscara¶
- Influência global
The overall influence of the modifier (0.0 will leave the vertex group’s weights untouched, 1.0 is standard influence).
Influence only affects weights, adding/removing of vertices to/from vertex group is not prevented by setting this value to 0.0.
Máscara de grupo de vértices¶
- Máscara de grupo de vértices
- An additional vertex group, the weights of which will be multiplied with the global influence value for each vertex. If a vertex is not in the masking vertex group, its weight will be not be affected.
Máscara de textura¶
- Máscara de textura
An additional texture, the values of which will be multiplied with the global influence value for each vertex.
This is a standard texture data-block control. When set, it reveals other settings:
- Coordenadas de textura
How the texture is mapped to the mesh.
- Usa as coordenadas locais dos vértices.
- Use vertex coordinates in global space.
Use vertex coordinates in another object’s space.
- The object to be used as reference for Object mapping.
Usa as coordenadas definidas no mapa UV.
- Mapa UV
- O mapa UV que será usado para o mapeamento UV.
- Usar canal
Which channel to use as weight factor source.
- Um dos valores dos canais de cor.
- The average of the RGB channels (if RGB(1.0, 0.0, 0.0) value is 0.33).
- The highest value of the RGB channels (if RGB(1.0, 0.0, 0.0) value is 1.0).
- Uses the hue value from the standard color wheel (e.g. blue has a higher hue value than yellow).
- Uses the saturation value (e.g. pure red’s value is 1.0, gray is 0.0).
All of the channels above are gamma corrected, except for Intensity.
You can view the modified weights in Weight Paint Mode. This also implies that you will have to disable the Vertex Weight Edit Modifier if you want to see the original weights of the vertex group you are editing.
Using Distance from a Target Object’s Geometry
We are going to illustrate this with a Displace Modifier.
Add a (10×10 BU) 100×100 vertices grid, and in Edit Mode, add to it a vertex group containing all of its vertices, as above. You can even further subdivide it with a first Subdivision Surface Modifier.
Now add a curve circle, and place it 0.25 BU above the grid. Scale it up a bit (e.g. 4.0 BU).
Back to the grid object, add to it a Vertex Weight Proximity Modifier, in Geometry Distance mode. Enable Edge (if you use Vertex only, and your curve has a low U definition, you would get wavy patterns, see Fig. Wavy patterns.).
Set the Lowest Distance to 0.2, and the Highest Distance to 2.0, to map back the computed distances into the regular weight range.
Add a third Displace Modifier and affect it the texture you like. Now, we want the vertices of the grid nearest to the curve circle to remain undisplaced. As they will get weights near zero, this means that you have to set the Midlevel of the displace to 0.0. Make it use our affected vertex group, and that is it! Your nice mountains just shrink to a flat plane near the curve circle.
As in the previous example, you can insert a Vertex Weight Edit Modifier before the Displace one, and play with the Custom Curve mapping to get a larger/narrower «valley»…
You can also add a fifth Mask Modifier, and enable Vertex Weight Edit’s Group Remove option, with a Remove Threshold of 0.1, to see the bottom of your valley disappear.
The blend-file, TEST_2 scene.