Overview
171
Figure 15-2 Sound Direction
In this figure, (1.0, 1.0, 0.0) is passed as the direction vector to setDirection(). The ellipse
tips, accordingly, at a 45 degree angle.
Note: A transformation node can reorient the sound’s location and direction.
Cosmo 3D provides the following limiting tools to fashion the attenuation of the sound
over the ellipse:
• Maximum intensity—defines the maximum possible volume regardless of how
close the listener is to the sound source.
• Minimum intensity—defines the lowest possible volume of a sound. In practice,
since this value is often set to zero, the minimum intensity perimeter defines the
range of the sound.
The setIntensity() field specifies the volume of the sound at its source. The
setMaxIntensity() field specifies the maximum volume of a sound. If a maximum
intensity is set, as is the case in Figure 15-2, the intensity of the sound within the
maximum intensity perimeter does not attenuate and is equal to the volume specified by
setIntensity(). The maxFront() field specifies the maximum intensity perimeter within
which the listener hears the maximum volume of the sound.
Sound direction
Sound source
Minimum forward sound
intensity perimeter
Maximum forward sound
intensity perimeter