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

Improve bucket preloading to GPU for weird scales / avoid flickering #8329

Open
philippotto opened this issue Jan 15, 2025 · 0 comments
Open

Comments

@philippotto
Copy link
Member

The oblique bucket picker uses the constant zDiff = 10 to load buckets to the GPU that are likely needed when going forward (or backwards) in the third dimension. This constant seems to be in unit space. If the dataset scale is very small (e.g., 1, 1, 1), buckets are preloaded for wrong section.

Steps to reproduce:

  • set dataset scale to 1,1,1
  • maximize XY viewport
  • switch from z=31 to z=32 <-- flicker appears
  • set webknossos.DEV.flags.bucketDebugging.visualizeBucketsOnGPU = true in the dev console, and check out the 3d viewport to see which buckets are loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant