Blender Git Commit Log

Git Commits -> Revision 313ea8a

September 12, 2021, 18:00 (GMT)
Compositor: Add support for canvas compositing

This patch adds functionality for operations that require pixels
translation or resizing on "Full Frame" mode, allowing to adjust
their canvas within the output canvas. It fixes current cropping
issues in translate, scale, rotate and transform nodes by adjusting
their canvas to the result, instead of the input canvas.
Only the scale node canvas is limited to the scene output
resolution size for performance reasons as there are many
operations that require their whole input to be rendered.

Operations output buffer is still always on (0,0) position for
easier image algorithm implementation, even when operation
canvas is not.

Commit Details:

Full Hash: 313ea8a28e8a7a95d723fd4c46ab349ed08bea0f
Parent Commit: a0a9499
Lines Changed: +813, -286

34 Modified Paths:

/source/blender/compositor/intern/COM_CompositorContext.cc (+10, -0) (Diff)
/source/blender/compositor/intern/COM_CompositorContext.h (+3, -0) (Diff)
/source/blender/compositor/intern/COM_Converter.cc (+59, -54) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.cc (+46, -18) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.h (+4, -2) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.cc (+2, -0) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.h (+40, -14) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.cc (+40, -0) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.h (+16, -16) (Diff)
/source/blender/compositor/intern/COM_NodeOperationBuilder.cc (+14, -3) (Diff)
/source/blender/compositor/intern/COM_SharedOperationBuffers.cc (+10, -2) (Diff)
/source/blender/compositor/intern/COM_SharedOperationBuffers.h (+1, -1) (Diff)
/source/blender/compositor/nodes/COM_BoxMaskNode.cc (+1, -1) (Diff)
/source/blender/compositor/nodes/COM_EllipseMaskNode.cc (+1, -1) (Diff)
/source/blender/compositor/nodes/COM_ScaleNode.cc (+8, -1) (Diff)
/source/blender/compositor/nodes/COM_Stabilize2dNode.cc (+3, -0) (Diff)
/source/blender/compositor/nodes/COM_TransformNode.cc (+1, -0) (Diff)
/source/blender/compositor/nodes/COM_TranslateNode.cc (+3, -1) (Diff)
/source/blender/compositor/operations/COM_BokehBlurOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_CalculateMeanOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_CropOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_MapUVOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_PreviewOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_RotateOperation.cc (+100, -14) (Diff)
/source/blender/compositor/operations/COM_RotateOperation.h (+20, -0) (Diff)
/source/blender/compositor/operations/COM_ScaleOperation.cc (+162, -45) (Diff)
/source/blender/compositor/operations/COM_ScaleOperation.h (+51, -16) (Diff)
/source/blender/compositor/operations/COM_TonemapOperation.cc (+1, -1) (Diff)
/source/blender/compositor/operations/COM_TransformOperation.cc (+148, -63) (Diff)
/source/blender/compositor/operations/COM_TransformOperation.h (+12, -9) (Diff)
/source/blender/compositor/operations/COM_TranslateOperation.cc (+32, -4) (Diff)
/source/blender/compositor/operations/COM_TranslateOperation.h (+16, -11) (Diff)
/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.cc (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021