Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve spatial visualization performance #377

Merged
merged 9 commits into from
Apr 29, 2021
Merged

Conversation

oscarlorentzon
Copy link
Member

Motivation

Make spatial visualization responsive for up to ~10k cameras in view

Contribution

  • Logarithmic raycasting complexity through Octree structure for cameras
  • Linear camera frame render complexity improved through less objects, less render calls, and less matrix updates
  • Add spatial intersect API to raycast camera frames
  • Rename spatial configuration tilesVisible property to cellsVisible
  • Add spatial configuration cell grid depth property

Test Plan

yarn lint
yarn build
yarn test
yarn start

@oscarlorentzon oscarlorentzon added this to the 4.0.0 milestone Apr 29, 2021
@oscarlorentzon oscarlorentzon merged commit 6239a95 into main Apr 29, 2021
@oscarlorentzon oscarlorentzon deleted the feature-spatial-perf branch April 29, 2021 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants