This patch adds functionality for operations that require pixels
translation or resizing on "Full Frame" mode, allowing to adjust
their canvas. It fixes currentmost 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 canvasOperations output buffer is limited to the scene resolution size (x1.5)still always on (0,0) position for
for performance reasons as there are many operations thateasier image algorithm implementation, even when the
require their whole input to be renderedcanvas is not.
Operations output buffer is stCurrent limitations (will always on (0,0) position forbe addressed on bcon2):
easier image algorithm implementation, even when the operation- Displayed translation in Viewer node is limited to 6000px.
- When scaling up the canvas is nots size is limited to the
scene resolution size x 1.5 . From that point it crops.
The viewer node now displays translation without croppingIf none of these limitations are hit, the Viewer node displays
(limited to 6000px)the full input with any translation.
---
Test file:
{F10404450}
| Before | After |
| {F10404462} | {F10404471} |
Notes:
- A future solution for cases where there is only simple operations between scaling and the output operation, could be to use resolution factors instead of scaling.