[Openal-devel] AL_EXT_source_distance_model
Erik Hofman
erik at ehofman.com
Wed Nov 26 01:58:19 PST 2008
Erik Hofman wrote:
> Last night I had an idea that might just be good enough (and simple
> enough) not to consider:
>
> I noticed the EFX extensions defined AL_AIR_ABSORPTION_FACTOR
>
> How about combining the current model and the air absorption factor to
> influence distance attenuation by multiplying to this factor before
> doing the attenuation?
>
> Now you have linear, exponential and inverse distance models and a way
> to control it's roll-off distance.
> Would that be sufficient?
I just remembered there is already an rolloff factor specified for
distance attenuation, although that causes a linear rolloff. Adding
another factor might be useful but it's result will not be as simple as
I had hoped for.
Erik
More information about the Openal-devel
mailing list