diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-07 15:22:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-07 15:25:28 +0300 |
commit | 84ad9b102e708da54188752bde34daba8b6611b2 (patch) | |
tree | 63a79d141fe9b934ae33d86d25a148e817b04272 /source/blender/makesdna | |
parent | faecd16d3168981b5af95be613e5a91de5c28133 (diff) |
Workbench: Add cubic filtering for smoke simulation
The option is per domain and only affects the solid / xray / wireframe view.
Eevee is not yet supported.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_smoke_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_smoke_types.h b/source/blender/makesdna/DNA_smoke_types.h index b8ac0de0090..97913e29ad4 100644 --- a/source/blender/makesdna/DNA_smoke_types.h +++ b/source/blender/makesdna/DNA_smoke_types.h @@ -72,6 +72,12 @@ enum { SLICE_AXIS_Z = 3, }; +/* axis aligned method */ +enum { + VOLUME_INTERP_LINEAR = 0, + VOLUME_INTERP_CUBIC = 1, +}; + enum { VECTOR_DRAW_NEEDLE = 0, VECTOR_DRAW_STREAMLINE = 1, @@ -222,7 +228,7 @@ typedef struct SmokeDomainSettings { char vector_draw_type; char use_coba; char coba_field; /* simulation field used for the color mapping */ - char pad2; + char interp_method; float clipping; float pad3; |