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

Flickering when picking voxels #11841

Open
jjhembd opened this issue Feb 19, 2024 · 4 comments
Open

Flickering when picking voxels #11841

jjhembd opened this issue Feb 19, 2024 · 4 comments

Comments

@jjhembd
Copy link
Contributor

jjhembd commented Feb 19, 2024

What happened?

Mouseover picking sometimes jumps or flickers even when the cursor is relatively stable near the middle of a voxel cell.

See this screen recording from @ggetz. Note: so far the bug has only been observed on a Mac.

305446774-5caae909-72a2-4884-9084-9bed692e87a9.mp4

Reproduction steps

  1. Load the below Sandcastle (on a Mac)
  2. Zoom on one corner of the voxel
  3. Move the mouse across adjacent voxels

Sandcastle example

http://localhost:8080/Apps/Sandcastle/index.html#c=tRiLbts48ld4vmIht4ry6gIHJw0uzabXAElT1Gmu27hoaYm2uKUkH0k5dgL/+w2HlETayaa9R5FC1nBenPcorUqlyZyzWybJK1KyW3LCFK+L5Bph0aiX4vtJVWrKSyZHvZjcj0pCxlSxc7pkctCQnBV0yuQSgclEVsV7Wc15xuSxWpZpZIhIg3vFBbugsyGTc54yR9ngI/FHKRxJSzSuucguqqwWDE97x0oxrbav2ELXkqntdxSeVJxSqfOzs1Gvbxngox8HWr/n6Xej+4QKxfBoyqq0ykKY5gUTcG0fRkteUM2rsgOu+gejclSmaM17olJWspiktGCSkhUY1loYkfAwydi4ng7z6vaNBCz1nskhA/IMcLWsmcdOpZLqND+pRLXmIgRFVvSkLlOjEwEbpiwzVriohebGztfVgonGtpHK6Yz1rQ91zlWCAOCMz4MWnMHVSwUs1ZpUMC78ouV+9DIm5q/fEZXmMoB/A3FjtBv1vnSHejmzh47TBdM0o5peATy5Pj156eGmVTGrSlbqq0eITnyE5M355fHV/p7H4KtgcyZOqrrUQL0PBytjp6fMk8xkpSujaSLZv2qm9G8gDDi0BsagrGbmtxqVzpCN5zXwO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Mac OS

@jjhembd
Copy link
Contributor Author

jjhembd commented Feb 19, 2024

The problem behavior will be in the main branch after #11828 is merged

@jjhembd
Copy link
Contributor Author

jjhembd commented Mar 30, 2024

@ggetz after #11875 I observed a similar problem on Windows. I fixed a sample indexing problem at the edges of the volume, in 4c6e7ea (part of #11909).

Can you please check if this fixes the flickering on your machine?

@ggetz
Copy link
Contributor

ggetz commented Apr 1, 2024

@jjhembd I tried the deployed version from #11909, and it may be less frequent, but I'm still seeing flicker:

2024-04-01.09-34-22.mp4

@jjhembd
Copy link
Contributor Author

jjhembd commented Apr 1, 2024

@ggetz thanks for checking! This new video will be helpful for further debugging. The Z value looks like it’s flickering clear across the whole volume.

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

2 participants