3ds Max 2012 Bible - Kelly L. Murdock [251]
You can also access the Volume Light effect from the Atmospheres and Effects rollout in the Modify panel when a light is selected.
Cross-Reference
Chapter 46, “Using Atmospheric and Render Effects,” covers the other atmospheric effects. •
Volume light parameters
At the top of the Volume Light Parameters rollout, shown in Figure 20.14, is a Pick Light button, which enables you to select a light to apply the effect to. You can select several lights, which then appear in a drop-down list. You can remove lights from this list with the Remove Light button.
FIGURE 20.14
The Volume Light Parameters rollout in the Environment dialog box lets you choose which lights to include in the effect.
In the Volume section, the Fog Color swatch lets you select a color for the fog that is seen within the light. This color is combined with the color of the light. The Attenuation Color is the color the fog appears to have at a distance far from the light source. This color also combines with the Fog Color and is best set to a dark color.
The Density value determines the thickness of the fog. The Exponential option causes the density to increase exponentially with the distance. The Max and Min Light Percentage values determine the amount of glow that the volume light causes, and the Attenuation Multiplier controls the strength of the attenuation color.
You have four options for filtering shadows: Low, Medium, High, and Use Light Smp Range. The Low option renders shadows quickly but isn't very accurate. The High option takes a while but produces the best quality. The Use Light Smp Range option bases the filtering on the Sample Volume value and can be set to Auto. The Sample Volume can range from 1 to 10,000. The Low option has a Sample Volume value of 8; Medium, 25; and High, 50.
Note
Only Shadow Map type shadows cast shadows through volume fog. •
The Start and End Attenuation values are percentages of the Start and End range values for the light's attenuation. These values have an impact only if attenuation is turned on for the light.
The Noise settings help to determine the randomness of Volume Light. Noise effects can be turned on and given an Amount. You can also Link the noise to the light instead of using world coordinates. Noise types include Regular, Fractal, and Turbulence. Another option inverts the noise pattern. The Noise Threshold limits the effect of noise. Wind settings affect how the light moves as determined by the wind's direction, Wind Strength, and Phase.
Figure 20.15 shows several volume light possibilities. The left image includes the Volume Light effect, the middle image enables shadows, and the right image includes some Turbulent Noise.
FIGURE 20.15
The Volume Light effect makes the light visible.
Tutorial: Showing car headlights
One popular way to use volume lights is to display the headlights of cars. For this tutorial, you're going to use the Delfino Feroce 2001 car model created by Viewpoint Datalabs.
To display the headlights of a car, follow these steps:
1. Open the Car headlights.max file from the Chap 20 directory on the CD.
This file includes a model of a car.
2. Select the Create⇒Lights⇒Standard Lights⇒Target Spotlight menu command, and drag in the Left viewport to create a spotlight object. Select and move the spotlight and the target to be positioned to look as if a light is shining out from the left headlight.
3. Open the Modify panel, and in the Spotlight Parameters rollout, set the Hotspot value to 20 and the Falloff to 25, and in the Intensity/Color/Attenuation rollout, set the Decay setting to Inverse Square with a Start value of 3.0. In the Atmospheres and Effects rollout, click the Add button, select Volume Light from the Add Atmosphere or Effect dialog box that appears, and click OK.
Note
When a light is added to the scene, the default lights are automatically turned off. To provide any additional lighting, add some Omni lights above the car. •
4.