Closed agressin closed 4 years ago
Hi! Thanks again for your contribution. I've merged it and edited some of the code, as there were some small issues, such as inconsistent indentation and unnecessary comments or logs. Please see here for details. I didn't change anything regarding the functionality of your code.
Hi, thanks you for cleaning and merging code! I would like to add compatibility with the new 2.X potree format, but I need more time since the format is quite different. I'm not sure if it's better to rewriter the point reader/loader from scratch and loosing compatibility with 1.X format, or to try to modify current code and keep this compatibility...
Hi! That would be great! I think it would be great if compatibility with older versions would be preserved. However I think it would be fine if it would be necessary to have separate types of classes for both versions, e.g. a "PointCloudLoaderPTV1" and a "PointCloudLoaderPTV2", depending on which version of the potree format one wants to use. I'm not familiar with how the newer format works so I cannot provide so much help here at the moment.
here is the new version that keep compatibility with older format.