Skip to content
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

Does this still work and maybe I'm using it wrong? #347

Open
greggman opened this issue May 6, 2019 · 1 comment
Open

Does this still work and maybe I'm using it wrong? #347

greggman opened this issue May 6, 2019 · 1 comment

Comments

@greggman
Copy link

greggman commented May 6, 2019

Description:

I took the three.js WebVR cubes examples and pasted it into jsfiddle

https://jsfiddle.net/greggman/q5dLye1z/

That says "WEBVR NOT SUPPORTED" which I expected

I then added the polyfill to the top of the HTML with

<script src='https://cdn.jsdelivr.net/npm/webvr-polyfill@latest/build/webvr-polyfill.js'></script>
<script>
var polyfill = new WebVRPolyfill();
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/104/three.min.js"></script>
<script src="https://threejs.org/examples/js/vr/WebVR.js"></script>
...

https://jsfiddle.net/greggman/8vtw670k/

and now I get VR NOT FOUND

Is that expected? I'm on a Mac. I was hoping to use the polyfill to let me develop without having to use a phone or headset all the time. Just drag the view

Additional Information:
  • webvr-polyfill version: 0.10.10
  • Browser name/version/release channel: Google Chrome | 74.0.3729.131 (Official Build) (64-bit)
  • Operating System: MacOS 10.14.4
@jsantell
Copy link
Contributor

Thank you for your patience! Currently, the polyfill doesn't create a sensor-based VRDisplay on desktop, nor has the mouse/keyboard-controllable display anymore: more information in the 0.10.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants