Fix #147636: VSE compositor modifier output translation has no effect
The final image produced by the compositor can have domain translation on it (e.g. caused by a Translate or Transform node). Similar to how the regular compositor viewer node remembers the output domain translation, do the same in the compositor modifier. Bubble back that translation up to VSE rendering code, where it is then added to regular strip transform. In order to make this "bubble up" part easier, refactored modifiers so that instead of soup of parameters they all get a struct ModifierApplyContext with all the relevant data. Added a new VSE render test that covers various compositor transformation nodes (translate, rotate, transform, corner pin). Pull Request: https://projects.blender.org/blender/blender/pulls/147695
This commit is contained in:
committed by
Aras Pranckevicius
parent
e60c5475ca
commit
1973bad86c
BIN
tests/files/sequence_editing/effects/mod_comp_transform.blend
(Stored with Git LFS)
Normal file
BIN
tests/files/sequence_editing/effects/mod_comp_transform.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/sequence_editing/effects/reference/mod_comp_transform.png
(Stored with Git LFS)
Normal file
BIN
tests/files/sequence_editing/effects/reference/mod_comp_transform.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user