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

Support per-model display settings for batched tiles #6354

Merged
merged 75 commits into from Jan 17, 2024

Conversation

pmconne
Copy link
Member

@pmconne pmconne commented Jan 10, 2024

Fixes #6340.

Group models that have compatible display settings, then produce a tile tree reference for each group.
When decoding tiles, split the contents based on those groupings.
In typical cases, only one group exists so no tile splitting occurs.
When the display settings change, re-evaluate the groupings and, if they've changed, produce new tile tree references.

The BENTLEY_BatchedTileSet extension is now required; it provides the Id, extents, and view flag overrides for every model included in the tileset. Implemented in https://github.com/iTwin/imodel-native-internal/pull/355 which should be merged simultaneously with this PR.

After a viewer upgrades to this version of the @itwin/frontend-tiles package, any tilesets published by an older version of TilesetPublisher will fail to load due to the absence of the metadata described above.

TODO:

  • Evaluate ImageTests results
  • Add to display-performance-test-app support for applying display transforms stored in external saved views
  • Create test cases for ImageTests
  • NextVersion.md

@pmconne pmconne marked this pull request as ready for review January 17, 2024 12:58
pmconne and others added 3 commits January 17, 2024 09:05
Co-authored-by: Ben Polinsky <78756012+ben-polinsky@users.noreply.github.com>
@pmconne pmconne requested a review from hnn0003 as a code owner January 17, 2024 14:14
Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>
@pmconne pmconne merged commit 4ac8ddb into master Jan 17, 2024
13 checks passed
@pmconne pmconne deleted the pmc/batched-tile-model-groups branch January 17, 2024 18:23
@pmconne
Copy link
Member Author

pmconne commented Jan 17, 2024

ImageTests results: some slight z-fighting changes in AnimatedCastle and fixes to plan projections in GeoBridgeDemo and FloridaGIS. @DStradley fyi.

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.

Support per-model settings for batched tiles
6 participants