forked from FoxelSA/freepano
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Rurik Bugdanov edited this page Aug 17, 2016
·
5 revisions
freepano is a WebGL panorama viewer based on three.js.
freepano has been tested on Ubuntu 14.04 LTS and comes with the following package dependencies:
- apache2 (or any webserver)
- node.js (optional, tested on 0.10.25)
- npm (optional, tested on 1.3.10)
Go to Apache's document root (or your webserver's document root):
$ cd /var/www/html/
Clone the repository using the command:
$ git clone --recursive https://github.com/3d4pi/freepano.git
To use the remote control feature, please install the its dependencies using npm:
$ cd /var/www/html/freepano/js/nodejs/remotecontrols/
$ npm install
Using your browser, go to the following address:
http://<web-server-ip>/freepano/example/
To use the remote control feature, start the websocket server using node.js:
$ cd /var/www/html/freepano/js/nodejs/remotecontrols/
$ nodejs index.js
Using a motion-enabled device (like a smartphone), go to the following address:
http://<web-server-ip>:3000/
Follow the calibration process on the desktop screen. This has been tested on Firefox Mobile 36.0 on Android 4.2.2.
Documentation under CC BY-SA license (c) 2014-2015 FOXEL SA (c) 2016 Alsenet SA