/VR-Boilerplate

VR Boilerplate for threejs

Primary LanguageJavaScript

three.js VR-Boilerplate

Setup

  • clone this repo: git clone https://github.com/saschas/VR-Boilerplate
  • Open your Terminal
  • cd into the location of the folder e.g. cd <YOUR-PATH>/VR-Boilerplate-master
  • If you have npm already installed: npm install in order to install the dependencies otherwise follow the instructions here
  • gulp and gulp watch
  • Create a local HTTP Server python -m SimpleHTTPServer 8080 (mac only)
  • Open your Browser localhost:8080

View it on your Phone

  • Find out your IP Address
  • Open your browser: <IP-Address>:8080

Special Tribute

Device Orientation controls

Stereo Effect

Orbit controls