Upgrade to Pro — share decks privately, control downloads, hide ads and more …

VR for Web Developers with A-frame

Rebecca Poulson
April 01, 2017
100

VR for Web Developers with A-frame

Rebecca Poulson

April 01, 2017
Tweet

Transcript

  1. But what does that really mean? • Gives you access

    to your VR device • VR device “pose” • Field of view • Renders an immersive three dimensional display
  2. How does VR mode change an image? • Split screens

    • Mesh-based barrel distortion • Chromatic aberration correction
  3. Why is WebVR important? • We want the Metaverse to

    be built by and for all kinds of people • Open standards and Open source make it easier for new and smaller companies to bring their products to market. • Very few people have VR headsets, very many people have smartphones with web browsers!
  4. How do we avoid barfing? • Keep the framerate up

    • Low latency. • Avoid sharp and unexpected camera rotations • Add fixed points of reference for fixed objects so you don’t think you’re moving when you’re not. • Don’t try to fake cinematic depth of field (there’s no frame to encourage the viewer to focus on a specific area) • Avoid sudden lighting transitions.
  5. Encourage your user to discover information using strategies other than

    left → right and up → down https://medium.com/the-language-of-vr/in-the-blink-of-a-mind-attention-1fdff60fa045#.pdmehsi9b By Jessica Brillhart
  6. • General purpose object • Pretty much does nothing •

    Ships with position, rotation and scale components attached Entity <a-entity>
  7. • An entity with components already attached to it •

    Useful, basic shapes for building scenes • Box, sky, camera, light, octahedron, text... Primitive <a-sky>
  8. • Kind of like CSS • Modular chunk of data

    that you can “plug in” to an entity • Describes behavior, functionality, or appearance Component color: size:
  9. 1. Make sure your phone is on the same WiFi

    network as your laptop 2. Go to “Systems Preferences” on your laptop and open up “Network” 3. Type the IP address that you see into your phone’s browser, followed by a “:” and the number of the port you’re running your server on 4. Hit the VR mode button in the bottom right corner of your phone’s screen and pop your phone into your Cardboard!