potree/README.md
Toomas Välja 4309cdcc35 Remove requirement for global gulp and rollup
Requiring global installation of any tools is not the best practice, as it can
introduce situations when one project requires one version of e.g. gulp and
another application requires another version. To combat that, npm provides a great
way to encapsulate dependencies inside `node_modules` directory and includes all
binaries in PATH whenever `npm ...` commands are ran.

In this commit, `rollup` was added as a dependency to `package.json` so that global
installation is not required. Additionally, npm scripts for common operations were
added: `npm start` for development and `npm run build` for one-time building.

README was updated to match the updates.

Took 5 minutes
2020-01-03 13:11:36 +02:00

11 KiB

About

Potree is a free open-source WebGL based point cloud renderer for large point clouds. It is based on the TU Wien Scanopy project and it was part of the Harvest4D Project.

Newest information and work in progress is usually available on twitter

Contact: Markus Schütz (mschuetz@potree.org)

Reference: Potree: Rendering Large Point Clouds in Web Browsers

Getting Started

Build and Run

Make sure you have node.js installed

Install all dependencies, as specified in package.json:

npm install

Use the npm run build command to

  • create ./build/potree
  • watch for changes to the source code and automatically create a new build on change
  • start a web server at localhost:1234.

Use npm start to start a development server with automatic reloading whenever code changes.

Go to http://localhost:1234/examples/ to test the examples.

Convert

Download PotreeConverter and run it like this:

./PotreeConverter.exe C:/pointclouds/data.las -o C:/pointclouds/data_converted

Copy the converted directory into <potreeDirectory>/pointclouds/data_converted. Then, duplicate and rename one of the examples and modify the path in the html file to your own point cloud.

Downloads

PotreeConverter source and Win64 binaries

Examples

Take a look at the potree showcase for more examples.

Virtual RealityOriented ImagesGeopackageClassificationsCamera AnimationLoad Project
ToolbarMatcapBasic ViewerHeidentorLionLion LAS
Lion LAZEPTEPT BinaryEPT zstandardClipping VolumeCA13
Elevation ProfileMeasurementsMeshesMultiple Point CloudsFeatures (Sorvilier)Features (CA13)
AnnotationsHierarchical AnnotationsAnimation PathShapefilesCesium CA13Cesium Retz
Cesium SorvilierCustom Sidebar SectionEmbedded IframeGradient Colors

Donations

We would like to thank our sponsors for their financial contributions that keep this project up and running!

Diamond
€ 15,000+
         
Gold
€ 10,000+
Silver
€ 5,000+
Bronze
€ 1,000+
       
     

Credits

  • The multi-res-octree algorithms used by this viewer were developed at the Vienna University of Technology by Michael Wimmer and Claus Scheiblauer as part of the Scanopy Project.
  • Three.js, the WebGL 3D rendering library on which potree is built.
  • plas.io point cloud viewer. LAS and LAZ support have been taken from the laslaz.js implementation of plas.io. Thanks to Uday Verma and Howard Butler for this!
  • Harvest4D Potree currently runs as Master Thesis under the Harvest4D Project
  • Christian Boucheny (EDL developer) and Daniel Girardeau-Montaut (CloudCompare). The EDL shader was adapted from the CloudCompare source code!
  • Martin Isenburg, Georepublic, Veesus, Sigeom Sa, SITN, LBI ArchPro, Pix4D as well as all the contributers to potree and PotreeConverter and many more for their support.