[Openal] Rolloff vs distance scale

Jarryd Beck jarro.2783 at gmail.com
Wed Apr 15 16:40:48 PDT 2009


On Thu, Apr 16, 2009 at 8:34 AM, Andreas Bednarek <andris at seznam.cz> wrote:

> Hi,
>
> can anybody explain the difference between AL_ROLLOFF_FACTOR and
> AL_DISTANCE_SCALE?
>
> The online docs mention only AL_ROLLOFF_FACTOR
>
> Am very new to OpenAL, actually using it from .NET with Tao.OpenAL
>
> Thanks
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>

AL_ROLLOFF_FACTOR is the amount that your sound will drop off as by the
inverse square law, but you can change the factor by which it drops off. I
haven't heard of AL_DISTANCE_SCALE, and it's not in any header I have, are
you sure you've got the right value.

Jarryd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090416/0a525a74/attachment.html


More information about the Openal mailing list