-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Cesium Loads Too Many Tiles #7042
Comments
@bbehling-trimble is this for imagery tiles? |
@hpinkos yes |
This is the PR I was referring to: #4969. It would be interesting to get the before and after numbers. It will also be helpful to measure how many tiles are loaded vs. how many are used for rendering at some point to see if any are loaded unnecessarily. @kring has also been working on adding LOD skipping to the globe loading code. This has the potential to save a large number of tile requests. |
@lilleyse I'm not sure, but I don't think that would effect imagery requests. It was more for terrain. |
@bbehling-trimble thanks for the report and the concrete numbers. Could you please try this before and after #4969 as @lilleyse suggested? I think that will image the number of imagery tiles loaded. It is still very much a work-in-progress, but you could try the LOD skipping that @lilleyse mentioned in this branch to get some early numbers: https://github.com/AnalyticalGraphicsInc/cesium/tree/fill-tiles You can, of course, also increase the By the way, what is ALK? Finally, if you are concerned about paying per imagery tile. Check out Cesium ion, which uses Bing imagery, which is billed per session (basically creating a Cesium Viewer widget): https://cesium.com/pricing/ |
Just to make sure we are on the same page, the extra tile requests I'm referring to are imagery tiles, not terrain tiles. |
@bbehling-trimble correct, I am pretty sure that the terrain optimizations will also impact imagery since the imagery is draped over terrain. |
@NaderCHASER this is with removing the change from #4969? |
@NaderCHASER Have you tested that fork in 3D mode and looked at Bing tile imagery requests? |
@bbehling-trimble My screenshot is from 3D mode, albeit zoomed in quite a bit (zoom-level 6). I do not use Bing at all, so I can't test that. Otherwise, my imagery tile requests should be pretty similar on this branch. However, this branch breaks on zoom / pan (fatal error), so this isn't ready for use outside of development. |
@NaderCHASER whats the size your tiles (width/height)? Also, can you try putting the camera into a more oblique angle and looking at a large scale (zoomed in) mountainous area? I'm just curious as to how many radar tiles are requested in that scenario. |
@bbehling-trimble you can try the The problem @NaderCHASER mentioned where it crashed when panning should be fixed (I believed it only occurred when using heightmap terrain or the ellipsoid instead of a quantized mesh terrain source). 2D and Columbus View won't work at all, and there are likely to be other bugs, but if you see a crash just browsing around in 3D, please let me know. |
@kring It locks up with CesiumEllipsoidTerrainProvider. Cesium World Terrain appears to work fine. |
@pjcozzi ALK is one of the a map providers we get our imagery and road layers from |
@pjcozzi experimenting with the maximumScreenSpaceError, I really don't see a difference in the amount of tiles loaded until a setting of about 8. At that point, the tiles are start to get quite blurry and 100-200 requests are made, which are still very many requests. Thats looking at a mountains area. Flat areas seem to make ~50 requests. |
Using the fill-tiles branch, navigating around a mountainous area such as Vail at an oblique angle, the max tiles loaded are ~150. Average tile requests seem to be 60 - 120. Nadir view 10-20 requests. |
@NaderCHASER that was a bug ~24 hours ago, but I thought I had fixed it. I certainly can't reproduce it now. Are you sure you're in sync with the latest in the |
@kring I re-based and everything seems to be working fine now. Thanks and please accept my apologies for the false alarm! |
fill-tiles was merged a while ago so this is OBE |
When in 3D mode, Cesium requests > 300 tiles per aoi, where as in 2D mode, the same aoi requests 6 tiles.
Our concern is that this will get quite costly for ALK and Digital Globe tile requests. Sean said this may have been a bug introduced in a pull request.
The text was updated successfully, but these errors were encountered: