Skip to content

AndreaMelle/iosvr

Repository files navigation

iosvr

Virtual Reality kit for iOS, for Cardboard-like headsets (https://developers.google.com/cardboard/)

features

  • Virtual Reality rendering framework
  • Option for device only (no headset)
  • Distortion correction
  • Supports Opengl ES 2 and 3 (No Metal yet!)
  • SceneKit integration example
  • Unity plugin and example (via http://docs.unity3d.com/Manual/NativePluginInterface.html approach)
  • 360 video player example using AVFoundation and CVOpenGLESTextureCache (please provide your own 360 video in equirectangular format, 2:1 aspect ratio, for example 1920x960)
  • No NFC (obviously) and limited magnetic trigger support

credits

The code base started as a port of Google Android VR library (https://github.com/googlesamples/cardboard-java)

Part of the code was taken from: https://github.com/rsanchezsaez/CardboardSDK-iOS - so grateful to this project for motion sensor and screen settings implementation.