potree / PotreeConverter

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

Option '--list-of-files' crashes PotreeConverter version 1.5 in Windows compile #285

Closed rapidlasso closed 4 years ago

rapidlasso commented 6 years ago

The "--list-of-files" option in the latest Windows.exe release version 1.5 of the PotreeConverter seems broken. Single files work fine.

This instantly crashes:

potree15\PotreeConverter --list-of-files "file_list.txt" ^
                         -o "c:\xampp\htdocs\p_15" ^
                         --overwrite

The 1.4 RC version works fine

potree14\PotreeConverter --list-of-files "file_list.txt" ^
                         -o "c:\xampp\htdocs\p_14" ^
                         --overwrite

For a single file both work fine:

potree15\PotreeConverter 18395_54380.laz ^
                         -o "c:\xampp\htdocs\p_15" ^
                         --overwrite

potree14\PotreeConverter 18395_54380.laz ^
                         -o "c:\xampp\htdocs\p_14" ^
                         --overwrite
rapidlasso commented 6 years ago

Must be a simple bug in the parsing of the text file or the handling of the vector of files. Even the much simpler call without octree creation crashes hard:

potree15\PotreeConverter --list-of-files "file_list.txt" ^
                         -o "c:\xampp\htdocs\p_15" ^
                         --source-listing-only ^
                         --overwrite

whereas this works fine

potree14\PotreeConverter --list-of-files "file_list.txt" ^
                         -o "c:\xampp\htdocs\p_14" ^
                         --source-listing-only ^
                         --overwrite
jubru commented 6 years ago

I also have the same problem, a crash as soon as an option is declared. yes probably a problem of parsing.