fedackb / yavne

321 stars 36 forks source link

Yet Another Vertex Normal Editor (Y.A.V.N.E.)

This Blender addon provides a set of tools for editing vertex normals. As seen in the following image, Y.A.V.N.E. can dramatically improve the visual quality of a mesh without altering geometry.

yavne

Download

Select one of the following links depending on the version of Blender that you are using:

User Interface

Y.A.V.N.E. is available within the 3D View > Sidebar > Tools tab for any mesh object in Edit mode.

location-2 80

Vertex Normal Weight

Vertex weight types determine how each vertex normal is calculated as the weighted average of adjacent face normals. Y.A.V.N.E. provides several weighting options:

weight_comparison

Each vertex has exactly one weight type. For quick-and-easy shading, it may be sufficient to assign the Combined weight type to all vertices of a mesh. However, thoughtful use of a variety of weight types often yields better results.

Face Normal Influence

Face influence types determine which face normals are considered when calculating vertex normals. In the case that a vertex is shared by faces of different types, only normals from the most influential faces contribute to the resulting vertex normal.

influence_comparison

Faces have Medium influence by default. A typical workflow involves assigning Weak influence to transitional portions of a mesh, such as bevels (I). Alternatively, users can specify more influential areas by assigning Strong influence (II). It is even possible to use all three face influence types in a single mesh (III).

Get & Set Normals

Basic manual editing of vertex normals is possible with the Get and Set tools.

Set simply assigns the stored normal vector to all selected vertices.

Get is a little more involved in that it has multiple modes of operation based on the user's current selection:

Merge

Merge is similar to Blender's "Remove Doubles" operator. However instead of welding vertices within a threshold distance of each other, this tool averages vertex normals.

It can be used to create seamless transitions across mesh boundaries, such as a split between the head and torso of a character.

merge

Transfer Shading

Interpolated normals can be transferred from a source mesh to the nearest selected vertices of the target (active) mesh.

One scenario in which this tool might be useful is when a user wants to add detail along curved sections of a mesh. Cutting faces creates undesirable shading artifacts. By transferring shading from the original mesh, it is possible to correct such imperfections and achieve the desired result.

transfer_shading

Update Vertex Normals

It is necessary to recalculate vertex normals after making changes to geometry. Options are available for adjusting how the calculation is performed.

Linked Face Weights factor the areas of adjacent faces into the calculation of face weighted vertex normals. For instance, all coplanar face areas are summed when this option is enabled and the corresponding link angle is set to zero degrees.

Auto Smooth sharpens edges based on the angle between faces. The behavior is similar to Blender's builtin Auto Smooth option.

update_options

Flat Face Shading preserves shading discontinuities caused by flat faces.

Version History

2.0.3

2.0.1

2.0.0

1.9.2

1.9.0

1.3.0

1.1.0

1.0.0