Open ok-nl opened 7 years ago
/cc @olga-microsoft
Hi, I 'll be using aframe this fall and it would be amazing to try it with my cardboard and on Edge mobile, but unfortunately as reported it doesn't do it anymore. So I guess I am sending some encouragement here β¨ And I would be excited to see an update π³ π I am also working for Microsoft but not in Edge team π . (Maybe I can still help somehow? At least for testing...) π
@Malwine I donβt have a Windows Mobile phone to test on. Do you see any errors in console? Do any of the webvr-polyfill examples work. For example this one: https://webvr.info/samples/03-vr-presentation.html?polyfill=1
@dmarcos I will have a look π€
@dmarcos, getVRDisplays() in Edge on Windows Mobile returns 0 displays. The recommendation is to use Device Orientation API, whenever available, not only for phones. @Malwine I tried the polyfill link, the scene is jumping around. Our team will investigate, what causes the problem. Let me know if you have a different result.
@olga-microsoft Thank you for investigating!! π β€οΈ
I had exactly the same experience with my Lumia 950(Win 10) trying the polyfill link the boxes where jumping around and would only calm a bit when I put the phone on a stable ground (like a table). π°
But I had the feeling that it would react on rotating.
When I tried an aframe example I could not rotate(look to the side) with the Windows phone.
This triggered an old memory. A friend once told me that Edge Mobile DeviceMotion API apparently returns the rotationRate
in degrees instead of radians. We have to add an isEdgeMobile
clause to the following if statement in the polyfill to account for that:
That's why probably the webvr-polyfill
examples orientation jumps around
@dmarcos The spec mentions that degrees are expected: "The rotationRate attribute must be ... expressed in degrees per second (deg/s)." Would it be better to invert the if-clause instead?
@olga-microsoft Probably. The decision should be made by the polyfill maintainers.
I opened another request which seems to be related after some further research #3190 I work on an android device (Epson Moverio BT-300) which will no longer be detected as a VRDevice since 0.7.0. However, in 0.6.1 it works. Also the Three.js misc_controls_deviceorientation example works fine. When loading the 0.6.1 aframe-master.js the getVRDisplays returns a valid display. with 0.7.0 it does no longer return a display.
Sinde the update to version 0.7.0, the enter vr button injected by the framework is not functioning. You can click the button, but nothing happens. Bug is reproduceable on the Aframe VR examples.