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

is webvr-polyfill compatible with the newest versions of THREE.js? #340

Closed
iambumblehead opened this issue Mar 14, 2019 · 5 comments
Closed

Comments

@iambumblehead
Copy link

iambumblehead commented Mar 14, 2019

Description:

I updated packages in a webvr-polyfill-using application and now see the black screen reported here in Samsung 8, Chrome (the only device I have for testing this). Previously this worked fine.

the latest versions of THREE.js no longer include VREffect and VRControls scripts. Which version of webvr-polyfill and THREE.js should we use?

Additional Information:
  • webvr-polyfill version: 0.10.10
  • Browser name/version/release channel: Chrome 72.0.3626.105
  • Operating System: Samsung
@jsantell
Copy link
Contributor

Three has support for WebVR via renderer.vr.enabled = true, check out the demos for that.

Separately, the webvr polyfill can be included to provide the WebVR API if the platform does not exist

@iambumblehead
Copy link
Author

iambumblehead commented Mar 15, 2019

@jsantell I found that, in my Samsung 8 chrome browser, it is necessary to visit chrome://flags/ to enable support for vr mode there and so I will probably continue using webvr-polyfill.

Do you know, is there is a way to use webvr-polyfill and three.js without VRControls and VREffect scripts, or are those scripts required for webvr-polyfill to be used with three.js?

@iambumblehead
Copy link
Author

@jsantell is Web VR commonly supported in phone browsers? Would you still recommend using native Web VR, even though it is not supported in the current Samsung 8 chrome browser?

What are your thoughts and recommendations?

@jsantell
Copy link
Contributor

@jsantell I found that, in my Samsung 8 chrome browser, it is necessary to visit chrome://flags/ to enable support for vr mode there and so I will probably continue using webvr-polyfill.

Do you know, is there is a way to use webvr-polyfill and three.js without VRControls and VREffect scripts, or are those scripts required for webvr-polyfill to be used with three.js?

VRControls and VREffect are no longer necessary #340 (comment)

@jsantell is Web VR commonly supported in phone browsers? Would you still recommend using native Web VR, even though it is not supported in the current Samsung 8 chrome browser?

What are your thoughts and recommendations?

Here's the most accurate support matrix I'm aware of: https://caniuse.com/#search=webvr. The polyfill is still necessary to support a majority of users (most notably at the moment, Chrome, which is supporting the in-flux WebXR API)

@iambumblehead
Copy link
Author

@jsantell thank you

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