Blender Git Commit Log

Git Commits -> Revision e1665c3

Revision e1665c3 by Richard Antalik (master)
November 2, 2020, 21:15 (GMT)
VSE: Media transform redesign

This patch changes behavior of strip transform and crop feature.

Purpose of this change is to allow display arbitrary portion of input
image, simplify user interface and workflow.
Offset and Crop values in old files are converted in versioning.
Offset animation is also converted. Crop animation and animation of
crop or offset enable properties is not taken into account

Changes in behavior and interface:
- If image is added to timeline it is scaled to fit inside preview area
while maintaining aspect ratio. Image is centered. This is considered
as a baseline for further transformation.
- Scale and rotation was added, so it is possible to transform image at
it's original resolution.
- Crop will not affect image transformation (does not move image).
- Values of Crop and Transform Position are in pixels, these values are
corrected if preview is fraction of project resolution.
- Transform and Mirror panel has been removed and new Transform panel
and Crop panel is moved to Adjust panel. Mirror is now part of new
Transform panel.

Technical changes:
- Preprocessing stage must work on duplicated image, because original is
cached. Previously Crop and Offset could run at once and required only
one duplication of image. This is not the case with new algorithms, so
duplication on demand is implemented. Transformation can read original
image and will output new image that is safe to modify. It should be
possible to add crop step to transform algorithm, so that Crop won't
require previous duplication though.
- Use Crop and Use Translation checkboxes were removed. Individual
values are compared to default values to check if image needs to be
processed. In case of transform this will be done also if resolution of
source.

Reviewed By: sergey

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

Commit Details:

Full Hash: e1665c3d31906aed195bfdc10a4dd7582f31b1f5
Parent Commit: 6b3eca6
Lines Changed: +570, -212

11 Modified Paths:

/release/scripts/startup/bl_ui/space_sequencer.py (+37, -60) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenlib/BLI_math_matrix.h (+8, -0) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+53, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+169, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+2, -0) (Diff)
/source/blender/imbuf/intern/rectop.c (+75, -2) (Diff)
/source/blender/makesdna/DNA_sequence_types.h (+5, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+23, -46) (Diff)
/source/blender/sequencer/intern/sequencer.c (+195, -101) (Diff)
/source/blender/sequencer/SEQ_sequencer.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021