Giter VIP home page Giter VIP logo

allover.js's Introduction

allover.js - pointcloud visualization

allover.js provides in-browser pointcloud visualization using three.js. allover.js is currently under heavy development. You have been warned.

Dependencies

allover.js has the following javascript dependencies, located in vendor/ in the source tree:

Usage

Currently there is no publicly acessible version of allover.js, so you will have to build a copy for yourself (see below).

Once you've got your environment set up to build allover.js, you can create the example visualization html file that comes with allover.js. To create the html file, simply run:

grunt make-viewer

This will build allover.js, and create a sample viewer html file in tmp/viewer.html. To view the viewer, you'll need to serve the html via http (since we request our point JSON over the network). One simple way is to use python's SimpleHTTPSever, serving files from the tmp/ directory in the allover.js source:

cd tmp/
python -m SimpleHTTPServer

This will start a HTTP server on port 8000 on your local host. Navigate to this url in your web browser, and you should see an allover.js viewer load in points!

How to build allover.js

These instructions were taken pretty much verbatim from the jQuery README before being modified for this project.

In order to build allover.js, you need to have GNU make 3.8 or later, Node.js/npm latest, and git 1.7 or later. (Earlier versions might work OK, but are not tested.) allover.js uses Grunt, the command line build tool used by the people at jQuery.

Windows users have two options:

  1. Install msysgit (Full installer for official Git), GNU make for Windows, and a binary version of Node.js. Make sure all three packages are installed to the same location (by default, this is C:\Program Files\Git).
  2. Install Cygwin (make sure you install the git, make, and which packages), then either follow the Node.js build instructions or install the binary version of Node.js.

Mac OS users should install Xcode (comes on your Mac OS install DVD, or downloadable from Apple's Xcode site) and Homebrew. Once Homebrew is installed, run brew install git to install git, and brew install node to install Node.js.

Linux/BSD users should use their appropriate package managers to install make, git, and node, or build from source if you swing that way. Easy-peasy.

Once you've got that all set up, clone of copy of allover.js:

git clone http://github.com/CRREL/allover.js

Enter the directory and install the Node dependencies:

cd allover.js && npm install

Make sure you have grunt installed by testing:

grunt -version

Then build allover.js:

grunt

The built version (and a minified copy) will be put in the dist/ subdirectory. You can include either of these javascript files in your project (see above in 'Usage').

Questions?

If you have any questions, please feel free to ask in #pdal in irc.freenode.net.

allover.js's People

Contributors

chambbj avatar gadomski avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.