Fyrd / caniuse

Raw browser/feature support data from caniuse.com
https://caniuse.com
Creative Commons Attribution 4.0 International
5.62k stars 1.38k forks source link

WebVR: can we start tracking the state of support now? #2091

Closed lunarcloud closed 7 years ago

lunarcloud commented 8 years ago

It may be early, but they've been working on it for a few years and we're soon to get consumer releases of VR headsets

https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API http://blog.tojicode.com/2014/07/bringing-vr-to-chrome.html http://mozvr.com/

Utopiah commented 8 years ago

Indeed it would be great, it's precisely now that it's not yet widely adopted that it would be the most useful!

idlework commented 8 years ago

:+1:

tbalouet commented 8 years ago

:+1:

ashconnell commented 8 years ago

+1

Utopiah commented 8 years ago

Until it does get accepted (despite the 1.0 specs from major player, namely Google and Mozilla) there is https://iswebvrready.org

lcb931023 commented 8 years ago

👍

ghost commented 8 years ago

:+1:

pindiespace commented 8 years ago

The WebVR 1.0 spec is out, and here it is!

https://w3c.github.io/webvr/

Right now, no browser supports it, except in experimental Chromium and Nightly builds. However, there is a very complete polyfill at https://github.com/borismus/webvr-polyfill

However, it is important to note that the current webvr-polyfill is supporting the OLD API - there is a WebVR 1.0 branch, but it is not the main branch yet. Make sure you grab the 1.0 version for experiments. Also, make sure you have the correct Firefox Nightly build supporting 1.0 - older FF is still supporting the old API. (VRDevice instead of VRDisplay).

The feature test could be really simple:

navigator.getVRDisplays().then(function (displays) {
  if (!displays.length) {
    // WebVR is supported, no VRDisplays are found.
    return;
  }

This page describes feature-detecting and using WebVR 1.0. Promise support required, since .getVRScreens returns a Promise.

https://hacks.mozilla.org/2016/03/introducing-the-webvr-1-0-api-proposal/

The Slack channel where you can find all the usual suspects developing and using WebVR is: https://webvr.slack.com

Finally, there is a lot of work using the a-frame JS library, which creates VRML like static markup in HTML to create simple VR scenes.

http://aframe.io

Schweinepriester commented 8 years ago

+1

pindiespace commented 8 years ago

Since this earlier post, webvr-polyfill supports both the WebVR 1.0 spec and the older, Mozilla-specific versions.

pindiespace commented 8 years ago

Here's a caniuse style test suite for the webvr 1.0 spec.

webvr-caniuse-tests.zip

More sub-tests can be added as it solidifies. For now, the tests all work with webvr-polyfill and should work with Chromium experimental, which supports WebVR.

REFERENCES:

WebVR 1.0 Spec https://w3c.github.io/webvr/

Slack Channel http://webvr.slack.com

Chromium builds:

https://webvr.info/get-chrome/

More information on Firefox and Samsung Gear VR https://iswebvrready.org/faq.html

This site details related APIs (e.g. gamepad) https://iswebvrready.org/

Tests based on: https://w3c.github.io/webvr/

reidblomquist commented 8 years ago

👍

ethansg commented 8 years ago

Yes! Awesome!

waldyrious commented 8 years ago

FYI, the chromium issue has been assigned the M55 milestone: https://bugs.chromium.org/p/chromium/issues/detail?id=389343#c53

btw, @pindiespace, the link in your comment above, to https://github.com/borismus/webvr-polyfill, somehow points to https://github.com/Fyrd/caniuse/issues/url instead. Please take a look.

pindiespace commented 8 years ago

Corrected and checked all polyfill links, are there any others? The polyfill and many examples use THREE.js. I should also note that BabylonJS supports WebVR, but it puts it inside special-purpose cameras (WebVRFreeCamera). Finally, there is markup-based WebVR at A-Frame.io

matthewsimo commented 7 years ago

👍

Fyrd commented 7 years ago

Now available at http://caniuse.com/#feat=webvr

pindiespace commented 7 years ago

Great! Note that Google Chrome Canary is supporting, if you turn on with chrome://flags. Support from Chrome, Firefox, Edge, and mobile Chrome and FF in the next month or so.

Samsung Internet browser is now supporting (they had it in beta from Spring 2016).

Also, Oculus Carmel will be a dedicated WebVR web browser - developer previews from Oculus.

The laggard - Safari - horrible, and tends to break even with WebVR-Polyfill https://github.com/googlevr/webvr-polyfill

Plenty of updates on the Slack channel - http://webvr.slack.com

waldyrious commented 7 years ago

Plenty of updates on the Slack channel - http://webvr.slack.com

That page says: "If you have an @mozilla.com, @google.com or @vizor.io email address, you can create an account." -- is this meant to be a channel for internal discussion only?

pindiespace commented 7 years ago

No, you have to go to the Heroku signup:

http://webvr-slack.herokuapp.com/

On Sun, Feb 12, 2017 at 6:27 PM, Waldir Pimenta notifications@github.com wrote:

Plenty of updates on the Slack channel - http://webvr.slack.com

That page says: "If you have an @mozilla.com, @google.com or @vizor.io email address, you can create an account." -- is this meant to be a channel for internal discussion only?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Fyrd/caniuse/issues/2091#issuecomment-279279939, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOuanh_2LhGqkDqeN0dgcUzF6fnCTbUks5rb7-WgaJpZM4Gj3zF .

--

================= Dr. Pete Markiewicz Email: pindiespace@gmail.com Sustainable virtual design blog: http://sustainablevirtualdesign.wordpress.com Sustainability template: http://greenboilerplate.com Sustainable Ux in Virtual Reality for Sustainable Ux 2017 (narrated): *https://youtu.be/bU0tz05lcBw https://youtu.be/bU0tz05lcBw*My "Ux in VR" presentations on Google Docs (note you can comment) WebVR 1.0 API https://docs.google.com/presentation/d/13a29m0SbpTeItFP8fjrSoKNb7nsjAd4DC9lWnokWEfg/edit?usp=sharing Sustainable Ux in VR https://docs.google.com/presentation/d/1OTXaz3RuV0HWgM754PRMUC7d2KYVHH974s5hnAt53wk/edit?usp=sharing Teaching site: http://plyojump.com http://www.plyojump.com/ Buy my book! - Millennials and the Popular Culture Lifecourse: http://www.lifecourse.com/store/catalog/lca/mpc.html Amazon Author Page: http://www.amazon.com/Pete-Markiewicz/e/B0069VZ7BG/ref=ntt_athr_dp_pel_pop_2 On that page, see my DARPA Grand Challenge 2005 entry video, "Team Robomonster": Team Robomonster (DARPA 2005 Grand Challenge): http://robotsthatjump.wordpress.com/category/team-robomonster/ Indiespace (1st to sell downloaded music, March 1994): http://www.indiespace.com. Also see http://archive.org under "Kspace.com" 1996 for our original site.

=================