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