diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-03 23:16:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-03 23:17:59 +0300 |
commit | 1dddcfbaff14ff2871918b044714c87c7024e589 (patch) | |
tree | b33ad2b5571738e0ad50346acc60cffd0b07e21c /source/blender/nodes/composite | |
parent | c69458985cdb0cc1b388b81f61e5091c73461003 (diff) |
Compositor: Implement sampled motion blur for plane track deform node
Quite striaghtforward change, and in theory we can even try supporting motion
blur for the corner pin node (which is tricky because coordinates actually
coming from sockets, but with some black magic should be doable).
Diffstat (limited to 'source/blender/nodes/composite')
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_planetrackdeform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.c b/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.c index 7a15d6364dc..415427c360f 100644 --- a/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.c +++ b/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.c @@ -47,7 +47,8 @@ static bNodeSocketTemplate cmp_node_planetrackdeform_out[] = { static void init(bNodeTree *UNUSED(ntree), bNode *node) { NodePlaneTrackDeformData *data = MEM_callocN(sizeof(NodePlaneTrackDeformData), "node plane track deform data"); - + data->motion_blur_samples = 16; + data->motion_blur_shutter = 0.5f; node->storage = data; } |