[Openal] Setting listener orientation
Peter.Soxberger at gmx.net
Sun Feb 14 08:11:02 PST 2010
I guess this is an often asked question but I didn't found any useful information for this problem:
I have the position (.x, .y, .z,) and the angles/orientation (.pan, .tilt, .roll) of the camera of a grafic engine. Setting the OpenAL listener position is easy. But how do I set the orientation?
This is the function but I don't know how I have to convert the angles into an "at" and "up" vector.
Could anybody tell me how this works? Btw. I have no clue what is ment by an at and up vector. Why doesn't OpenAL use angles for the orientation?
Thanks for your help!
NEU: Mit GMX DSL über 1000,- ¿ sparen!
More information about the Openal