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

Looking for Textured Model feature #366

Closed mastermwf closed 4 years ago

mastermwf commented 5 years ago

Followed the instruction to install Potree 1.6 and it installed and works fine. While using WebODM which has Potree 1.5RC, I noticed there is a Textured Model option that I love. Can't seem to find it in Ver. 1.6. Is it available in 1.6?

When trying to compile Potree 1.5RC, I get a fatal error My OS is Linux Mint 19, not Winblows. When I try to change the cpp file to look for laszip_api.h the compiler throws another fatal error which is only an option if the OS is Winblows.

What version of lastools do I need to make Potree 1.5RC compile?

mastermwf commented 5 years ago

Ok, got PotreeConverter-1.5RC and 1.4RC to compile by modifying stuff.cpp. Changed ifdef BOOST_OS_WINDOWS to if BOOST_OS_WINDOWS on lines 39 and 217. Also needed to add #include "linux.limits.h" to prevent a PATH_MAX error. Copied the resources folder with page_template into the working directory, the directory that holds the executable and keep getting an error that states: Source directory /dev/workspaces/PotreeConverter-1.4RC2/build/PotreeConverter/PotreeConverter{this is the executable, not a directory}/resources/page_template does not exist or is not a directory It's looking for the page_template in the executable which is not a directory. I am looking for a way to truncate the name of the executable from the path of the source directory that PotreeConverter is using to look for the page_template. This problem only occurs in RC versions of PotreeConverter. It does it on ver. 1.4RC and 1.5RC but not on 1.5 or 1.6 because the RC versions use BOOST and the code to determine the path for the page_template is in the check for BOOST in stuff.cpp