equinor / webviz-subsurface-components

Custom subsurface visualizations for use in Webviz and/or Dash.
https://github.com/orgs/equinor/projects/24
Mozilla Public License 2.0
39 stars 40 forks source link

fix: colors of displayed discrete property values should not be affected by colormap range. #2337

Closed w1nklr closed 2 weeks ago

w1nklr commented 2 weeks ago

Split geometrical painting and property painting

Geometrical painting corresponds to use the X, Y or Z values to paint the 3D grid. The property values are defined at the cell vertices (aka. nodes). This does not need any property argument and implies a continuous property color interpolation. Property painting does define a constant property value for each cell, thought a constant color for each cell face. The property values must be explicitly provided.

Code refactoring:

Updating IjkGrid stories:

Fix stories:

Fix unrelated info card

w1nklr commented 2 weeks ago

fix for #2258

hkfb commented 2 weeks ago

:tada: This issue has been resolved in version subsurface-viewer@1.1.5 :tada:

The release is available on GitHub release