Displace : Modifier

Displace - superclass: modifier; super-superclass:MAXWrapper - classID: #(806194, 0) 

Value > MAXWrapper > Modifier > Displace

Constructor

displace ... 

Properties

<Displace>.strength Float default: 0.0 -- animatable 

When set to 0.0, Displace has no effect.

Values greater than 0.0 displace object geometry or particles away from the position of the gizmo.

Values less than 0.0 displace geometry toward the gizmo.

   

<Displace>.decay Float default: 0.0 -- animatable 

Varies the displacement strength with distance. By default, Displace has the same strength throughout world space.

Increasing Decay causes the displacement strength to diminish as distance increases from the position of the Displace gizmo.

This has the effect of concentrating the force field near the gizmo, similar to the field around a magnet repelling its opposite charge.

   

<Displace>.lumCenterEnable Boolean default: false 

When on, the software uses .center to determine which level of gray Displace uses as the zero displacement value.

   

<Displace>.center Float default: 0.5 -- animatable, alias: lumCenter 

By default, Displace centers the luminance by using medium (50 percent) gray as the zero displacement value.

Gray values greater than 128 displace in the outward direction (away from the Displace gizmo) and gray values less than 128 displace in the inward direction (toward the Displace gizmo).

This value adjusts the default.

With a Planar projection, the displaced geometry is repositioned above or below the Planar gizmo.

   

<Displace>.bitmap Bitmap default: undefined 

This bitmap is used for displacement.

   

<Displace>.map TextureMap default: undefined 

This texture map is used for displacement.

   

<Displace>.blur Float default: 0.0 -- animatable 

Blurs or softens the effect of the bitmapped displacement by increasing the value.

   

<Displace>.maptype Integer default: 0 

Type of map projection:

0- Planar (Projects the map from a single plane.)

1- Cylindrical (Projects the map as if it were wrapped around the cylinder.)

2- Spherical (Projects the map from a sphere, with singularities at the top and bottom of the sphere where the bitmap edges meet at the sphere’s poles.)

3- Shrink Wrap (Projects the map from a sphere, as Spherical does, but truncates the corners of the map and joins them all at a single pole, creating only one singularity at the bottom.)

   

<Displace>.cap Boolean default: false 

When on, a copy of the map is projected from the ends of the cylinder.

   

<Displace>.length Float default: 1.0 -- animatable 

The length of the displace gizmo’s bounding box.

   

<Displace>.width Float default: 1.0 -- animatable 

The width of the displace gizmo’s bounding box.

   

<Displace>.height Float default: 1.0 -- animatable 

The height of the displace gizmo’s bounding box.

Height has no effect on Planar mapping.

   

<Displace>.U_Tile Float default: 1.0 -- animatable 

The number of times the bitmap repeats along the U-axis.

   

<Displace>.U_Flip Boolean default: false 

When on, reverses the orientation of the map along the U-axis.

   

<Displace>.V_Tile Float default: 1.0 -- animatable 

The number of times the bitmap repeats along the V-axis.

   

<Displace>.V_Flip Boolean default: false 

When on, reverses the orientation of the map along the V-axis.

   

<Displace>.W_Tile Float default: 1.0 -- animatable 

The number of times the bitmap repeats along the W-axis.

   

<Displace>.W_Flip Boolean default: false 

When on, reverses the orientation of the map along the W-axis.

   

<Displace>.useMap Boolean default: false 

When on, has Displace use the UV mapping set earlier in the stack. This has no effect if the object is not mapped.

   

<Displace>.applyMap Boolean default: false 

When on, applies the Displace UV mapping to the bound object. This lets you apply material maps to the object using the same mapping coordinates as the modifier.

   

<Displace>.Map_or_Vertex_Color Integer default: 0 

Specifies whether to apply the displacement projection to a mapping channel or a vertex color channel:

0- Map Channel

1- Vertex Color Channel

   

<Displace>.Map_Channel Integer default: 1 

The map channel to use for displacement projection.

   

<Displace>.axis Integer default: 2 

Flips the alignment of the mapping gizmo along one of its three axes:

0- X

1- Y

2- Z

   

<Displace>.gizmo SubAnim 

You can move, scale, and rotate the gizmo to alter the effect of the displacement modifier on the object.

   

<Displace.Gizmo>.position Point3 default: [0,0,0] -- animatable 

The position of the displace gizmo.

   

<Displace.Gizmo>.rotation Quat default: (quat 0 0 -1 0) -- animatable 

The rotation of the displace gizmo.

   

<Displace.Gizmo>.scale Point3 default: [1,1,1] -- animatable 

The scaling of the displace gizmo.

NOTE:The Gizmo property is not present until the Displace modifier has been applied to a node.

   

See Also