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

Duplicated render of buildings' roof in 3D terrain #3786

Closed
AlvaroRuC opened this issue Mar 4, 2024 · 3 comments
Closed

Duplicated render of buildings' roof in 3D terrain #3786

AlvaroRuC opened this issue Mar 4, 2024 · 3 comments
Labels
bug Something isn't working need more info Further information is requested terrain

Comments

@AlvaroRuC
Copy link

AlvaroRuC commented Mar 4, 2024

maplibre-gl-js version: 4.1.0

browser: Firefox and Chrome

Steps to Trigger Behavior

Observe buildings with different levels of zoom and pitch. The problem is visible especially in buildings that are located on steep slopes.

Link to Demonstration

https://madridxix.es/IDE-2/Test.html

Expected Behavior

Correct render of 3d buildings in terrain.

Screenshot 2024-03-03 at 11-14-00 Madrid XIX 3D

Actual Behavior

The render of the roof of the buildings is duplicated and moved vertically. Especially when the buildings are far from the point of view.

Screenshot 2024-03-03 at 11-13-53 Madrid XIX 3D

@HarelM HarelM added bug Something isn't working terrain labels Mar 6, 2024
@HarelM
Copy link
Collaborator

HarelM commented Mar 6, 2024

@AlvaroRuC do you think this is the same problem as described here:
#2560
If not, I would recommend creating a more simplified version of this issue.
Understanding what went wrong here can be very complicated due to the complexity of the scene.

@HarelM HarelM added the need more info Further information is requested label Mar 6, 2024
@AlvaroRuC
Copy link
Author

Thank you @HarelM, for your answer. I think you are right and it is the same issue.

@HarelM
Copy link
Collaborator

HarelM commented Mar 7, 2024

I'll close this as duplicate of #2560.
If you create a minimal reproduction that has different characteristics, feel free to comment here and I'll reopen.

@HarelM HarelM closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info Further information is requested terrain
Projects
None yet
Development

No branches or pull requests

2 participants