Blender Git Commit Log

Git Commits -> Revision b5dcf74

Revision b5dcf74 by Kévin Dietrich (master)
August 3, 2020, 01:44 (GMT)
Cycles: add support for rendering deformation motion blur from Alembic caches.

This patch adds the ability to render motion blur from Alembic caches.
The motion blur data is derived from a velocity attribute whose name has
to be defined by the user through the MeshSequenceCache modifier, with a
default value of ".velocities", which is the standard name in Alembic
for the velocity property, although other software may ignore it and
write velocity with their own naming convention (e.g. "v" in Houdini).

Furthermore, a property was added to define how the velocity vectors
are interpreted with regard to time : frame or second. "Frame"
means that the velocity is already scaled by the time step and we do not
need to modify it for it to look proper. "Second" means that the unit
the velocity was measured in is in seconds and so has to be scaled by
some time step computed here as being the time between two frames (1 /
FPS, which would be typical for a simulation). This appears to be
common, and is the default behavior.

Another property was added to control the scale of the velocity to
further modify the look of the motion blur.

Reviewed By: brecht, sybren

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

Commit Details:

Full Hash: b5dcf746369e51c08285292cd78f621999dd09e9
Parent Commit: 396d0b5
Lines Changed: +432, -3

11 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+76, -0) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+2, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+25, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+3, -0) (Diff)
/source/blender/io/alembic/ABC_alembic.h (+10, -0) (Diff)
/source/blender/io/alembic/intern/alembic_capi.cc (+139, -0) (Diff)
/source/blender/makesdna/DNA_cachefile_types.h (+12, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+25, -1) (Diff)
/source/blender/makesrna/intern/rna_cachefile.c (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+91, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+22, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021