Modified postprocessing point cloud logic

pull/138/head
Piero Toffanin 2020-12-10 14:34:05 -05:00
rodzic 7170b6b7f2
commit efc911fd1f
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -75,12 +75,14 @@ if [ ! -z "$pointcloud_input_path" ]; then
if [ -e "entwine_pointcloud-tmp" ]; then if [ -e "entwine_pointcloud-tmp" ]; then
rm -fr "entwine_pointcloud-tmp" rm -fr "entwine_pointcloud-tmp"
fi fi
else fi
echo "Entwine is not installed, checking if PotreeConverter is available instead..."
if [ ! -e "entwine_pointcloud" ]; then
echo "Checking if PotreeConverter is available..."
if hash PotreeConverter 2>/dev/null; then if hash PotreeConverter 2>/dev/null; then
PotreeConverter "$pointcloud_input_path" -o potree_pointcloud --overwrite -a RGB CLASSIFICATION PotreeConverter "$pointcloud_input_path" -o potree_pointcloud --overwrite -a RGB CLASSIFICATION
else else
echo "PotreeConverter is also not installed, will skip generation of Potree point cloud" echo "PotreeConverter is not installed, will skip generation of Potree point cloud"
fi fi
fi fi
else else