WIP: Potree library rewriting #1

Draft
Oleksii_Hyzha wants to merge 63 commits from wip into develop
Collaborator
No description provided.
Oleksii_Hyzha self-assigned this 2025-01-29 12:02:24 +01:00
Oleksii_Hyzha added 1 commit 2025-01-29 12:02:24 +01:00
Oleksii_Hyzha requested review from Georg_Hagen 2025-01-29 12:02:26 +01:00
Oleksii_Hyzha added 1 commit 2025-02-04 12:44:10 +01:00
Oleksii_Hyzha added 1 commit 2025-02-05 11:16:15 +01:00
Oleksii_Hyzha removed review request for Georg_Hagen 2025-02-05 11:27:46 +01:00
Oleksii_Hyzha added 1 commit 2025-02-06 14:36:06 +01:00
Oleksii_Hyzha added 1 commit 2025-02-06 14:37:57 +01:00
Oleksii_Hyzha added 1 commit 2025-02-06 15:22:15 +01:00
Oleksii_Hyzha added 2 commits 2025-02-06 16:01:33 +01:00
Oleksii_Hyzha added 1 commit 2025-02-06 16:58:28 +01:00
Oleksii_Hyzha added 3 commits 2025-02-07 11:00:11 +01:00
Oleksii_Hyzha added 2 commits 2025-02-07 14:14:38 +01:00
Oleksii_Hyzha added 1 commit 2025-02-07 14:24:55 +01:00
Oleksii_Hyzha added 1 commit 2025-02-07 17:24:35 +01:00
Oleksii_Hyzha added 1 commit 2025-02-07 17:53:04 +01:00
Oleksii_Hyzha requested review from Georg_Hagen 2025-02-08 14:39:55 +01:00
Georg_Hagen reviewed 2025-02-09 17:20:12 +01:00
@@ -1,2 +0,0 @@
#pragma once
Owner

this has to be the best file in here :D

this has to be the best file in here :D
Georg_Hagen marked this conversation as resolved
Georg_Hagen requested changes 2025-02-09 21:15:42 +01:00
@@ -140,1 +142,4 @@
namespace
{
std::mutex mut;
Owner

why is here a mutex in an anonymous namespace in the header?

why is here a mutex in an anonymous namespace in the header?
Author
Collaborator

no one knows. it's not used anywhere. when I was rewriting this lib there were a lot of things that were just declared and not used

no one knows. it's not used anywhere. when I was rewriting this lib there were a lot of things that were just declared and not used
Georg_Hagen marked this conversation as resolved
@@ -0,0 +4,4 @@
#include <filesystem>
#include <vector>
#include "IPotreeDataProvider.h"
#include "converter_utils.h"
Owner

Always include local headers first and libs & system headers last
This drastically reduces the probability of you creating heads that only work if something else is included before them (as they will already complain about the missing dependencies when you are creating them)

Always include local headers first and libs & system headers last This drastically reduces the probability of you creating heads that only work if something else is included before them (as they will already complain about the missing dependencies when you are creating them)
Georg_Hagen marked this conversation as resolved
@@ -0,0 +6,4 @@
#include "IPotreeDataProvider.h"
#include "converter_utils.h"
class ConcurrentWriter;
Owner

not sure what this is forward declaring, but it definitely should be in a namespace

not sure what this is forward declaring, but it definitely should be in a namespace
Author
Collaborator

yeah, I was too lazy to put all their stuff in a namespace (though, some of it I actually put xD)

yeah, I was too lazy to put all their stuff in a namespace (though, some of it I actually put xD)
Georg_Hagen marked this conversation as resolved
@@ -0,0 +28,4 @@
struct NodeLUT
{
int64_t gridSize;
vector<int> grid;
Owner

Wherever the using namespace std is hiding in a header file, please find it and remove it

Wherever the `using namespace std` is hiding in a header file, please find it and remove it
Author
Collaborator

I think it's using std::vector on the top of the header. there are a lot of places using using

I think it's `using std::vector` on the top of the header. there are a lot of places using `using`
Georg_Hagen marked this conversation as resolved
@@ -0,0 +11,4 @@
bool isDebug = false;
static Dbg* instance() {
Owner

Excuse me, what? :D

Why does this exist and why does it need so many levels of indirection?

Excuse me, what? :D Why does this exist and why does it need so many levels of indirection?
Author
Collaborator

I guess it's another debug stuff. I'll remove it

I guess it's another debug stuff. I'll remove it
Georg_Hagen marked this conversation as resolved
@@ -0,0 +77,4 @@
}
//inline vector<Attribute> parseExtraAttributes(const LasHeader& header) {
//
Owner

lots of commented out code here

lots of commented out code here
Author
Collaborator

Yes, let's keep it up for now. This function handles extra attributes for las format and I haven't implemented that (most likely we don't need it) because of some complicated (rather hardly readable) code. So, let's leave this block commented out

Yes, let's keep it up for now. This function handles extra attributes for las format and I haven't implemented that (most likely we don't need it) because of some complicated (rather hardly readable) code. So, let's leave this block commented out
Georg_Hagen marked this conversation as resolved
@@ -4,1 +4,3 @@
#include <execution>
#include <filesystem>
#include <vector>
#include "converter_utils.h"
Owner

see previous comment regarding include order

see previous comment regarding include order
Georg_Hagen marked this conversation as resolved
@@ -5,3 +7,2 @@
#include "Vector3.h"
#include "LasLoader/LasLoader.h"
struct Options;
Owner

should be in a namespace

should be in a namespace
Georg_Hagen marked this conversation as resolved
@@ -13,3 +13,4 @@
#include <array>
//#include "LasLoader/LasLoader.h"
#include "unsuck/unsuck.hpp"
Owner

see previous comment regarding include order

see previous comment regarding include order
Georg_Hagen marked this conversation as resolved
@@ -23,6 +24,45 @@ using std::atomic_int64_t;
namespace fs = std::filesystem;
Owner

please get ride of this madness :D

please get ride of this madness :D
Georg_Hagen marked this conversation as resolved
@@ -50,3 +90,4 @@
std::vector<ChunkInfo> chunks;
};
struct State {
Owner

all these structs should be in a namespace

all these structs should be in a namespace
Georg_Hagen marked this conversation as resolved
@@ -335,3 +335,3 @@
// taken from: https://stackoverflow.com/questions/2602013/read-whole-ascii-file-into-c-stdstring/2602060
inline string readTextFile(string path) {
inline string readTextFile(const string& path) {
Owner

at least they tell us what there source for it is :D

at least they tell us what there source for it is :D
Author
Collaborator

I like the name of file and folder xDD

I like the name of file and folder xDD
Georg_Hagen marked this conversation as resolved
@@ -473,3 +473,3 @@
// it's not very significant, though. ~0.94s instead of 0.96s.
template<typename T>
inline void writeBinaryFile(string path, vector<T>& data) {
inline void writeBinaryFile(const string& path, vector<T>& data) {
Owner

i don't even want to know :|

i don't even want to know :|
Georg_Hagen marked this conversation as resolved
@@ -514,3 +514,3 @@
// taken from: https://stackoverflow.com/questions/2602013/read-whole-ascii-file-into-c-stdstring/2602060
inline string readFile(string path) {
inline string readFile(const string& path) {
Owner

ah, cool, there are 2 read files :D

ah, cool, there are 2 read files :D
Georg_Hagen marked this conversation as resolved
@@ -531,2 +531,2 @@
inline void writeFile(string path, string text) {
inline void writeFile(const string& path, const string& text)
{
Owner

this file alone is hardcore
with a very telling name too

this file alone is hardcore with a very telling name too
Georg_Hagen marked this conversation as resolved
@@ -0,0 +31,4 @@
int currentGridSize = gridSize;
int lx = x;
int ly = y;
int lz = z;
Owner

why are the copied if the originals aren't used any more?

why are the copied if the originals aren't used any more?
Georg_Hagen marked this conversation as resolved
Oleksii_Hyzha added 1 commit 2025-02-10 09:53:44 +01:00
Oleksii_Hyzha added 2 commits 2025-02-10 11:17:21 +01:00
Oleksii_Hyzha added 1 commit 2025-02-10 11:33:16 +01:00
Oleksii_Hyzha added 1 commit 2025-02-10 12:12:02 +01:00
Oleksii_Hyzha added 1 commit 2025-02-10 14:28:58 +01:00
Oleksii_Hyzha changed title from WIP: First part of cleanup to WIP: Potree library rewriting 2025-02-10 14:31:13 +01:00
Oleksii_Hyzha added 2 commits 2025-02-10 16:26:54 +01:00
Oleksii_Hyzha added 1 commit 2025-02-10 16:31:00 +01:00
Oleksii_Hyzha added 1 commit 2025-02-11 09:41:13 +01:00
Oleksii_Hyzha added 1 commit 2025-02-11 10:03:00 +01:00
Oleksii_Hyzha added 3 commits 2025-02-13 09:48:38 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 11:04:16 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 11:42:35 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 11:59:24 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 14:11:05 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 14:41:32 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 15:11:11 +01:00
Oleksii_Hyzha added 1 commit 2025-02-13 15:25:24 +01:00
Oleksii_Hyzha added 1 commit 2025-02-17 12:48:08 +01:00
Oleksii_Hyzha added 1 commit 2025-02-19 12:04:56 +01:00
Georg_Hagen requested changes 2025-02-19 16:05:53 +01:00
CMakeLists.txt Outdated
@@ -13,1 +17,3 @@
#set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
file(GLOB_RECURSE SOURCES "./Converter/include/*.h" "./Converter/include/*.hpp"
"./Converter/modules/*.hpp" "./Converter/modules/*.h"
"./Converter/modules/*.cpp" "./Converter/src/*.cpp")
Owner

since we are already moving a lot of stuff anyway, can we please also structure this a bit better

can you move the exe related files into a different dir; idk, something like "Examples" and then also move the exe related cmake stuff into it's own cmake file in that dir

and then either move the lass stuff into that exe dir too, or into it's own sub lib

since we are already moving a lot of stuff anyway, can we please also structure this a bit better can you move the exe related files into a different dir; idk, something like "Examples" and then also move the exe related cmake stuff into it's own cmake file in that dir and then either move the lass stuff into that exe dir too, or into it's own sub lib
Georg_Hagen marked this conversation as resolved
Oleksii_Hyzha added 1 commit 2025-02-20 09:10:28 +01:00
Georg_Hagen requested changes 2025-02-20 12:10:33 +01:00
CMakeLists.txt Outdated
@@ -11,1 +9,4 @@
set(EXTERNAL_BROTLI_LIBRARIES "" CACHE STRING "")
set(POTREE_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(POTREE_LIB_TARGET "PotreeConverterLib")
set(LASZIP_DIR "${PROJECT_SOURCE_DIR}/Converter/libs/laszip/laszip")
Owner

Please break that las related stuff into it's own lib with it's own cmake file
or move it to the exmaple

Please break that las related stuff into it's own lib with it's own cmake file or move it to the exmaple
Author
Collaborator

making it as a lib leads to circular dependencies. laslib needs converter and then you'll link laslib into converter. it's rather an extension for the converter, neither an example nor a standalone lib I'd say

making it as a lib leads to circular dependencies. laslib needs converter and then you'll link laslib into converter. it's rather an extension for the converter, neither an example nor a standalone lib I'd say
Oleksii_Hyzha added 1 commit 2025-02-21 11:45:06 +01:00
add gitea actions
Some checks failed
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 45s
ca3fa32bcf
Oleksii_Hyzha added 2 commits 2025-02-21 11:50:11 +01:00
fix argument
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 15s
Build Potree Converter / Build iOS (pull_request) Failing after 14s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 21s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 43s
12a2e74170
Oleksii_Hyzha added 1 commit 2025-02-21 11:55:44 +01:00
attempt to set scheme
Some checks failed
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 21s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 15s
Build Potree Converter / Build iOS (pull_request) Failing after 11s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 44s
a7bd1a3cf5
Author
Collaborator

@Georg_Hagen please check ios build error. I guess for ios it needs some extra tweaks with account

@Georg_Hagen please check ios build error. I guess for ios it needs some extra tweaks with account
Owner

@Georg_Hagen please check ios build error. I guess for ios it needs some extra tweaks with account
IOS build needs a toolchain file
its one of the first things we do in the openvulkano and mavo3d build config if platform is OS64

> @Georg_Hagen please check ios build error. I guess for ios it needs some extra tweaks with account IOS build needs a toolchain file its one of the first things we do in the openvulkano and mavo3d build config if platform is OS64
Oleksii_Hyzha added 1 commit 2025-02-22 13:07:52 +01:00
add toolchain file for ios
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 15s
Build Potree Converter / Build iOS (pull_request) Failing after 14s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 16s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 43s
c171e0b78c
Oleksii_Hyzha added 1 commit 2025-02-22 13:51:08 +01:00
link brotli through FetchContent
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 48s
2be51ed1d8
Oleksii_Hyzha added 1 commit 2025-02-22 14:17:17 +01:00
remove ios from if check
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 30s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 36s
Build Potree Converter / Build iOS (pull_request) Failing after 23s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 47s
140f7d57c0
Oleksii_Hyzha added 1 commit 2025-02-22 14:27:46 +01:00
attempt to set some properties for ios
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 17s
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 46s
94de3184f3
Oleksii_Hyzha added 1 commit 2025-02-22 14:33:59 +01:00
another attempt
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 38s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 46s
499fb2e06e
Author
Collaborator

@Georg_Hagen please check ios build error. I guess for ios it needs some extra tweaks with account
IOS build needs a toolchain file
its one of the first things we do in the openvulkano and mavo3d build config if platform is OS64

It's something about development team, not a toolchain. Though I added development team variable and set some other stuff it still doesn't work.

> > @Georg_Hagen please check ios build error. I guess for ios it needs some extra tweaks with account > IOS build needs a toolchain file > its one of the first things we do in the openvulkano and mavo3d build config if platform is OS64 It's something about development team, not a toolchain. Though I added development team variable and set some other stuff it still doesn't work.
Georg_Hagen requested changes 2025-02-22 15:05:04 +01:00
CMakeLists.txt Outdated
@@ -56,2 +24,2 @@
target_include_directories(PotreeConverter PRIVATE ${EXTERNAL_BROTLI_INCLUDE_DIRS})
target_link_libraries(PotreeConverter PRIVATE ${EXTERNAL_BROTLI_LIBRARIES})
if(IOS)
set(APP_BUNDLE_IDENTIFIER "eu.georgh93.openVulkano")
Owner

Never reuse a bundle identifier from another project

Never reuse a bundle identifier from another project
Author
Collaborator

do I even need it?

do I even need it?
Owner

every ios software an lib needs a unique bundle identifier

every ios software an lib needs a unique bundle identifier
CMakeLists.txt Outdated
@@ -58,0 +27,4 @@
set(MACOSX_BUNDLE_GUI_IDENTIFIER ${APP_BUNDLE_IDENTIFIER})
set(MACOSX_BUNDLE_BUNDLE_NAME ${APP_BUNDLE_IDENTIFIER})
set(CMAKE_OSX_DEPLOYMENT_TARGET ${DEPLOYMENT_TARGET})
set(CMAKE_XCODE_EMBED_FRAMEWORKS ON)
Owner

Missing
set_target_properties(PotreeConverterExe PROPERTIES XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "466MGSD624")

Missing `set_target_properties(PotreeConverterExe PROPERTIES XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "466MGSD624")`
Author
Collaborator

it's set in CMake list of PotreeConverterExe

it's set in CMake list of PotreeConverterExe
Owner

why are the other here then?
move them together

why are the other here then? move them together
Author
Collaborator

because these are in root cmake list and define variables for any subproject if needed, while target is defined in it's own cmakelist

because these are in root cmake list and define variables for any subproject if needed, while target is defined in it's own cmakelist
Author
Collaborator

and writing
add_subdirectory()
set_target_properties()

instead of configuring target in it's own cmake file is worse

and writing add_subdirectory() set_target_properties() instead of configuring target in it's own cmake file is worse
Owner

but you only need to configure them in the app target, since you aren't building a shared lib
currently you set target unique values to be the same for the lib, the exe, the json lib, brotli, and laszip
so just move the stuff to the app

but you only need to configure them in the app target, since you aren't building a shared lib currently you set target unique values to be the same for the lib, the exe, the json lib, brotli, and laszip so just move the stuff to the app
Author
Collaborator

app (that is exe) or lib ?

app (that is exe) or lib ?
Owner

exe the stuff that you can execute

exe the stuff that you can execute
Author
Collaborator

same error

same error
Owner

You will need to do a static build of laszip, which you can't because it's lgpl.

Or you will have to properly sign laszip, which isn't worth it.

You will need to do a static build of laszip, which you can't because it's lgpl. Or you will have to properly sign laszip, which isn't worth it.
Author
Collaborator

it complains not only about laszip error: Signing for "PotreeConverterExe" requires a development team.
so, we just disable laszip and data provider impl for ios?

it complains not only about laszip `error: Signing for "PotreeConverterExe" requires a development team.` so, we just disable laszip and data provider impl for ios?
Owner

could be that it will not auto create the id from cli
but since your example doesn't work without las and you can't really link laszip
just build the base lib as a static lib for ios

could be that it will not auto create the id from cli but since your example doesn't work without las and you can't really link laszip just build the base lib as a static lib for ios
Author
Collaborator

it works without las.
base lib is already built as static

it works without las. base lib is already built as static
Owner

your ci config builds the exe, not the lib, the lib is built implicitly, change the ios config to only build the lib

your ci config builds the exe, not the lib, the lib is built implicitly, change the ios config to only build the lib
Author
Collaborator

exe sample can be built without las by disabling POTREE_USE_LASZIP_LIB option

exe sample can be built without las by disabling POTREE_USE_LASZIP_LIB option
Author
Collaborator

so I can leave exe in config but just disable las

so I can leave exe in config but just disable las
Owner

then do that

then do that
Author
Collaborator

to test if that properly works need somehow to get rid of that issue error: Signing for "PotreeConverterExe" requires a development team

to test if that properly works need somehow to get rid of that issue `error: Signing for "PotreeConverterExe" requires a development team`
Oleksii_Hyzha added 1 commit 2025-02-22 15:05:13 +01:00
try to link brotlicommon to fix ios build error
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 29s
Build Potree Converter / Build iOS (pull_request) Failing after 14s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 47s
567a908f70
Oleksii_Hyzha added 1 commit 2025-02-22 15:28:59 +01:00
move ios related stuff to exe cmake file
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 23s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 47s
5d849d814d
Owner

also, please cleanup that las stuff, by using fetch content to get laszip and only download it if enabled
i don't want this LGPL stuff in an MIT project if i can avoid it

also, please cleanup that las stuff, by using fetch content to get laszip and only download it if enabled i don't want this LGPL stuff in an MIT project if i can avoid it
Oleksii_Hyzha added 1 commit 2025-02-22 16:00:40 +01:00
disable las for ios
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 17s
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 19s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 47s
9b4b486435
Oleksii_Hyzha added 1 commit 2025-02-24 12:04:05 +01:00
get laszip through FetchContent
Some checks failed
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Failing after 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Failing after 30s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 46s
0ecd0994d4
Oleksii_Hyzha added 1 commit 2025-02-24 12:13:48 +01:00
set correct target name for platforms other than Windows
Some checks failed
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 32s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 44s
41012ca920
Georg_Hagen requested changes 2025-02-24 12:19:20 +01:00
CMakeLists.txt Outdated
@@ -83,3 +70,1 @@
list(APPEND LICENSE_PATHS ${BROTLI_DIR}/LICENSE)
endif()
set(LICENSE_PATHS ${PROJECT_SOURCE_DIR}/Converter/libs/json/LICENSE ${PROJECT_SOURCE_DIR}/LICENSE)
Owner

we should look for the licenses in the fetched dirs

we should look for the licenses in the fetched dirs
Author
Collaborator

why do they even copy licenses into executable dir? like licenses are stored in the source dir of certain project why do we need copy them?

why do they even copy licenses into executable dir? like licenses are stored in the source dir of certain project why do we need copy them?
Owner

because 98% of open source licenses tell you that you need to distribute the license & foss lib name together with the resulting binary
and apps that don't have an ui that can display them, need it somewhere else

because 98% of open source licenses tell you that you need to distribute the license & foss lib name together with the resulting binary and apps that don't have an ui that can display them, need it somewhere else
Author
Collaborator

then why we don't copy licenses from all libs into dir with exe? =)

then why we don't copy licenses from all libs into dir with exe? =)
Owner

Because our app has a 3rd party licenses page on the about page

Because our app has a 3rd party licenses page on the about page
@@ -10,1 +10,3 @@
#include "unsuck/unsuck.hpp"
namespace Potree
{
enum class AttributeType {
Owner

is this used outside of las?

is this used outside of las?
Author
Collaborator

it is

it is
Georg_Hagen marked this conversation as resolved
@@ -156,2 +49,2 @@
for (auto& attribute : attributes) {
bytes += attribute.size;
if (type == AttributeType::INT8) {
return "int8";
Owner

replace with constexpr array

replace with constexpr array
@@ -180,0 +137,4 @@
Potree::Vector3 max = { -Infinity };
Potree::Vector3 scale = { 1.0, 1.0, 1.0 };
Potree::Vector3 offset = { 0.0, 0.0, 0.0 };
Owner

Potree:: is redundant here

Potree:: is redundant here
Oleksii_Hyzha added 2 commits 2025-02-24 14:06:23 +01:00
refactoring
Some checks failed
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 19s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 46s
e29873b70f
Oleksii_Hyzha added 1 commit 2025-02-24 14:08:25 +01:00
make variable inline
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 45s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 44s
8170f3e98e
Oleksii_Hyzha added 1 commit 2025-02-24 14:50:32 +01:00
fix wrong path to source dirs when potree is being used as third-party
Some checks failed
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 31s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 44s
10a09d1b92
Oleksii_Hyzha added 1 commit 2025-02-24 16:00:49 +01:00
rework logger API
Some checks failed
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 24s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 44s
0d7de13381
Oleksii_Hyzha added 1 commit 2025-02-25 11:20:25 +01:00
move headers into potree directory and change logger interface
Some checks failed
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Failing after 17s
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 44s
0b47900bb9
Oleksii_Hyzha added 1 commit 2025-02-25 11:46:44 +01:00
fix wrong potree folder name
Some checks failed
Build Potree Converter / Build iOS (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 19s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 19s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 41s
d8744a725e
Georg_Hagen added 1 commit 2025-03-01 15:14:03 +01:00
Fix issues and cleanup
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 25s
Build Potree Converter / Build iOS (pull_request) Failing after 22s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 31s
01ec31e01f
Oleksii_Hyzha added 1 commit 2025-03-04 16:16:39 +01:00
silence some warnings
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 19s
Build Potree Converter / Build iOS (pull_request) Failing after 21s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 27s
2d1a9f70df
Some checks failed
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 18s
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Successful in 19s
Build Potree Converter / Build iOS (pull_request) Failing after 21s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 27s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin wip:wip
git checkout wip
Sign in to join this conversation.