Drag a LAS file onto PotreeConverter.exe and get the HTML file too
A small trick for PotreeConverter: with one shortcut, dragging a LAS file onto it also creates the index.html file of the viewer.
Clicking loads the video from YouTube: Google will receive your IP address and may store data on your device. Privacy · Watch it on YouTube
A post for PotreeConverter tinkerers!
One wonderful thing about sharing content online is that it creates connections. And those connections bring back plenty of information, resources and more content.
If you take a point cloud and drag its LAS file onto PotreeConverter.exe, all the folders to upload are created, but the HTML file is missing.
Thanks to an email from Dario Candela, here is how to get it.
Dario works in IT and is a keen caver, and it is precisely in caving that he took up 3D cave surveying with LiDAR sensors (the one built into smartphones), experimenting with 3D surveys in small, messy, dark spaces.
Dario liked the idea of dragging the LAS file of a point cloud onto PotreeConverter.exe and getting the HTML file as well, which by default is not produced along with the folders the converter creates.
The solution is to create a desktop shortcut to PotreeConverter.exe and add these parameters in the shortcut properties: “C:\Program Files\PotreeConverter_windows_x64\PotreeConverter.exe” -p index -i
Once that is done, when you drag the LAS file onto the shortcut, Potree generates the folder together with the index.html file.
With the same principle you can add other parameters and instructions, but the important thing is that the -i parameter always stays at the end.
Potree Viewer is a very efficient tool for sharing point clouds over the internet, in a browser (with a data connection).
No software, no licences and no user manuals.
First, though, you have to convert the LAS file of a point cloud into a set of files and folders to upload online.
And that is what PotreeConverter is for.
If you want to learn more about this open-source tool (which is currently the basis for many commercial solutions built on cloud services), I made some videos about it a while ago on my YouTube channel, in Italian.
Many heartfelt thanks again to Dario for sharing this with me and for agreeing to share it here with you.