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

Avoid multiple requests for the same voxel subtree #12457

Open
jjhembd opened this issue Jan 31, 2025 · 0 comments
Open

Avoid multiple requests for the same voxel subtree #12457

jjhembd opened this issue Jan 31, 2025 · 0 comments

Comments

@jjhembd
Copy link
Contributor

jjhembd commented Jan 31, 2025

Cesium3DTilesVoxelProvider currently checks tile availability at an arbitrary tile coordinate by requesting the subtree containing the availability information for that tile.

A subtree contains availability information for many tiles. It is very likely that Cesium3DTilesVoxelProvider will be loading many tiles from the same subtree simultaneously, so we could have many outstanding requests for the same subtree.

A better approach would likely involve constructing Implicit3DTileContents for subtrees, and deferring any requests for the tiles in those subtrees until the one request for that subtree completes. This would make the approach more similar to non-voxel implicit tilesets.

Using the same approach for all implicit tilesets would also avoid the need for ImplicitSubtree.prototype.tileIsAvailableAtCoordinates and ImplicitSubtree.prototype.childSubtreeIsAvailableAtCoordinates, which are currently only used for voxels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants