[Openal] AL_POSITION affects Doppler Shift

Garin Hiebert garinh at cheesetoast.net
Thu Nov 16 10:41:38 PST 2006


> Doppler needs to take into account the position... 

Doh!  Re-reading the original email, it's clear (stated in code, in 
fact) that there is a velocity being set.  My original 
quickie-impression was that a Doppler shift was being observed by 
setting position calls only -- no velocities... 

Tim -- download the OpenAL 1.1 spec and check out section 3.5.2 (don't 
use the online spec for this, because the graphics aren't formatted 
correctly in the online version).  The reason position does affect 
Doppler is that the velocities are projected on the Source-to-Listener 
vectors.  If you look at the spec and run through some examples on 
paper, it should make sense.

Garin



More information about the Openal mailing list