Blender Git Commit Log

Git Commits -> Revision b909dfd

Revision b909dfd by Sergey Sharybin (master)
October 27, 2015, 21:43 (GMT)
Cycles: Expose user-defined shutter curve to the interface

Shutter curve now can be controlled using curve mapping widget in the motion
blur panel in Render buttons. Only mapping from 0..1 by x axis are allowed,
Y values will be normalized to fill in 0..1 space as well automatically.

Y values of 0 means fully closed shutter, Y values of 1 means fully opened
shutter.

Default mapping is set to old behavior when shutter opens and closes instantly.

This shutter mapping curve could easily be used by any other render engine by
accessing scene.render.motion_blur_shutter_curve.

Reviewers: #cycles, brecht, juicyfruit, campbellbarton

Differential Revision: https://developer.blender.org/D1585

Commit Details:

Full Hash: b909dfdae140ba0cc71003ad30dc612b059732d6
Parent Commit: 6a529e1
Lines Changed: +112, -2

15 Modified Paths:

/intern/cycles/blender/addon/ui.py (+13, -0) (Diff)
/intern/cycles/blender/blender_camera.cpp (+9, -0) (Diff)
/intern/cycles/blender/blender_util.h (+10, -0) (Diff)
/source/blender/blenkernel/BKE_colortools.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/colortools.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+16, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/editors/render/render_intern.h (+1, -0) (Diff)
/source/blender/editors/render/render_internal.c (+42, -0) (Diff)
/source/blender/editors/render/render_ops.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+5, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021