Pix4D is using potree to display pointclouds of the matterhorn, lausanne and a quarry online in their showcase:
Discover and interact with 3D point clouds
Here is a PlyViewer demo: PlyViewer
Just Drag&Drop your ply file into the black area and wait until it’s loaded.
For now, only PLY files with float xyz and uchar rgb and up to ~8m points are supported. For example:
element vertex 462312
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue
If you don’t have a supported ply file, try this one: vienna_parliament_relief.ply
This is what it looks like:
Download Windows 64bit binaries: PotreeConverter_2014.04.06.zip
PotreeConverter can now transform following file formats into the potree format:
- las files with XYZ and 2-byte RGB data.
- ply files with “element vertex” as the first element and x,y,z,r,g,b properties. Subsequent elements will be ignored. xyz must be floats and r,g,b must be uchars. ASCII and binary_little_endian formats are supported.
- xyz files with either xyzrgb or xyzi data. Specify the type, as well as the range of the data with the -f and -r options.
Usage has changed in favour of unix-like arguments:
-h [ --help ] prints usage
-o [ --outdir ] arg output directory
-s [ --spacing ] arg Distance between points at root level. Distance
halves each level.
-l [ --levels ] arg Number of levels that will be generated. 0: only
root, 1: root and its children, ...
-f [ --input-format ] arg Input format. xyz: cartesian coordinates as floats,
rgb: colors as numbers, i: intensity as number
-r [ --range ] arg Range of rgb or intensity.
--source arg Source file. Can be LAS, PLY or XYZ
# convert ply files
./PotreeConverter.exe C:/data.ply -s 0.5 -l 4
# convert las files
./PotreeConverter.exe C:/data.las -s 0.5 -l 4 -o C:/potree_converted
# convert files in the xyzrgb format with rgb between 0 and 255
./PotreeConverter.exe C:/data.xyz -f xyzrgb -r 255
# convert files in the xyzi format with intensity between 0 and 65536
./PotreeConverter.exe C:/data.xyz -f xyzi -r 65536
Read more at: https://github.com/potree/PotreeConverter
Potree is now available at github. You can get future stable releases from potree – master and the latest development from potree – develop.
PotreeConverter source code is available at PotreeConverter – master
The PotreeConverter sourcecode can be downloaded here:
PotreeConverter – source
It includes a Visual Studio 2012 solution. There is no linux build but I don’t think I’ve used any platform dependend code so it shouldn’t be hard to create one.
For anyone interested in how it works, here is a documentation. It’s written for a course I attended and explains the algorithm, not the source code.
PotreeConverter – documentation
The new source and converter are available here: potree_2014.01.22.zip
A small demo is included. The application has to be deployed on a webserver in order to run.
Here’s a demo of the results of the new converter I’m working on: Pompei.
Points are uniformly sampled now which leads to a much better visual quality while at the same time improving performance because fewer points are needed.
This pointcloud was provided by the CNRS-MAP-Gamsau laboratory. Visit pointclouds.map.archi.fr for more pointclouds.
I’ve put potree under the less restrictive FreeBSD license.
The license page has been updated. The next source release will contain the updated license information.
Here are some amazing cultural-heritage point clouds from the CNRS-MAP-Gamsau laboratory:
You can navigate using either the arrow keys or zqsd(french keyboard layout).
(There’s an issue with potree that causes it to stop loading, usually when you’re viewing your second or third point cloud. Reload the page if that happens.)
Here is a new demo of a pointcloud provided by ecosynth: