question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tileset being selected for rendering on the other side of the globe?

See original GitHub issue
  1. Start this Sandcastle Which loads the Montreal tileset. It also has a postRender event registered which prints out the number of montreal tiles selected for rendering whenever the selected value changes.

  2. Type Jamaica into the geocoder and fly there. (Still 0 tiles selected for rendering)

  3. Tilt the camera towards the horizon, you’ll notice that the root tile of Montreal gets selected, even though it is well below the horizon practically on the other side of the earth. Zooming in close to the ground doesn’t fix this either, the moment you are looking at the horizon, it selects the tile.

This seems to happens whether terrain or depthTestAgainstTerrain is on or off, so I don’t think that’s the problem. @likangning93 thinks maybe something is wrong with horizon culling?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
loshjawrencecommented, Feb 13, 2020

Even if horizon culling is the culprit, I’m surprised that sse is satisfied for the root tile that far away.

0reactions
kringcommented, Dec 29, 2022

In cesium-native, we don’t do horizon culling at all, because using the ellipsoid is an occluder is unreliable when terrain and photogrammetry may be below it. However, a tile like this on the other side of the globe will get culled by fog. Could be worth doing something similar in CesiumJS if we’re not already.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Possible depth test issue where globe renders over 3D tiles
We're having issues where 3D tiles that are on top of the globe are being clipped by it. It looks like it could...
Read more >
Request render mode doesn't always work with 3D Tiles or ...
I believe nothing is rendered because the tileset is not selected for rendering, therefore nothing begins loading.
Read more >
Getting tiles rendered by Cesium? - GIS Stack Exchange
Hi! I'm curently digging into Cesium too, and want to ask you how did you come up with a viewer.scene.globe._surface.
Read more >
RASTER TILES – What You Need To Know - Mapscaping.com
In the selected directory, open the QTiles.html file to view the tiles using the Leaflet web mapping library. Caching Raster Tiles. Rendering ......
Read more >
How to render Mapbox vector tiles only within a specific ...
There's no straightforward way of doing that, for the reasons you describe. You can try something like generating a shape which is the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found