potree / PotreeConverter

Create multi res point cloud to use with potree
http://potree.org
BSD 2-Clause "Simplified" License
668 stars 417 forks source link

potree.js:1 loaded node with 0 bytes: r062 #476

Open AlbionS opened 3 years ago

AlbionS commented 3 years ago

Hi, I don"t know if this is a bug in the viewer or of the conversion. I converted some laz files with PotreeConverter2.0 and while I am viewing them I get the warning potree.js:1 loaded node with 0 bytes: r062. image

Maybe there is something wrong with the laz file or during the conversion something was not correctly converted. Does anyone has the same error ? here is the files to reproduce this error, maybe just my viewer is broken !

pumpNoInvalidPoints.zip

Best, Albion

midnight-dev commented 3 years ago

Hmm. I haven't tried to stuff multiple LAZ files into the new converter yet. Are you able to test if the LAS versions of the point clouds trigger the same behavior? Or if a single LAZ also does it?

If it's time-sensitive, you could fallback to v1.7 - assuming it works as expected. It's still a good converter, despite being older. It's available under the tag 1.7.

A quick note on versions:

Including this mainly for newcomers who don't know about the differences.

If you need small, cacheable LAS/LAZ or binary files, PotreeConverter 1.7 can still be used. The conversion will be single-threaded and produces one file per hierarchy node, so there can be a lot of files. The advantage of PotreeConverter 2.0+ is that it's much faster (especially on SSDs), multithreaded, and outputs just 3 files - a JSON and 2 binaries. Fewer files means faster uploads to servers, though it relies on fetching partial ranges of the binary files which is less likely to be cached. The latest release of Potree knows how to decode & render both the new and old versions.

AlbionS commented 3 years ago

@midnight-dev thank you for your answer. These are files that have been touched with pdal filters and las2las, one of them (pdal or las2las) should be adding something to laz files that the new PotreeConverter is not able to handle correctly.

Converting these same files with PotreeConverter1.7 works fine, PotreeConverter1.7 for small files works good and handles normally every kind of error, expect duplicate points which it takes infinite time to finish the file. So no error on the viewer if converted with 1.7.

I have other big files that when they are touched with pdal and las2las the new PotreeConverter2.0 generates this error (warning on the viewer). Converting these files with PotreeConverter1.7 it takes to much time (or infinite time :) ) that's why I am trying to use the new one