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

Reduce amount of re-renders for a Node #15

Open
UZ9 opened this issue Aug 4, 2021 · 3 comments
Open

Reduce amount of re-renders for a Node #15

UZ9 opened this issue Aug 4, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@UZ9
Copy link
Owner

UZ9 commented Aug 4, 2021

Because of dependency requirements changing in real-time, a Node ends up re-rendering itself 6 times when initially clicked. This is obviously not ideal, and some of these dependencies should be bulk initialized in one pass if possible.

@UZ9 UZ9 added the enhancement New feature or request label Aug 4, 2021
@UZ9 UZ9 self-assigned this Aug 4, 2021
@UZ9
Copy link
Owner Author

UZ9 commented Aug 4, 2021

Another change to make is to stop the grid visualization vertex and fragment shaders from being loaded individually for each node. These should instead be in a class similar to materials.js.

@UZ9
Copy link
Owner Author

UZ9 commented Aug 5, 2021

Mostly fixed with 5585de3

@UZ9
Copy link
Owner Author

UZ9 commented Aug 6, 2021

Another change to make is to stop the grid visualization vertex and fragment shaders from being loaded individually for each node. These should instead be in a class similar to materials.js.

Changed in dad4717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant