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:
authorDaniel Genrich <daniel.genrich@gmx.net>2012-05-25 03:50:20 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2012-05-25 03:50:20 +0400
commitf883d12e0cd3d796a0ec0d540e24214ccdb0e39c (patch)
tree1a6d8ab7df334c3501bfdb8362019e112830ef83 /source/blender/makesdna
parentfda16e7381c5ce4c96fcd05cf9422ebda6bfbe1c (diff)
Smoke: Start fixing scaling issues which happen with non cube-shaped domains.
Detail: Smoke solver and Blender side of smoke now share the same cell length. First reported by the Sintel artists long ago, again reported by MiikaH. Part of my Smoke Development Project Phase III.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_smoke_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_smoke_types.h b/source/blender/makesdna/DNA_smoke_types.h
index 50e48a13835..cceb7333478 100644
--- a/source/blender/makesdna/DNA_smoke_types.h
+++ b/source/blender/makesdna/DNA_smoke_types.h
@@ -80,11 +80,11 @@ typedef struct SmokeDomainSettings {
float tempAmb; /* ambient temperature */
float alpha;
float beta;
+ float scale; /* largest domain size */
int res[3]; /* domain resolution */
int amplify; /* wavelet amplification */
int maxres; /* longest axis on the BB gets this resolution assigned */
int flags; /* show up-res or low res, etc */
- int pad;
int viewsettings;
short noise; /* noise type: wave, curl, anisotropic */
short diss_percent;