3ds Max 2012 Bible - Kelly L. Murdock [483]
FIGURE 46.10
You can use the Fire atmospheric effect to create clouds.
Using the Fog Effect
Fog is an atmospheric effect that obscures objects or backgrounds by introducing a hazy layer; objects farther from view are less visible. The normal Fog effect is used without an Atmospheric Apparatus gizmo and appears between the camera's environment range values. The camera's Near and Far Range settings set these values.
In the Environment and Effects dialog box, the Fog Parameters rollout appears when the Fog effect is added to the Effects list. This rollout, shown in Figure 46.11, includes a color swatch for setting the fog color. It also includes an Environment Color Map button for loading a map. If a map is selected, the Use Map option turns it on or off. You can also select a map for the Environment Opacity, which affects the fog density.
The Fog Background option applies fog to the background image. The Type options include Standard and Layered fog. Selecting one of these fog background options enables its corresponding parameters.
FIGURE 46.11
The Fog Parameters rollout lets you use either Standard fog or Layered fog.
The Standard parameters include an Exponential option for increasing density as a function of distance. If this option is disabled, the density is linear with distance. The Near and Far values are used to set the range densities.
Layered fog simulates layers of fog that move from dense areas to light areas. The Top and Bottom values set the limits of the fog, and the Density value sets its thickness. The Falloff option lets you set where the fog density goes to 0. The Horizon Noise option adds noise to the layer of fog at the horizon as determined by the Size, Angle, and Phase values.
Figure 46.12 shows several different fog options. The upper-left image shows the scene with no fog, the upper-right image uses the Standard option, and the lower-left image uses the Layered option with a Density of 50. The lower-right image has the Horizon Noise option enabled.
Using the Volume Fog effect
You can add the Volume Fog effect to a scene by clicking the Add button and selecting the Volume Fog selection. This effect is different from the Fog effect in that it gives you more control over the exact position of the fog. This position is set by an Atmospheric Apparatus gizmo. The Volume Fog Parameters rollout, shown in Figure 46.13, lets you select a gizmo to use with the Pick Gizmo button. The selected gizmo is included in the drop-down list to the right of the buttons. Multiple gizmos can be selected. The Remove Gizmo button removes the selected gizmo from the list.
FIGURE 46.12
A rendered image with several different Fog effect options applied
Note
The Atmospheric Apparatus gizmo contains only a portion of the total Volume Fog effect. If the gizmo is moved or scaled it displays a different cropped portion of fog. •
FIGURE 46.13
The Volume Fog Parameters rollout includes parameters for controlling the fog density and type.
The Soften Gizmo Edges value feathers the fog effect at each edge. This value can range from 0 to 1.
Many of the settings for Volume Fog are the same as those for the Fog effect, but Volume Fog has several settings that are unique to it. These settings help set the patchy nature of Volume Fog. Step Size determines how small the patches of fog are. The Max Steps value limits the sampling of these small steps to keep the render time in check.
The Noise section settings also help determine the randomness of Volume Fog. Noise types include Regular, Fractal, Turbulence, and Invert. The Noise Threshold limits the effect of noise. Wind settings include direction and strength. The Phase value determines how the fog moves.
Tutorial: Creating a swamp scene
When I think of fog, I think of swamps. In this tutorial, you model a swamp scene. To use the Volume Fog effect to create the scene, follow these steps:
1. Open the Dragonfly in a foggy swamp.max file from the Chap 46 directory on the CD.
This file includes several cattail