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

Rewrite links to be serialized in uploaded textures #28

Open
jonobr1 opened this issue Dec 8, 2022 · 0 comments
Open

Rewrite links to be serialized in uploaded textures #28

jonobr1 opened this issue Dec 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jonobr1
Copy link
Owner

jonobr1 commented Dec 8, 2022

Right now the texture for all links is a flat list showing all nodes connected to all other nodes. The problem is that for any given node there needs to be traversal of the entire texture to look up its links.

This would be much more efficient if an index and length attribute were added to each node and that were applied to the uploaded texture. Then, a small portion of the links texture would need to be read on the GPU every frame greatly reducing the load (unless of course everything was connected to everything else; though in this scenario the current model would be just as slow).

@jonobr1 jonobr1 added the enhancement New feature or request label Dec 8, 2022
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