Skip to content

Add mapped raster tiles in the progress percentage. #1305

Merged
j9liu merged 8 commits intoCesiumGS:mainfrom
rbois-bentley:rbois/raster_tiles_in_progress_info
Feb 23, 2026
Merged

Add mapped raster tiles in the progress percentage. #1305
j9liu merged 8 commits intoCesiumGS:mainfrom
rbois-bentley:rbois/raster_tiles_in_progress_info

Conversation

@rbois-bentley
Copy link
Contributor

This allows apps that rely on this progress percentage to continue updating their views until all raster tiles have been properly loaded.

Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @rbois-bentley ! This change makes sense, I just have a few comments.

Comment on lines +161 to +164
for (const Tile::ConstPointer& pTile : updateResult.tilesToRenderThisFrame) {
const std::vector<RasterMappedTo3DTile>& mappedRasterTiles =
pTile->getMappedRasterTiles();
for (const RasterMappedTo3DTile& mappedRasterTile : mappedRasterTiles) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's actually a similar loop happening on line 205. To avoid the duplicate passes, can we merge this logic into that loop below? (We may have to shift around other lines to compute the percentage at the very end, but that's fine.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@j9liu Thanks for the review, I'll look into merging the logic...

@j9liu j9liu added this to the March 2026 Release milestone Feb 18, 2026
@j9liu
Copy link
Contributor

j9liu commented Feb 20, 2026

@rbois-bentley Just checking in, is this ready for another look?

@rbois-bentley
Copy link
Contributor Author

rbois-bentley commented Feb 20, 2026

@rbois-bentley Just checking in, is this ready for another look?

@j9liu Yes, it's ready. Thanks!

Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rbois-bentley ! Changes look great, I'm just doing some last tests in Unreal before merging to make sure things behave as expected.

@j9liu j9liu merged commit 6fef836 into CesiumGS:main Feb 23, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants