On 20 Sep 2009, at 09:25, Erik Hofman wrote:

> I might need some help to understand quads, but I am converting it to
> SGVec3f where ever possible.

No problem, I'm sure Mathias / Tim / myself can oblige.

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!

I do recall some story, that there was a problem with giving the  
OpenAL listener a non-default position, but I've totally forgotten the  
origin of that story, whether it applied to a specific OpenAL version/ 
platform, or whatever. Or maybe I imagined it.

Regards,
James


------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
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