NASA-AMMOS / NASA-AMMOS/3DTilesRendererJS

TilesRenderer: Add support for dynamic vertex animation, bounding volume adjustments

Open
#1,695 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

If users make changs to the meshes - either via shader or via geometry (eg the flattening plugin) then the bounding hierarchy becomes out of sync and animations will not work. We should support updating tile geometry and updating bounds for traversal dynamically.

Some open questions / questions:

  • Should we fire events for dynamic geometry or bounds updates so other plugins can be aware?
  • Should we use a custom bounding box intersection function override via plugin?
  • Or a margin system?
  • Do we need a function to reset bounds back to their original state? Should we bookkeep the overridden bounds vs the originals?
  • Should we have some helper function for adjust them?
  • Do we need a "dirty" flag for the bounds so we only update the during traversal?

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

Start by tracing TilesRenderer traversal and the bounding hierarchy, then inspect how the flattening plugin changes tile geometry. Compare shader- and geometry-driven mesh changes and determine how dynamic bounds should be updated during traversal. Done means animated or modified geometry remains traversable with synchronized bounds, with the event, override, reset, helper, and dirty-flag questions resolved.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.