On Thu, 2012-03-29 at 19:36 +0200, ThorstenB wrote:
> A minor remaining issue was about documentation. README.xmlsound says 
> something like "reference-distance is the distance where the sound 
> volume is halved". According to OpenAL (and testing), this doesn't seem 
> to be quite right. Instead, reference-distance is the distance below 
> which the volume is clamped to its maximum. And volume is only 
> attenuated _above_ reference distance. Or are we missing something?

Looking at the sound code I see it uses AL_INVERSE_DISTANCE_CLAMPED
which indeed clamps the volume at the reference distance according to
the specs. I vaguely remember it used to be another model in the
beginning so I expect that's described in the docs.

Erik


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to