diff options
author | Matt Ebb <matt@mke3.net> | 2009-05-02 08:20:36 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-05-02 08:20:36 +0400 |
commit | 4b025d68657c197b302516b96f69405aa957accf (patch) | |
tree | 1bfd149869f57c1caca4a022659ed016fe60b455 /source/blender/makesdna/DNA_anim_types.h | |
parent | 76cedc4b9abe5a50db03a1ccd1875213effae264 (diff) |
* Added a new F-Curve modifier type: Noise
Thanks Aligorith for making such an easy to use system!
http://mke3.net/blender/devel/2.5/fcurve_noise_modifier.mov
Diffstat (limited to 'source/blender/makesdna/DNA_anim_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index d015d703309..7a2be3ff2a8 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -166,6 +166,26 @@ enum { FCM_LIMIT_YMAX = (1<<3), } eFMod_Limit_Flags; +/* noise modifier data */ +typedef struct FMod_Noise { + float size; + float strength; + float phase; + float pad; + + short depth; + short modification; + +} FMod_Noise; + +/* modification modes */ +enum { + FCM_NOISE_MODIF_REPLACE = 0, /* Modify existing curve, matching it's shape */ + FCM_NOISE_MODIF_ADD, /* Add noise to the curve */ + FCM_NOISE_MODIF_SUBTRACT, /* Subtract noise from the curve */ + FCM_NOISE_MODIF_MULTIPLY, /* Multiply the curve by noise */ +} eFMod_Noise_Modifications; + /* Drivers -------------------------------------- */ /* Driver Target |