Fog : Atmospheric

Fog - superclass: atmospheric; super-superclass:MAXWrapper - classID: #(268435457, 0) 

Value > MAXWrapper > Atmospheric Effect > Fog

 

   

Atmospheric and Render Effects - Quick Navigation

   

Constructor:

fog ... 

   

Properties:

<Fog>.Fog_Color Color default: (color 255 255 255) -- animatable 

Get/set the fog color.

   

<Fog>.Use_Color_Map Integer default: 0 

Get/set the state of the Use Color Map option:

Possible values are:

0 - off

1 - on

   

<Fog>.Use_Opacity_Map Integer default: 0 

Get/set the state of theUseOpacityMapoption:

Possible values are:

0 - off

1 - on

   

<Fog>.Fog_Background Integer default: 1 

Get/set the Fog Background option.

Possible values are:

0 - off

1 - on

   

<Fog>.Fog_Type Integer default: 0 

Get/set theFogtype.

Possible values are:

0 - Standard

1 - Layered

   

<Fog>.Exponential Integer default: 0 

Get/set the state of the exponential fog option.

Possible values are:

0 - off

1 - on

   

<Fog>.Near Float default: 0.0 -- animatable, percentage 

Get/set the fog near value.

   

<Fog>.Far Float default: 100.0 -- animatable, percentage 

Get/set the fog far value.

   

<Fog>.Top Float default: 100.0 -- animatable 

Get/set the layered fog top location.

   

<Fog>.Bottom Float default: 0.0 -- animatable 

Get/set the layered fog bottom location.

   

<Fog>.Density Float default: 50.0 -- animatable 

Get/set the layered fog density.

   

<Fog>.falloff Integer default: 2 

Get/set the layered fogfalloffmode.

Possible values are:

0 - Top

1 - Bottom

2 - None

   

<Fog>.Horizon_Noise Integer default: 0 

Get/set the state of theHorizonNoiseoption.

Possible values are:

0 - off

1 - on

   

<Fog>.size Float default: 20.0 -- animatable 

Get/set the noise size.

   

<Fog>.angle Float default: 5.0 -- animatable, angle 

Get/set the noise angle.

   

<Fog>.phase Float default: 0.0 -- animatable 

Get/set the noise phase.

NOTE:

You currently cannot assign texture maps as the color and opacity maps using MAXScript. Once these texture maps have been assigned, they are accessible as subAnims of Fog.

   

See Also