Skip to content

Node Editor Viewport Performance Scaling #2

Description

@Bonzai2Carn

As users add more sheets (which turn into nodes), performance degrades because every node remains fully rendered in the DOM regardless of whether it is visible in the current viewport. The HTML layer (#nodeHtmlLayer) is synced to the canvas via a single CSS transform: translate/scale on the container so panning does not remove or hide individual node elements. Nothing checks whether a node is inside the viewport before rendering or keeping it mounted.

The frustrum math exists but a cull pass that compares node bounds against this frustum and toggles display: none on out-of-viewport nodes is not set

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions