softenNormals operation

Synopsis

  • softenNormals (angle)

Parameters

  1. angle—float
    For each vertex, use the average of the adjacent face normals. Edges where face normals meet at an angle greater than or equal as specified are shaded as hard edges. Setting an angle of:

    Disconnected shapes must be combined and duplicate vertices must be merged in order to compute vertex normals using adjacent face normals.

Description

The softenNormals operation sets the normals of the current shapes' geometry to the desired mode.

Related

Examples

Shaded hemisphere with angle 0 (hard normals).

Shaded hemisphere with angle 0; hard

Shaded hemisphere with angle 30 (auto normals).

Shaded hemisphere with angle 30; auto

Shaded hemisphere with angle 180 (soft normals).

Shaded hemisphere with angle 0; soft

In this topic