-
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
3D Tiles loading to many tiles #5477
Comments
@jbo023 is this a new issue or did this always happen in the Have you checked each tile's geometric error and the tileset's screen-space error to ensure that this isn't expected behavior? Perhaps the geometric errors are too high. There's also several optimizations that can be set when calling the |
I was afraid it would be that pull request! 😢 Let us know what you find about your tileset structure. |
Hi,
The problem seems to be that the traversal code loads all children of tiles in the following line of code even if they are not visible. If I add a visibility check to the loadTile function at: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Cesium3DTilesetTraversal.js#L641
This works for my dataset, but I didn't the understand the traversal code completely so i can not say if this check changes any other tile loading behavior or creates new problems. But this is probably a good start to fix this problem. |
Thanks a quick resolution would be nice, |
the examples i posted don't work at the moment. They work again with pull request: |
@lilleyse should i create a PR, or do you just integrate the fix yourself ? |
I just opened #5788 - needed to add an exception for the |
This reverts commit e12e433.
Hi,
i just checked the current state of the 3D-Tiles Branch and found a problem with one of our datasets.
If i start the view zoomed and only some buildings are shown cesium loads up to 254 b3dm files from this dataset in the background. This sandcastle Code should demonstrate the problem.
if i just change the view a bit and zoom out. The dataset loads fine and only 12 B3DM are loaded.
The text was updated successfully, but these errors were encountered: