cornerstone3D
cornerstone3D copied to clipboard
[Bug] lesions as seperate volumes in same viewport is displaying very differently on different devices
Describe the Bug
Ran into a bug where the second volume displayed as a colormap is acting very differently on different devices. I 2 example screenshots below. The higher quality one is from my desktop, and lower quality from mobile.
It's worth noting that if you just emulate iphone you will get the desktop behavior.
Note i resized the images to more easily view them - the focus is on the color maps and how they differ in texture and color.
In the past i did not have the issue so tried to trace back the latest version that did not cause this issue and found the breaking version to be 1.43.0
Steps to Reproduce
Create a viewport that renders 2 volumes, the primary nifti, using nifti volume loader, and the second volume displayed as a colormap and then check it on mobile and desktop respectively.
The current behavior
The current behavior is to render on both devices but seems like values are being rounded on mobile or some other manipulation is going on.
The expected behavior
To render on both devices with no manipulation of the values, or output.
OS
IOS 17.1.1
Node version
18.19
Browser
Edge, Chrome