-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference to py3dtiles smart merge for tilesets merging / insertion / updating #168
Comments
There is quite some context (in the discussion, and even more so the linked PR) that I'll have to wrap my head around. And I'll have to start "nearly from scratch" with that: I'm aware of Some high-level thoughts for now: The focus of the 3D Tiles Tools is currently pretty much on that of a command-line tool. There is no "public, stable API" to (officially) use it as a library, even though in many cases, the CLI commands have a 1:1 mapping to API calls. The current Regarding the bullet points and some of the quoted text, it might be necessary to define the use-cases more clearly. (That will likely happen in the linked discussion at some point). Very generally speaking, there are the usual trade-offs between "simple usage" and "fine-grained control" (bridging that gap with "sensible default values" where applicable). From my current understanding, I think that some of the desired functionality would require a more powerful structure in general. Right now, the structure of something like a 'tileset' in the 3D Tiles Tools is literally contained in the However, I thought about some approaches here. And I drafted some of this both in TypeScript (on top of the 3D Tiles Tools classes) and in Java (as part of some "J3DTiles" library that I'm working on). This was only done locally, as some brainstorming, off the clock. But the idea was to have some "
which could then take care of, for example, computing the proper bounding volumes from the GLB data. (Computing the bounding volumes manually is a pain in the back...). An infrastructure like this might at the very least be useful, but is probably plainly necessary for these tasks:
It's not entirely clear what these "levels" should consist of. Imagine 100 tilesets where each tile contains only one GLB file of a single building. And now that should be assembled into a "city". Right now, the result of
Something like this should be simple with such a set of "model" classes - in pseudocode:
It's not clear what "preview tiles" refers to, exactly. But in general, consistent modifications (like adding/removing/replacing tiles or contents) should be offered by that infrastructure as well. Maybe related: One thing that I wanted to try out for quite a while now is the opposite of |
Following a discussion around giro3d COPC support, the py3dtiles team just opened a discussion thread to make their merger smarter - see below. Link to the original discussion here - note I'm not part of the py3dtiles team.
In case it's useful, I'm just referencing it here, it might spawn joint work on the subject.
Original quote:
The text was updated successfully, but these errors were encountered: