Skip to content

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

Description

@gkjohnson

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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