CesiumGS / CesiumGS/cesium-native

No culling of tiles on the other side of the globe

Open
#596 14 comments 2 reactions 0 assignees View on GitHub
performance
Dominant language
C++
Stars
623
Forks
277
PR merge metrics
No merged PRs in 30d

Description

Hello I wonder how fog culling should prevent rendering tiles from the other side of the globe - it appears not to work here.
From Tileset.cpp:
```
// CesiumJS will also fade out the fog based on the camera angle,
// so when we're looking straight down there's no fog. This is unfortunate
// because it prevents the fog culling from being used in place of horizon
// culling. Horizon culling is the only thing in CesiumJS that prevents
// tiles on the back side of the globe from being rendered.
// Since we're not actually _rendering_ the fog in cesium-native (that's on
// the renderer), we don't need to worry about the fog making the globe
// looked washed out in straight down views. So here we don't fade by
// angle at all.
```
Is there a plan to implement horizon culling for cesium-native?
The cesium updateView is frozen to zoom out without affecting the current tileset in this screenshot.
![shot-2023-02-22_11-25-50](https://user-images.githubusercontent.com/124291168/220595752-28ab26cc-b3ac-41a9-b016-db7a0e41a504.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.