From 84ad9b102e708da54188752bde34daba8b6611b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 7 Nov 2018 13:22:22 +0100 Subject: 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. --- source/blender/makesdna/DNA_smoke_types.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') 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; -- cgit v1.2.3