NASA-AMMOS / NASA-AMMOS/3DTilesRendererJS
TilesRenderer: Add support for dynamic vertex animation, bounding volume adjustments
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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