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

Mobile Day Mexico 2017

Mobile Day Mexico 2017

Avatar for Rabimba Karanjai

Rabimba Karanjai

October 31, 2017

More Decks by Rabimba Karanjai

Other Decks in Technology

Transcript

  1. What the Heck Doodle? ARKit ARCore MR VR XR AR

    Oculus Sony Vive Meta HoloLens
  2. What You’ll Learn Today • What is VR / AR

    / MR? • Why is this all happening now? • What do I really need to know?
  3. What is VR/AR/MR? VR: Virtual Reality AR: Augmented Reality MR:

    Mixed Reality XR: We don’t know Reality
  4. Virtual Reality • Completely immersive • Wide field of view

    • Fast refresh rate (90+fps) • Fast sensor refresh
  5. Virtual Reality Markup Language • Scene based • In the

    browser • Slow to download • Slow to render
  6. Smartphone+ Era • Dual cameras • Depth sensing cameras •

    Machine Learning in hardware • Even more powerful GPU & CPU
  7. Tech Stack for VR & AR Input: Sensors & Camera

    Processing: Image & Sensor Fusion Drawing: 3D Graphics API Application: Framework
  8. Input: Sensors & Camera • Accelerometer: relative to gravity •

    Magnetometer: relative to earth’s magnetic field • Gyroscope: relative angle movement ◦ 9DOF sensor breakout board for 15$ @ Adafruit! • Optical Camera: standard phone camera • Stereo Camera: dual camera setup • Depth Sensing Camera: Kinect, Face ID
  9. Processing the 3D Environment • Markers: Symbols or Beacons •

    SLAM: Simultaneous Localization and Mapping • MonoSLAM: SLAM in real-time with just one camera
  10. WebVR • Mobile: used by web apps for Google Cardboard

    on any phone. • Desktop: works with major HMDs • Shipping: Firefox for Windows • Beta: Chrome, FF for other platforms
  11. WebXR: Work In Progress! • Proposed Future Web Standard •

    Extend WebVR with new features • Work with ARKit & ARCore • Polyfill for old browsers using WebRTC + sensors https://github.com/mozilla/webxr-api https://github.com/mozilla/webxr-polyfill
  12. Drawing: Graphics APIs • Medium Level ◦ OpenGL (ES) ◦

    DirectX ◦ WebGL • Low Level ◦ Metal ◦ Vulkan ◦ Direct X 12 • High Level ◦ Unity ◦ Unreal ◦ Three.js ◦ Babylon.js
  13. Application: Frameworks • Scene Kit • Cardboard & Daydream •

    Hololens Academy • React VR • ArgonJS • A-Frame
  14. What do you *really* need to know? • Start with

    web stack • Follow Mozilla and Google and Microsoft • Play with A-Frame • Get a Cardboard viewer.
  15. What can I do? • Experiment! We are still in

    the Model T days! • No one knows what the killer app will be. • First new medium in decades • Go play!
  16. State of WebVR and Aframe The web framework for building

    VR experiences @rabimba | Mozilla VR | aframe.io
  17. Hello World <a-scene> <a-box color="#4CC3D9" position="-1 0.5 -3" rotation="0 45

    0"></a-box> <a-cylinder color="#FFC65D" position="1 0.75 -3" radius="0.5" height="1.5 <a-sphere color="#EF2D5E" position="0 1.25 -5" radius="1.25"></a-sphere> <a-plane color="#7BC8A4" position="0 0 -4" rotation="-90 0 0" width="4" h <a-sky color="#ECECEC"></a-sky> </a-scene>
  18. <a-animation> <a-box> <a-camera> <a-circle> <a-collada-model> <a-cone> <a-cursor> <a-curvedimage> <a-cylinder> <a-dodecahedron>

    <a-isocahedron> <a-image> <a-light> <a-obj-model> <a-plane> <a-ring> <a-tetrahedron> <a-torus> <a-torus-knot> <a-sky> <a-sound> <a-sphere> <a-videosphere>