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

Work around Cesium 3D tiles regression #59040

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

dvdkon
Copy link
Contributor

@dvdkon dvdkon commented Oct 10, 2024

Description

In #58591 @nirvn reported that a commit from that PR (89a23b7) broke viewing Google 3D terrain layers. This was caused by the removal of some tiled-scene-specific tile culling code, which isn't conservative enough and was rejecting low-zoom-level Quantized Mesh tiles (e.g. zoom level 0 which covers the whole world). I also thought QgsChunkedEntity would not request loading of these tiles anyway, but I was clearly wrong.

As a quick fix, I reintroduced that code, but only for Cesium 3D tile layers, where it apparently didn't cause problems before.

Hopefully this will be improved in the future so that the code path will be good enough for Cesium 3D tiles and Quantized Mesh tiles without any case-by-case fixes, possibly with qgis/QGIS-Enhancement-Proposals#301.

Copy link

github-actions bot commented Oct 10, 2024

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 124ad04)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 124ad04)

Copy link
Member

@wonder-sk wonder-sk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, although it is not a "nice" fix - but let's wait for the large scene / globe support, and we will have a better solution then...

@wonder-sk wonder-sk merged commit 2bbf20c into qgis:master Oct 10, 2024
30 of 31 checks passed
@nirvn
Copy link
Contributor

nirvn commented Oct 11, 2024

@dvdkon , thanks.

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

Successfully merging this pull request may close these issues.

3 participants