Re: Panning Sound to left or right
Chris Robinson <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
On Friday, August 27, 2010 7:41:03 am Daniel PEACOCK wrote:
> Hi Sven,
>
> >>ListenerObjectOri: {0.0,0.0,0.0,0.0,0.0,1.0}
>
> This is not a valid orientation. The orientation consists of two vectors
> - an "at" and an "up" both of which should be normalized (i.e have a
> magnitude of 1). The "at" vector tells us which direction the listener is
> facing, and the "up" vector indicates which direction the listener's head
> is (rather than their feet!). The default listener orientation is
> (0,0,1,0,1,0) which means the listener is facing into the screen (0,0,1)
> and they are standing straight up (0,1,0).
Actually, the default is {0,0,-1,0,1,0}. It follows OpenGL's orientation
system, where -z goes into the screen, instead of +z like in DSound/D3D. :)
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal