Fwd: Re: Panning Sound to left or right

Sven Kaempf <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>

-------- Original Message --------
Subject: 	Re: [Openal] Panning Sound to left or right
Date: 	Fri, 27 Aug 2010 17:14:12 +0200
From: 	Sven Kaempf <[email protected]>
To: 	Daniel PEACOCK <[email protected]>



Hi Daniel,

at first thank you very much for you "fast-as-light"-answer :). Wow.

Your answer is very helpful!

The current full setup now is:

ALfloat SourcePos[] = { 0.0, 0.0, 1.0 };
ALfloat SourceVel[] = { 0.1, 0.1, 0.1 };
ALint SourceInAngle = 90;
ALint SourceOutAngle = 250;
ALfloat SourceDir[] = {0.0, 0.0, 1.0};
ALfloat ListenerPos[] = { 0.0, 0.0, 0.0 };
ALfloat ListenerVel[] = { 0.1, 0.1, 0.1 };
ALfloat ListenerOri[] = { 0.0, 0.0, 1.0,  0.0, 1.0, 0.0 };

and it appers to me, that this works fine.

Now only one question is left.

If I turn the Listener object to {-10, 0, 0}, the sound source "walks"
to the right side... but shoudn't it go left?

Best Regards

Sven

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.