Issue with transform mask and/or animation curves tool

Heres the video of me showing and explaining the issue https://drive.google.com/file/d/1u_QeCEKADPsro_ojoEsnoiZcArt881Z5/view?usp=drivesdk

This is the link to yt tutorial which i was using to learn add camera movement - https://youtu.be/u19eNN5sGkM?si=QCEV0rhbVEi7uwUW

And please help me if you know how to fix this issue or alternative ways to use to avoid this bug

So, from personal experience, Krita just really likes to automatically crop things which go outside the canvas. I’m not sure what exactly triggers it.

The workaround for this is to make it so that things never go outside the canvas:

Make your canvas bigger, then split it into 2 parts:

  • A central area where your animation will happen
  • Extra blank space around the central area - this is here so that layers animated using transform masks never have to go outside the canvas (thus they won’t get cropped)

Then you render the animation in Krita, and then crop it in a different program so that only the central area is visible.

1 Like

Krita allows to add custom arguments to FFMPEG (which does the rendering). That way you can define a region that should be rendered, ignoring everything else that is outside. I don’t know them from the top of my head but I’m sure they’re in FFMPEGs manual. That way you could save the step of cropping it in another program and also save on resources when rendering.

1 Like

Alright, i’ll try, thank you!!

Ty!! I’ll look for this too

The problem seems to be the use of an animated transform mask on a group which contains multiple paint layers. There is a serious compositing glitch which varies depending on the layer order that may or may not lose off-canvas content.

Separately, including the Krita Background Layer (KBL) inside a group like that results in only the canvas portion being considered and the infinite off-canvas content being ignored.
I think that’s because the group layer is the composited image for canvas presentation and that composition does not include content outside the canvas. Hence the transparency that is brought in from outside the canvas.
That doesn’t happen with a static or animated transform mask on an isolated KBL.
So, drag any KBL down and outside the group and don’t paint on a KBL anyway. If you want any kind of animated ‘background layer’, use a new paint layer.

You can use the Crop Tool with Applies to: Canvas because that performs a canvas resize action that does not affect off-canvas content. Also, it doesn’t seem to affect positional transforms and that did used to be a problem some time ago. Maybe that was fixed. I haven’t tried rotational transforms or scale/shear and I know rotation was a problem with resizing the canvas.

The YouTube tutorial was made by @amazinganimation who is a member of this forum.
The animated transform mask used on the group does not result in off-canvas content being moved onto canvas. It’s a simple zoom in and position change to track some content.
That is probably why it works ok.

That is a good way of doing it and you can see everything while you’re making it which is essential for multilayer animations with many moving ‘characters’ that go off- and on-canvas during the animation.