- From: Olivier Thereaux <notifications@github.com>
- Date: Wed, 11 Sep 2013 07:28:37 -0700
- To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
- Message-ID: <WebAudio/web-audio-api/issues/146@github.com>
> Originally reported on W3C Bugzilla [ISSUE-17356](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17356) Tue, 05 Jun 2012 11:46:06 GMT > Reported by Philip Jägenstedt > Assigned to Audio-ISSUE-68 (AudioListenerOrientation): AudioListener.setOrientation vectors [Web Audio API] http://www.w3.org/2011/audio/track/issues/68 Raised by: Philip Jägenstedt On product: Web Audio API https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioListener The setOrientation method takes two vectors, front and up. No constraints are given for these, nor is their interpretation defined. The gluLookAt function [1] is similar, and is defined as such: "The viewing matrix created is based on an eye point eyex,eyey,eyez, a reference point that represents the center of the scene centerx,centery,centerz, and an up vector upx,upy,upz. The matrix is designed to map the center of the scene to the negative Z axis, so that when a typical projection matrix is used, the center of the scene will map to the center of the viewport. Similarly, the projection of the up vector on the viewing plane is mapped to the positive Y axis so that it will point upward in the viewport. The up vector must not be parallel to the line-of-sight from the eye to the center of the scene." pyOpenGL [2] defines it in even more detail, with the actual transformation matrix being given. The Web Audio API needs a similar level of detail. [1] http://www.opengl.org/registry/doc/glu1.3.pdf [2] http://pyopengl.sourceforge.net/documentation/manual/gluLookAt.3G.html --- Reply to this email directly or view it on GitHub: https://github.com/WebAudio/web-audio-api/issues/146
Received on Wednesday, 11 September 2013 14:29:01 UTC