Coder Social home page Coder Social logo

thezedwards / photosynthviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dddexperiments/photosynthviewer

0.0 0.0 0.0 24.62 MB

Photosynth technical preview webgl viewer with photosynth REST API playground.

Home Page: https://photosynth.net

License: MIT License

JavaScript 88.94% CSS 2.45% HTML 7.38% Batchfile 1.23%

photosynthviewer's Introduction

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)
    • 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.

photosynthviewer's People

Contributors

henri-astre-msft avatar davidgedye avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.