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
Make sure you have node.js installed
Install all dependencies, as specified in package.json, then, install the gulp build tool:
npm install -g gulp
npm install -g rollup
cd /var/www/potree
npm install --save
Use the gulp watch
command to
gulp watch
Note: If you use Visual Studio Code, to avoid a potential conflict with VSC exceeding the file watch limit and preventing potree from starting, run echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
.
Deploy potree to the EC2 instances serving the Veritas sites:
Active EC2 instances (as of 2020-04-24):
Name | Keypair | Potree Location | Description |
---|---|---|---|
prod.viz.nextdroid.com |
NextDroidDev.pem |
/var/www/potree |
"Production" server - runs everywhere right now, except |
dev.viz.nextdroid.com |
NextDroidDev.pem |
/var/www/potree |
"Development" server - running on dev, demo, and test sites |
scp -i ~/.ssh/NextDroidDev.pem ~/Downloads/potree-develop.zip ubuntu@dev.viz.nextdroid.com
ssh -i ~/.ssh/NextDroidDev.pem ubuntu@dev.viz.nextdroid.com:/home/ubuntu
unzip -q potree-develop.zip
rm potree-develop.zip
sudo systemctl stop nginx
sudo rm -rf /var/www/potree
sudo mv potree-develop /var/www/potree
cd /var/www/potree/
npm install
gulp watch
Wait for gulp to finish. The output will look something like this ...
21:31:47] Finished 'watch' after 823 ms
src/Potree.js → build/potree/potree.js...
(!) Circular dependencies
src/utils.js -> src/utils/Profile.js -> src/utils.js
src/utils.js -> src/utils/Measure.js -> src/utils.js
created build/potree/potree.js in 3.3s
src/workers/BinaryDecoderWorker.js → build/potree/workers/BinaryDecoderWorker.js...
created build/potree/workers/BinaryDecoderWorker.js in 92ms
... then ^c to terminate
sudo systemctl start nginx
PotreeConverter source and Win64 binaries
Take a look at the potree showcase for some live examples.
Browser | OS | Result | |
---|---|---|---|
Chrome 64 | Win10 | works | |
Firefox 58 | Win10 | works | |
Edge | Win10 | not supported | |
Internet Explorer 11 | Win7 | not supported | |
Chrome | Android | works | Reduced functionality due to unsupported WebGL extensions |
Opera | Android | works | Reduced functionality due to unsupported WebGL extensions |