[Openal] GL and AL coordinates different?

Bernardo Escalona escalonab at gmail.com
Wed Apr 6 10:32:22 PDT 2005


> At first glance, in both your demos you don't use the same coordinates
> for gl and al. So, this seems normal that you encounter some errors.

At the bottom of the code i sent you can see im moving the al listener
and source to the same coordinates i used to position the gl objects:

> >       alListenerfv(AL_POSITION,listenerPos);
> >       alListenerfv(AL_VELOCITY,listenerVel);
> >       alListenerfv(AL_ORIENTATION,listenerOri);
> >       alSourcefv(source[0], AL_POSITION, source0Pos);
> >       alSourcefv(source[0], AL_VELOCITY, source0Vel);


-- 
___________________________________________
Bernardo Escalona Espinosa
tel: 56 22 85 23
cel: 55 18 56 74 73
http://www.bernsonline.com/



More information about the Openal mailing list