Presented at Web Unleashed 2017. More info at www.fitc.ca/webu
Presented by Kevin Vandecar, Autodesk
Overview
With different virtual reality (VR) devices in the market, the VR experience is getting more and more popular by consumers. WebVR brings the VR concept to the web by providing interfaces to VR hardware. This makes it much easier to build a VR experience with content delivered through a web browser. This topic will introduce the WebVR specification, and will show some interesting demos of how it can be used. There are several frameworks you can work with and even mix together. Kevin will discuss some different frameworks including Three.js, Autodesk Forge Viewer, and ReactVR. The talk will feature live demos, and the code behind the different examples.
Objective
Learn what WebVR is and how it could help your web experience.
Target Audience
Front-end developers who are interested in VR/AR experiences.
Assumed Audience Knowledge
Basic web dev skills
Five Things Audience Members Will Learn
What is WebVR
Introduction to a few WebVR frameworks
Different WebVR hardware experiences
Options to author/obtain content for WebVR experiences
Touch on AR possibilities
5. 3D experience
…but content does not have to be…
• Stereo Images
• Ex: Cardboard Camera VR Photo Format
• Sample:
file:///C:/work/GitHub/Forge/JohnOnSo[ware/IronmanViewer/
stac_assets/sky.jpg
• Panorama formats
• Ex: PTGui and Panotools
• Spherical images
18. WebVR Devices – Google Cardboard
• Device needs to
• support WebGL
• have proper Sensors
19. WebVR Devices – Google Daydream
• Not many yet…
• hTps://vr.google.com/
daydream/smartphonevr/phones/
20. Google Cardboard vs. Daydream
• Hardware and So[ware
• Cardboard… no real “current” requirements except sensors
• Gyroscope, accelerometer, compass
• Android 4.1, iOS 8, Windows Phone 10.
• Daydream…
• More specific: hTps://vr.google.com/daydream/smartphonevr/phones/
• Material
• Cardboard… well, made of cardboard
• Daydream… beTer material, with cloth that can be removed/washed
• Communicaon
• Cardboard… a washer/magnet
• Daydream… NFC
• Controllers
• Cardboard… a washer/magnet
• Daydream… A specially deigned controller
21. WebVR Devices
• Samsung VR – by Oculus
• Good and affordable experience
• Limited to Samsung hardware (note 5, s6, s7, s8)
• Typical WebVR requirement is to use
Samsung Browser – but doesn’t work generically…
• Oculus Store provides apps
• hTps://www.oculus.com/gear-vr/
31. React VR
• Powered by Facebook
• What VR company does facebook own?
• React VR is now open source
• assets can be directly loaded/imported
• Natural plaporm:
• if you know React already
• want to mix 2D 360 content with 3D content
33. Autodesk Forge Viewer
• Uses three.js, so can mix
• subscripon model
• assets via SVF format
• potenally small amount of code
• Many 3D navigaon, viewing and data aspects provided
• Meta data included
• Handles very large models/data sets