Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2021-08-09 12:19:42 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2021-08-09 12:19:42 +0300
commit4e84e076b2567ee2ec9fc70aced35a3ebd0ad19e (patch)
treebd81f667cd713eca1c812dd79750820eed943026 /source/blender/makesdna/DNA_fluid_types.h
parent23d5bbd104581550f84c690a42e36ddbea070e21 (diff)
Fluid: Initial support for 2D fluid simulationsfluid-mantaflow-2d
Initial adjustments for 2D (real-time) simulations. Basic functionality includes: - 2D/3D switcher in domain settings - 2D simulation support for smoke/fire, wavelet noise, liquid particles, secondary particles - UI switcher to choose the axis that will be simulated on - Planar visualization in workbench render Some things that remain to do (non-exhaustive list): - Eevee & Cycles support - Liquid meshing - Liquid viscosity solver
Diffstat (limited to 'source/blender/makesdna/DNA_fluid_types.h')
-rw-r--r--source/blender/makesdna/DNA_fluid_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_fluid_types.h b/source/blender/makesdna/DNA_fluid_types.h
index 5ac5f7ca8a2..fe703182f65 100644
--- a/source/blender/makesdna/DNA_fluid_types.h
+++ b/source/blender/makesdna/DNA_fluid_types.h
@@ -198,6 +198,12 @@ enum {
FLUID_DOMAIN_TYPE_LIQUID = 1,
};
+/* Fluid domain dimension. */
+enum {
+ FLUID_DOMAIN_DIMENSION_2D = 2,
+ FLUID_DOMAIN_DIMENSION_3D = 3,
+};
+
/* Mesh levelset generator types. */
enum {
FLUID_DOMAIN_MESH_IMPROVED = 0,