Photosynth technical preview webgl viewer with photosynth REST API playground.
JavaScript HTML CSS Batchfile
Latest commit 710175b Dec 7, 2016 Henri Astre Fix viewer build process.
Update grunt to use latest cssmin/jshint components (building was
requiring --force otherwise).
Update Readme to mention Git.
Remove links to delete synths which were breaking connected synths demo.
Permalink
Failed to load latest commit information.
build Added index-tour Dec 5, 2014
css Fix html titles + clean css Dec 5, 2014
docs New presentation page Nov 24, 2014
src New presentation page Nov 24, 2014
test add version 1.0 Nov 5, 2014
utils Fix viewer build process. Dec 7, 2016
web
.gitignore Added index-tour Dec 5, 2014
CHANGELOG.txt add version 1.0 Nov 5, 2014
Gruntfile.js Added index-tour Dec 5, 2014
LICENSE.txt add version 1.0 Nov 5, 2014
README.md Fix viewer build process. Dec 7, 2016
TODO.txt add version 1.0 Nov 5, 2014
index.html add version 1.0 Nov 5, 2014
package.json Fix viewer build process. Dec 7, 2016

README.md

PhotosynthViewer

Photosynth technical preview webgl viewer with photosynth REST API playground.

Setup

  • install latest version of node.js (tested with v0.10.29)
    • http://nodejs.org/download/
    • make sure that node and npm are in the path (npm install was broken for me and I had to create manually C:\Users\YOUR_USERNAME\AppData\Roaming\npm)
  • install grunt globally
    • in your command line from anywhere
    • run 'npm install -g grunt-cli'
  • install Git (if it's not already in your path)
  • install dependencies
    • go to the root of the open source package
    • run 'npm install'
  • to enable Bing map demos:
  • to enable node.js + mongodb experimental AnnotationStorage (used to store highlight and synth connections) you need to
    • install latest version of mongodb (tested with v2.6.3 - 2014-08-14T17:09:10.503-0700 git version: 255f67a66f9603c59380b2a389e386910bbb52cb)
    • in the command line go to 'utils/AnnotationStorage'
    • run '__launch.bat' (first time wait for npm install to complete)
    • optionally open your browser at http://localhost:3000
    • you can import some dumped datasets by running:
      • 'node import.js dump\forest.json'
      • 'node import.js dump\san_francisco_heart.json'
      • 'node import.js dump\puy_en_velay.json'
  • to enable node.js experimental SynthLinker (used to create connections between 2 synths to create a virtual tour) you need to

    • in the command line go to 'utils/SynthLinker'
    • run '__launch.bat' (first time wait for npm install to complete)
    • optionally open your browser at http://localhost:4000
  • to view the content available in the /web folder you need a web server

    • You can use the minimal node.js web server (modified from three.js)
      • go to 'utils/SimpleHttpServer/'
      • run '__launch.bat'
      • open your browser at http://localhost:8000
    • OR you can setup apache/IIS to have a webserver pointing to this folder IIS: you need to add the .json mimetype support in IIS + directory listing if you are interested in download performance you need to activate gzip compression for .bin files)

Build

  • test only (js lint and unit test)
    • run 'grunt test'
  • build only (js and css)
    • run 'grunt build'
  • before submitting a pull request (white space cleaning)
    • run 'grunt pre-submit'
  • default (test + build)
    • run 'grunt'
  • count lines
    • run 'grunt sloc'

License

PhotosynthViewer is released under MIT license. For details, see the LICENSE.TXT file.