Optimize : Modifier

optimize - superclass: modifier; super-superclass:MAXWrapper - classID: #(806193, 0) 

Value > MAXWrapper > Modifier > Optimize

Constructor

optimize ... 

Properties

<optimize>.renderLOD Integer default: 0 

You can store two different optimization settings for the renderer, in two separate levels; L1 & L2. Set the level of display for the default scanline renderer:

0- L1

1- L2

   

<optimize>.viewLOD Integer default: 0 

You can store two different optimization settings for the viewport, in two separate levels; L1 & L2. Set the level of display for the viewport:

0- L1

1- L2

   

<optimize>.facethreshold1 Float default: 4.0 -- animatable, angle, alias: Face_Threshold_L1 

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.

   

<optimize>.edgethreshold1 Float default: 1.0 -- animatable, angle, alias: Edge_Threshold_L1 

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.

   

<optimize>.bias1 Float default: 0.1 -- animatable, alias: Bias_L1 

Helps eliminate the skinny or degenerate triangles that occur during optimization, which can cause rendering artifacts. Higher values keeps triangles from becoming degenerate. The default of 0.1 is enough to eliminate the skinniest triangles.

   

<optimize>.MaxEdgeLength1 Float default: 0.0 -- animatable, alias: Max_Edge_Length_1 

The maximum length, beyond which an edge cannot be stretched when optimized. When MaxEdgeLength1 is 0, it has no effect. Any value greater than 0 specifies the maximum length of the edges.

   

<optimize>.preservemat1 Boolean default: false 

When on, prevents face collapse across material boundaries.

   

<optimize>.preservesmooth1 Boolean default: false 

When turned on, allows only faces that share at least one smoothing group to collapse.

   

<optimize>.facethreshold2 Float default: 4.0 -- animatable, angle, alias: Face_Threshold_L2 

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.

   

<optimize>.edgethreshold2 Float default: 1.0 -- animatable, angle, alias: Edge_Threshold_L2 

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.

   

<optimize>.bias2 Float default: 0.1 -- animatable, alias: Bias_L2 

Helps eliminate the skinny or degenerate triangles that occur during optimization, which can cause rendering artifacts. Higher values keeps triangles from becoming degenerate. The default of 0.1 is enough to eliminate the skinniest triangles.

   

<optimize>.MaxEdgeLength2 Float default: 0.0 -- animatable, alias: Max_Edge_Length_2 

The maximum length, beyond which an edge cannot be stretched when optimized. When MaxEdgeLength2 is 0, it has no effect. Any value greater than 0 specifies the maximum length of the edges.

   

<optimize>.preservemat2 Boolean default: false 

When on, prevents face collapse across material boundaries.

   

<optimize>.preservesmooth2 Boolean default: false 

When turned on, allows only faces that share at least one smoothing group to collapse.

   

<optimize>.manualUpdate Boolean default: false 

When on, enables the Update button. When turned off, Optimize works as it does by default, updating the viewport display dynamically.

   

<optimize>.autoedge Boolean default: false 

When on, 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.

   

See Also