First steps into 3d, three.js and virtual reality
- Local webserver (ex. php -S localhost:7777, apache, nginx)
- Grunt for packaging
+- root [ should contain a minified diorama.js ] +- vendor [ third party libs like THREE.js and OculusBridge ] +- dist [ oculus bridge packaged for supported platforms ] +- assets [ css, images required by base library ] +- plugins [ diorama plugins, optionally loaded ]
npm install grunt-cli
npm install
grunt
cp -Rf build/* /path/to/project
Three.js; http://threejs.org/ oculus-bridge; https://github.com/Instrument/oculus-bridge Example image from wikimedia; http://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Olso_panorama.jpg/2880px-Olso_panorama.jpg