diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-07 14:39:26 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-07 14:39:26 +0300 |
commit | 47054d00e6a85f334b05ce0d402cdc49f35df032 (patch) | |
tree | a596b76ff6335f4baed8a7bcee099b3cecc51f59 /source/blender/render/extern | |
parent | 682c1df9ec6f278c3a6cf01771161c84ba6d02b5 (diff) |
Added "Blur factor" button in Vector Blur node, which scales the speed
vectors. It's actually shutter speed, but in this case works identical to
the old motionblur 'blur fac' button.
Note; the "Max Speed" button only clips speed, use this to prevent
extreme speed values. Max speed applied before the scaling happens.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_pipeline.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/RE_pipeline.h b/source/blender/render/extern/include/RE_pipeline.h index dc19862e1a9..c82b5677683 100644 --- a/source/blender/render/extern/include/RE_pipeline.h +++ b/source/blender/render/extern/include/RE_pipeline.h @@ -36,6 +36,7 @@ struct Scene; struct RenderData; +struct NodeBlurData; /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /* this include is what is exposed of render to outside world */ @@ -174,6 +175,8 @@ void RE_error_cb (struct Render *re, void (*f)(const char *str)); /* should move to kernel once... still unsure on how/where */ float RE_filter_value(int type, float x); +/* vector blur zbuffer method */ +void RE_zbuf_accumulate_vecblur(struct NodeBlurData *nbd, int xsize, int ysize, float *newrect, float *imgrect, float *vecbufrect, float *zbufrect); #endif /* RE_PIPELINE_H */ |