Blender Git Commit Log

Git Commits -> Revision f81e30a

Revision f81e30a by Sergey Sharybin (master)
November 10, 2012, 19:11 (GMT)
Solved issue with distorted compositor results in some cases

Originally issue was discovered when using stabilization and movie distortion
nodes, but in fact issue was caused by render layer node always doing nearest
interpolation. Now made it so this node will respect sampler passed to it's
executePixel function and do an interpolation.

Added two new functions to do bilinear/bicubic interpolation in float buffer
with variable number of components per element, so it could interpolate 1, 3
and 4 component vectors. This functions currently mostly duplicates the same
functions from imageprocess.c and it should actually be de-duplicated. Think
it's ok to leave a bit of time with such duplication, since functions should
be generalized one more time to support byte buffers, which could backfire on
readability.

Also removed mark as complex from stabilization node, which isn't needed sine
int fact this node is not complex.

Commit Details:

Full Hash: f81e30a41f961fe681d06fb98fec6e722297292e
SVN Revision: 52077
Parent Commit: 45cd54b
Lines Changed: +372, -50

2 Added Paths:

/source/blender/blenlib/BLI_math_interp.h (+35, -0) (View)
/source/blender/blenlib/intern/math_interp.c (+235, -0) (View)

9 Modified Paths:

/source/blender/blenlib/BLI_math.h (+1, -0) (Diff)
/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)
/source/blender/compositor/nodes/COM_ScaleNode.cpp (+14, -8) (Diff)
/source/blender/compositor/nodes/COM_Stabilize2dNode.cpp (+2, -0) (Diff)
/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp (+0, -1) (Diff)
/source/blender/compositor/operations/COM_RenderLayersBaseProg.cpp (+41, -14) (Diff)
/source/blender/compositor/operations/COM_RenderLayersBaseProg.h (+1, -0) (Diff)
/source/blender/compositor/operations/COM_ScaleOperation.cpp (+27, -24) (Diff)
/source/blender/compositor/operations/COM_ScaleOperation.h (+15, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021