diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2018-02-22 18:26:50 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2018-02-24 15:37:58 +0300 |
commit | 4403ca80bda690c0ac44e4a6db0cddf4b2428006 (patch) | |
tree | 3a68b34c75f4f831840403950b4bde7f4ad938ce /source/blender/makesdna/DNA_smoke_types.h | |
parent | 6d8a4c10b65c45b2bcc2eca7779cc541af0562fb (diff) |
Smoke: expose empty space clipping property to the UI.
This is used to determine which voxels are to be considered empty space.
Previously it was hardcoded for converting dense grids to OpenVDB grids
to reduce disk space usage.
This value is also useful for rendering engines to know, i.e. to
optimize ray marching.
Diffstat (limited to 'source/blender/makesdna/DNA_smoke_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_smoke_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_smoke_types.h b/source/blender/makesdna/DNA_smoke_types.h index 9932e16e988..c1565bde882 100644 --- a/source/blender/makesdna/DNA_smoke_types.h +++ b/source/blender/makesdna/DNA_smoke_types.h @@ -217,6 +217,9 @@ typedef struct SmokeDomainSettings { char use_coba; char coba_field; /* simulation field used for the color mapping */ char pad2; + + float clipping; + float pad3; } SmokeDomainSettings; |