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

Optimise renderer taking advantage of depth of field #800

Closed
1 task done
arcturus2 opened this issue Aug 20, 2020 · 2 comments
Closed
1 task done

Optimise renderer taking advantage of depth of field #800

arcturus2 opened this issue Aug 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@arcturus2
Copy link
Collaborator

Prerequisites

Description

Constellation can handle a million nodes with high end graphics cards. If we want to push the limits and get to multi-million nodes with ease, can we use the depth of field to our advantage? That is, nodes that are further away into the distance should reduce the load on the graphics card.

Presently, labels render when they are closer to you and disappear when you zoom out. Could something similar be done with nodes and transactions whereby when you zoom out a lot and nodes are on top of one another, less nodes are actually rendered and therefore graph load time and interaction can improve dramatically.

Steps to Reproduce

  1. Open a new graph
  2. Experimental -> Build Graph -> Sphere Graph and set to 1,000 nodes and 1,000 transactions
  3. Click OK
  4. Save the graph
  5. Close the graph
  6. Open the graph and notice the time it takes to load the graph
  7. Zoom out a lot so you see a tiny node, which is barely visible
  8. Save the graph
  9. Close the graph
  10. Open the graph and notice the time it takes to load the graph

Expected behaviour:
The load time should be considerably quicker in step 10 compared to step 6

Actual behaviour:
The load times are the same regardless of how many nodes are visible.

Reproduces how often:
100%

@arcturus2 arcturus2 added the enhancement New feature or request label Aug 20, 2020
@github-actions
Copy link

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.

@GammaVel
Copy link
Collaborator

This is a nifty idea that is being moved to brainstorming.

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

3 participants