On Sun, Sep 20, 2009 at 6:23 AM, Erik Hofman <e...@ehofman.com> wrote:

>
>
> > One other I've remember from looking at the code - for some reason we
> > always positioned the listener at (0,0,0), and do a lot of work to
> > transform world positions into a listener-relative basis. As I
> > understand it, OpenAL can do that itself, i.e we could use a 'world'
> > transform for most of the source positions (which would be simpler),
> > and pass the FGViewer orientation as the OpenAL listener orientation.
> > I *think* at that point the OpenAL and OSG local cartesian systems
> > would be in-sync, which might help people generally understanding the
> > code!
>
> True, and I expect it's also the reason why doppler didn't work
> correctly (besides that the listener velocity wasn't updated while
> OpenAL needs both the listener velocity and the source velocity for
> proper calculation of the doppler effect).
>
 There were also some issues with OpenAL 1.0, which were solved by 1.1, I
recall sending a patch for this issue a while ago, I never check if it got
accepted, etc, since life has been hectic :-) The issue of not setting
listener velocity would of course also need addressing (doppler is all about
relative velocity!).


> What I'm planning on doing is let the SoundManager handle the OpenAL
> context suff /and/ the listener properties and let the individual
> SampleGroups handle positioning and handling the properties of all
> associated samples.
>
 I'm also interested in OpenAL and did a little work on this area, I'm very
busy these days but I would like to continue contributing :)
 Matias D'Ambrosio
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to