Install dependencies, as specified in package.json, and create a build in ./build/potree.
``bash
npm install
`
$3
Use the npm start 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.
Go to http://localhost:1234/examples/ to test the examples.
$3
* Simply upload the Potree folderm with all your point clouds, the build directory, and your html files to a web server.
* It is not required to install node.js on your webserver. All you need is to host your files online.
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
* Potree * PotreeConverter - Convert your point cloud to the Potree format.
* PotreeDesktop - Desktop version of Potree. Allows drag&drop of point clouds into the viewer.
Examples
Basic Viewer
CA13 (18 billion Points)
Retz (Potree + Cesium)
Classifications
Various Features
Toolbar
More Examples
Load Project
Matcap
Virtual Reality
Heidentor
Lion
Lion LAS
Lion LAZ
EPT
EPT Binary
EPT zstandard
Clipping Volume
Oriented Images
Elevation Profile
Measurements
Meshes
Multiple Point Clouds
Camera Animation
Features (CA13)
Annotations
Hierarchical Annotations
Animation Path
Shapefiles
Cesium CA13
Geopackage
Cesium Sorvilier
Custom Sidebar Section
Embedded Iframe
Gradient Colors
VR
Heidentor
Eclepens
Morro Bay
Lion
Dechen Cave
Showcase
Matterhorn
Retz
Lake Tahoe
Sorvilier
Grave
Chowilla
More
Chiller
Cooler
Dechen Cave
Ruins
Eclepens
Heidentor
Building
LDHI
Lion Head
Overpass
Pielach
pompei
Santorini
Skatepark
Subsea Eq.
Subsea Man.
Westend Palais
Whitby
Funding
Potree is funded by a combination of research projects, companies and institutions.
Research projects who's funding contributes to Potree:
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+
Data-viewer
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.
如何在npm里面使用
1. 安装依赖
`js
npm i potree-and-type
`
2. 在node_modules里面找到`potree-and-type`,把dist里面的libs和resources、workers文件夹复制到项目的public目录(vue项目中)
3. 在main.ts中加入如下代码(vue项目中)
`js
import * as Potree from "potree-and-type"