Skip to content
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

Joining of imported 3D tiles #409

Open
pveierland opened this issue Oct 20, 2023 · 4 comments
Open

Joining of imported 3D tiles #409

pveierland opened this issue Oct 20, 2023 · 4 comments

Comments

@pveierland
Copy link

Hi,

When importing Google 3D tiles, the tiles do not always correctly align. See example below:

image

Discontinuity between tiles causes issues when e.g. placing things on top of the mesh surface.

Is this a pure data issue - and if so - would it be possible to create a feature to allow automatic smoothing of tile connection points?

@vvoovv
Copy link
Owner

vvoovv commented Oct 20, 2023

Can you propose a method how to treat the discontinuities between the tiles?

@pveierland
Copy link
Author

I haven't tried it out, but the naive approach I'd try could be:

  • For lines between neighbor tiles, ensure that all vertices along each tile line is present in both tile meshes, then for each vertex in each tile along the line, adjust the vertex z position to the average of the line vertex pair. This should make lines between tiles correspond.
  • For corners between tiles, follow the same approach of adjusting the z position of the vertex to the average of the tile corner vertexes.

@PhiKuz
Copy link

PhiKuz commented Oct 31, 2023

The old Google Earth Decoder, that is no longer available on Github, was able to pull tiles that were aligned properly, but didn't officially use Google's API to do so; it downloaded the raw glb/jpegs.
I would really love if there was a fix for the misaligned tiles, since I would prefer to use a more legit solution to download google's meshes.

@Nerosetsfire
Copy link

Boy was I happy to find this thread and boy am I disappointed to see that there are no possible solutions being proposed. I hope someone comes up with something and if anybody does please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants