Re: Units for position?

[email protected] Wed, 2 Jan 2013 08:46:24 -0500
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
(responses inline)

> Mark,
>
> Been 'off-grid' for the past week or so, so have just seen this trail
> of messages.
>
> In JMRI, we have already foreseen the option to define the meaning of
> units - it's defined within the JMRI AudioListener object (I know that
> this isn't strictly a Listener property within the OpenAL context).
>

Aah. Good.  I should be able to take advantage of that, as soon as I
figure out how to use it in context...


> For the attenuation question, by default we use the
> AL_INVERSE_DISTANCE_CLAMPED attenuation model.
>

I'll need to look this up and understand it.

> At the moment, there is no option to change this model (I hard-coded
> it) - the only option is to turn-off attenuation completely (and that
> isn't exposed in the GUI, purely through the scripting layer).
>
> One thing that I did notice when initially playing with panning was to
> set the listener position to, rather than being at (0, 0, 0), to be at
> (0, 0, -1) <- assuming the standard OpenAL co-ordinate model (in other
> words, standing 1 'unit' back from the edge of the layout.
>

How does this differ from having the listener at (0,0,0) and all layout
elements at (x, y, z > 1), that is, all layout elements at least one unit
in front of the listener/origin?  I may have to experiment to see.

> Hopefully this helps you along the right track...
>

Thanks!!


_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal