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.
Separated shaders (flat shaders for property painting)
Avoid property creation and handling for geometrical painting
Fix bounding box handling for Z increasing downwards
Code refactoring:
Add TGrid3DColoringMode.DiscreteProperty to specify how to handle the property
centralize code defining if the property is discrete
add support to discrete property with colormap function
fine-tune uniforms
prevent allocating properties in webworker for geometric painting
Rename type colorMapFunctionType to ColorMapFunctionType
Updating IjkGrid stories:
Add story for Z painting
Add tool to generate mock IjkGrid with continuous or discrete property
Fix stories:
fix story colormap function being broken when editing any control
minor refactoring
fix colormap size to adapt to data size
Data ranges from 0 to 12, while colormap holds 12 colors (from 0 to 11).
fix broken colors when changing controls of DiscretePropertyWithUndefinedValues story
fix unrelated MapClampColor story to be meaningfull
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