NASA-AMMOS / NASA-AMMOS/3DTilesRendererJS

TilesRenderer: Consider forcefully evicting tiles until cache is not overfull

Open
#1,232 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.5k
Forks
416
Avg merge
17h 52m
Merged PRs (30d)
37

Description

Eg if the cache size is changed, or new, higher priority tiles are loaded. Related to #1230.

If tiles are downloaded with a different priority than they are evicted than it's possible that there will be a flicker or "downgrade" when evicting tiles. We also don't want to download tiles if they can't be fit in the cache or will be immediately evicted - so how can we know? This is only an issue when the cache is so full it can't fit tiles that should be visible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin at the TilesRenderer cache and review related issue #1230; no file or test is named, so trace tile download and eviction priority handling from that entry point. Done should define and verify behavior when the cache limit changes or higher-priority visible tiles arrive, including avoiding downloads that would be immediately evicted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
computer-graphics, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.