Blender Git Loki
September 28, 2021, 18:29 (GMT) |
Cleanup: Remove XRange and YRange in Compositor Mostly unused and originally meant for areas with positive values. With canvas compositing areas position may be negative. |
September 28, 2021, 18:29 (GMT) |
September 28, 2021, 18:29 (GMT) |
Compositor: Replace resolution concept by canvas This is a code refactor in preparation of supporting canvas compositing. See {D12466}. No functional changes, all canvases are at (0,0) position matching tiled implementation. Differential Revision: https://developer.blender.org/D12465 |
September 28, 2021, 18:29 (GMT) |
Compositor: Add support for canvas compositing This patch adds functionality for operations that require pixel translation or resizing on "Full Frame" mode, allowing to adjust their canvas. It fixes most cropping issues in translate, scale, rotate and transform nodes by adjusting their canvas to the result, instead of the input canvas. Operations output buffer is still always on (0,0) position for easier image algorithm implementation, even when the canvas is not. Current limitations (will be addressed on bcon2): - Displayed translation in Viewer node is limited to 6000px. - When scaling up the canvas size is limited to the scene resolution size x 1.5 . From that point it crops. If none of these limitations are hit, the Viewer node displays the full input with any translation. Differential Revision: https://developer.blender.org/D12466 |