Optimize Modifier

Select an object. > Modify panel > Modifier List > Mesh Editing > Optimize

Select an object. > Modifiers menu > Mesh Editing > Optimize

The Optimize modifier lets you reduce the number of faces and vertices in an object. This simplifies the geometry while maintaining an acceptable image. A Before/After readout gives you exact feedback on the reduction as you make each change.

Original wireframe duck, optimized wireframe duck, wireframe duck with further optimization

Tip: Because Optimize makes decisions based on angles between faces, it's sometimes best to apply it to selected face sub-objects rather than to an entire object. Avoid applying Optimize to areas where you want to preserve geometric detail.

Applying Optimize

When you first apply Optimize, you might not see any change in the viewports. Adjust the Face Threshold setting to obtain the best optimization. In the Last Optimize Status group, you can see how the object or faces were optimized. Watch these values while you adjust the Optimize parameters, until you have the best possible result.

Setting Level of Detail

Optimize lets you maintain two levels of optimization detail.

Procedures

To optimize manually:

  1. Set up two viewports: one wireframe, one smooth shaded.

  2. Select an object and apply the Optimize modifier.

    The Parameters rollout for this modifier appears.

  3. Turn off Manual Update and then adjust the Face Thresh value. Observe the result in the viewports.

    You can also choose to view the results of the Optimize operation manually by leaving the Manual Update check box turned on and pressing the Update button every time you wish to view a result.

  4. In the Parameters rollout > Last Optimize Status group, notice the Before/After count for vertices and faces.

  5. In the Optimize group, vary parameters to continue reducing geometry.

    Compare the result in the two viewports against the Before/After count.

To set the level of detail:

  1. In the Parameters rollout > Level of Detail group, choose Viewports L1.

  2. Adjust parameters in the Optimize and Preserve groups.

  3. Repeat steps 1 and 2 for Viewports L2, adjusting parameters for a different optimization.

To use level of detail:

Interface

Level of Detail group

Viewports L1, L2: Toggles the level of display for the viewport. Default=L1.

Optimize group

Adjusts the degree of optimization.

Face Thresh: Sets the threshold angle used to determine which faces are collapsed. Low values produce less optimization but better approximations of the original shape. Higher values improve optimization, but are more likely to result in faces that render poorly (see Bias). Default=4.0.

Edge Thresh: Sets a different threshold angle for open edges (those that bound only one face). A low value preserves open edges. At the same time you can apply a high face threshold to get good optimization. Default=1.0.

Bias: Helps eliminate the skinny or degenerate triangles that occur during optimization. Higher values keeps triangles from becoming degenerate. The default of 0.1 is enough to eliminate the skinniest triangles. Range=0.0 to 1.0 (a 0 value turns Bias off).

Max Edge Len: Specifies the maximum length, beyond which an edge cannot be stretched when optimized. When Max Edge Len is 0, it has no effect. Any value greater than 0 specifies the maximum length of the edges. Default=0.0.

Along with Bias, this control helps you avoid creating long skinny faces while optimizing.

Auto Edge: Turns edges on and off following optimization. Turns on any open edges. Turns off any edges between faces whose normals are within the face threshold; such edges beyond the threshold are not turned on. Default=off.

Preserve group

Maintains clean separation at the face level between material and smoothness boundaries.

Material Boundaries: Prevents face collapse across material boundaries. Default=off.

Smooth Boundaries: Optimizes an object and maintain its smoothing. When turned on, allows only faces that share at least one smoothing group to collapse. Default=off.

Update group

Update: Updates the viewports with the current optimization settings. Available only when Manual Update is turned on.

Manual Update: Enables the Update button. When turned off, Optimize works as it does by default, updating the viewport display dynamically.

Note: When using Manual Update, if you make any changes that cause the reevaluation of the stack, the existing optimization display disappears. Click the Update button again to restore it.

Last Optimize Status group

Displays numerical results of optimization with exact before-and-after counts for vertices and faces.