itwinjs-core
itwinjs-core copied to clipboard
Improve reality tile purge and preloading
Originally submitted by @TitouanLeDuigou as #3374. Needs merge and cleanup - see comments on previous PR.
:warning: The sha of the head commit of this PR conflicts with #3374. Mergify cannot evaluate rules on this PR. :warning:
ImageTests shows some differences in terrain - unclear why - and views with all OpenStreetMaps buildings missing. The results were consistent across 2 runs.
OSM building tile set uses additive refinement. This PR breaks tile selection for additive tilesets. It still loads tiles, and selects some (but far fewer) to draw. The old code path should probably be preserved for additive tiles.