allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
92 stars 7 forks source link

xy mode image goes to white #189

Closed toloudis closed 5 months ago

toloudis commented 7 months ago

Description

It seems that the transfer function is not resetting when switching from 3D to XY mode if loading is interrupted? If you switch to XY and then uncheck a channel before all data arrived, the transfer function will be reused from the 3D view which is inconsistent and causes the image to be unreadable

Expected Behavior

Data should appear with a sensible transfer function that doesn't need user to adjust

Reproduction

  1. Load https://allen-cell-animated.github.io/website-3d-cell-viewer/?url=https://animatedcell-test-data.s3.us-west-2.amazonaws.com/20200323_F01_001/P13-C4.zarr
  2. switch to XY mode
  3. uncheck the second channel (before XY mode is completely loaded)
  4. view turns solid white

Environment

tested on chrome on macos or windows

toloudis commented 5 months ago

Can't repro at the moment. We can reopen or create new ticket if this happens again.