diff options
author | Miika Hamalainen <blender@miikah.org> | 2013-08-03 13:46:38 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2013-08-03 13:46:38 +0400 |
commit | 91d148b8914bb198a78c3789fa39c2850d37d219 (patch) | |
tree | 3f2b3a60c833bf7f65b8684427e08421009f5aa7 /source/blender/makesdna/DNA_dynamicpaint_types.h | |
parent | e131447582a35fe4102f63b7d387d7cd57aa42b7 (diff) |
Dynamic Paint: Added a new "smoothness" parameter for waves.
It greatly helps getting rid of that "noise" that occurs if you use really steep objects (like cubes) as a brush. New default value is 1.0 which is just high enough to only get rid of the sharpest spikes, so if you want really smooth waves it's better use higher values.
This also seems to "fix" bug [#35413].
Diffstat (limited to 'source/blender/makesdna/DNA_dynamicpaint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_dynamicpaint_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_dynamicpaint_types.h b/source/blender/makesdna/DNA_dynamicpaint_types.h index 1f2a589dc27..d2b95c959b3 100644 --- a/source/blender/makesdna/DNA_dynamicpaint_types.h +++ b/source/blender/makesdna/DNA_dynamicpaint_types.h @@ -125,7 +125,8 @@ typedef struct DynamicPaintSurface { float influence_scale, radius_scale; /* wave settings */ - float wave_damping, wave_speed, wave_timescale, wave_spring; + float wave_damping, wave_speed, wave_timescale, wave_spring, wave_smoothness; + int pad2; char uvlayer_name[64]; /* MAX_CUSTOMDATA_LAYER_NAME */ char image_output_path[1024]; /* 1024 = FILE_MAX */ |