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:
authorTon Roosendaal <ton@blender.org>2008-01-21 21:08:57 +0300
committerTon Roosendaal <ton@blender.org>2008-01-21 21:08:57 +0300
commit1357f1b09fcb6a8d0cdcb160dd18b22cad6fca08 (patch)
tree2032cdeb17adbc89c6cb7e80944d61415a67ee3b /source/blender/makesdna/DNA_node_types.h
parent14241f8349e611c243ee4bdb9f2c56cbc32ba853 (diff)
Vector Blur now has option to be curved!
Especially for fast moving objects (as we have here in Peach) the art department demanded nice curved vector blur. This formula uses a quadratic bezier function, which is not giving perfect circles, but certainly useful results. Also on todo: get this blur code to do nicer accumulation...
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index d13ec7df8ca..b5c0afe59d7 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -202,7 +202,8 @@ typedef struct NodeBlurData {
float fac, percentx, percenty;
short filtertype;
char bokeh, gamma;
- int pad;
+ short curved;
+ short pad;
int image_in_width, image_in_height; /* needed for absolute/relative conversions */
} NodeBlurData;