-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vrPosDev.getState().orientation always returns {x:0,y:0,z:0,w:0} on OS X/DK2 #8
Comments
I have seen this on Windows 7 with an HD Prototype. I've checked for this in ogsjs https://github.com/Teybeo/osgjs/blob/develop/sources/osgViewer/eventProxy/Oculus.js#L87-L91 Btw @vvuk, wouldn't it better for this to be [0, 0, 0, 1] as a neutral identity quaternion ? |
@Teybeo You're right; it returns the fake device even when no hmd device is connected. also +1 for [0,0,0,1] as neutral quaternion. |
I'm seeing the same thing with a DK1 on OS X. The browser seems to be failing to detect the device and is falling back to the fake device, though the latest Chrome build works fine. I'm using the 0.4.2 SDK and the 2014-08-18 Firefox Nightly VR build. |
For the record, the usb driver hack does not fix the problem. |
On OS X (10.9.2) and DK2 it seems to detect the HMD + orientation device correctly:
However orientation data does not seem to get initialized/updated:
I don't know if this is related, but https://github.com/benvanik/vr.js/tree/master/experimental/usb-driver talks about how
*) Not sure if this only applies to Chrome or if this would affect Firefox as well.
The text was updated successfully, but these errors were encountered: