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

feat(viewport): add caching support for Viewports #105

Merged
merged 23 commits into from
Feb 22, 2025

Conversation

maximmaxim345
Copy link
Owner

@maximmaxim345 maximmaxim345 commented Feb 22, 2025

This PR adds a efficient caching system for the Viewport widget.
Only the minimal set of nodes is now rerun on changes to the passed in ProjectView, considerably speeding up the viewport.
Caching is applied to both the ViewportPlugins, and the SceneGraph.

To test it, the cadara binary now shows a slowly growing cube.

While there are still some issues left to solve (#100 and #104), this implementation should be enough for the time being.

@maximmaxim345 maximmaxim345 changed the title feat(viewport): add granular caching support for compute_scene feat(viewport): add caching support for Viewports Feb 22, 2025
@maximmaxim345 maximmaxim345 merged commit 2056472 into main Feb 22, 2025
11 checks passed
@maximmaxim345 maximmaxim345 deleted the feat/cache-scene-graph branch February 22, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant