Skip to main content
Known Participant
May 29, 2025 5:45 AM UTC
Answered

How to make effect plugin render result exceed layer size range? Like motion tile effect.

Hi guys,

I want to write an effect plugin which can achieve that render result can exceed layer original size, in AfterEffects plugin, there is an effect called Motion Tile, the result from this effect can exceed layer size like image below, thanks!

James Whiffin
James WhiffinCorrect answer
Legend
Jun 6, 2025 2:08 PM UTC

Try setting both output result rects to the expanded_rect. Also if you want you can expand the request rect to recapture any offscreen pixels, not sure if that is relevant to the plugin you are making. 

13 replies

James Whiffin
Legend
Jun 3, 2025 3:59 AM UTC

You can expand the boundaries in frame setup if you're not using smartFX, or by increasing the output rectangle in PreRender when using smartFX.

Translate
Known Participant
Jun 3, 2025 4:07 AM UTC

Many thanks man, I have a try 😄

Translate
James Whiffin
Legend
Jun 3, 2025 4:11 AM UTC

No worries 🙂 if you go the first route you'll need to set PF_OutFlag_I_EXPAND_BUFFER. If you go with smartFX you'll need to set 

extra->output->flags |= PF_RenderOutputFlag_RETURNS_EXTRA_PIXELS;
Translate