A SERVICE OF

logo

Overview
171
Figure 15-2 Sound Direction
In this gure, (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 sounds location and direction.
Cosmo 3D provides the following limiting tools to fashion the attenuation of the sound
over the ellipse:
Maximum intensitydenes the maximum possible volume regardless of how
close the listener is to the sound source.
Minimum intensitydenes the lowest possible volume of a sound. In practice,
since this value is often set to zero, the minimum intensity perimeter denes the
range of the sound.
The setIntensity() eld species the volume of the sound at its source. The
setMaxIntensity() eld species 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 specied by
setIntensity(). The maxFront() eld species 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