Skip to content

TilesRenderer: Make optimized traversal the default #1426

@gkjohnson

Description

@gkjohnson

Related to #1421

To Confirm / Fix

Future

  • Fix auto-expanding children (QuantizedMeshPlugin, ImageFormatPlugins)
    • See QuantizedMesh: skip loading low resolution tiles when camera initialised close to mesh #1344
    • These do not work since they only expand the children once the tile itself is loaded and disposed of once the internal parents are disposed. That means we can get into an internal oscillation state when the parents are disposed, subsequently disposing of the children, causing that parent to render again.
    • Could implicitly add a tile with "unrenderable content" at some given number of layers so they re added / disposed in the same logic as internal tile sets. This won't work for tile splitting, though.
    • Could also adjust tiles to expand on "preprocess" or custom "expand virtual" callback and then wait for the tile to load before traversing to or loading children.
  • Consider more flags
    • Add a flag indicating whether "full coverage" has been achieved during loading such that there will be no gaps even when moving the camera. A "loadProgress"-esque fields indicating a percentage of coverage filled may be better for initialization.
    • The priority download / parse queues could be adjusted to prioritize processing tiles that will fill gaps first over loading tiles that already have deeper children (or parents) loaded.

Migration

  • Change "optimizedLoadStrategy" to "true" by default with a deprecation warning first
  • Remove previous load strategy option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions