OpenAL Specification and Reference | ||
---|---|---|
<<< Previous | State and State Requests | Next >>> |
With the DS3D compatible Inverse Clamped Distance Model, AL provides a per-Source MAX_DISTANCE attribute that can be used to define a distance beyond which the Source will not be further attenuated by distance. The DS3D distance attenuation model and its clamping of volume is also extended by a mechanism to cull (mute) sources from proccessing, based on distance. However, AL does not support culling a Source from processing based on a distance threshold.
At this time AL is not meant to support culling at all. Culling based on distance, or bounding volumes, or other criteria, is best left to the application. For example, the application might employ sophisticated techniques to determine whether sources are audible that are beyond the scope of AL. In particular, rule based culling inevitably introduces acoustic artifacts. E.g. if the Listener-Source distance is nearly equal to the culling threshold distance, but varies above and below, there will be popping artifacts in the absence of hysteresis.
![]() | Annotation (No MAX_DISTANCE plus MUTE) |
---|---|
AL does support the AUDIBLE mode with MAX_DISTANCE (clamping), but does not support culling. Applications that employ this DS3D feature will have to perform their own distance calculation and mute the source (Source GAIN equals zero) as desired. |
<<< Previous | Home | Next >>> |
Evaluation of Gain/Attenuation Related State | Up | Velocity Dependent Doppler Effect |