Color bar and rendered image don't match
This was found on MacOS 10.13.6 with ParaView 5.4.0 and ParaView 5.8.0
@utkarsh.ayachit @cory.quammen @danlipsa
@patchett2002 please prioritize this
To reproduce:
- Load wavelet source
- Apply default slice filter
- Change color map to this custom colormap: https://sciviscolor.org/wp-content/uploads/sites/14/2017/09/FloatPNG_PV44.xml
- Rescale colormap to data range (should be 84.144 to 276.683)
- Apply contour filter at RTData=260
I noticed the color bar looks much brighter than the wavelet, so I checked the pixel color values for the color bar and what I would expect to be a similar color in the rendered wavelet slice. I used digital color meter on MacOS to get these values. The reasoning for the slice is to ensure the color bar matches what you're seeing, not what's below the surface.
The white line is the contour at RTData=260.
Color bar at RTData=260 (rgb is 228, 236, 0):
Color on rendered wavelet slice close to the contour at RTData=260 (rgb is 170, 172, 0):
In these pictures, I am zoomed in to the portion of the wavelet that I would expect to have brighter/more saturated colors, but the colors do not seem to match. In fact, there isn't any portion of the wavelet that looks like it's the right color according to the color bar.
The colors are still off in an uncompressed "Save Screenshot":
I believe this is the cause of the ColorMoves issue here