/PotreeDesktop

Desktop version of Potree

Primary LanguageJavaScript

About

A desktop/portable version of the web-based point cloud viewer Potree, thanks to Electron.

  • This version allows you to load converted point clouds from your hard disc or USB drive. It's also portable so you can put your models together with the viewer on a USB drive and open it wherever you go.

  • It's only been tested on windows at the moment. It may not work on other systems or you may only be able to use it on the same Operating System that you've initially built it on.

  • Modify index.html to change which point cloud should be loaded by default.

  • You can also drag&drop cloud.js files into the window to add point clouds to the scene.

  • This desktop version is in a prototype state and as such it may be a bit awkward to use at times. In order to reset the viewer, you'll have to click "window->reload".

Build

Install Node.js

Download the repository or clone it with git:

git clone https://github.com/potree/PotreeDesktop.git PotreeDesktop
cd PotreeDesktop

Move into the PotreeDesktop folder and install dependencies:

cd PotreeDesktop
npm install

Start the application:

npm start

or if node.js is not installed, e.g. if you're starting it on another PC than the one you've built it on, try this:

./node_modules/electron/dist/electron.exe ./main