Skip to main content
dkt0
Inspiring
March 26, 2025
Question

Motion Blur - Accessing Layer's Transforms

  • March 26, 2025
  • 2 replies
  • 6971 views

Yo

 

I've been trying for quite some time to make Motion Blur as a normal effect plug-in and I want to ask if it is even possible. Can I access the layer's transforms through a normal effect plug-in? What do I need to use?

 

I wanna make sure if it is possible or not. The only other way is making it an AEGP, right? I would like to avoid that.

2 replies

Warren Heaton
Community Expert
Community Expert
March 26, 2025

I don't know if this will help with what you are trying to achive or not, but the third-party plugin ReelSmart Motion Blur by RE:Vision Effects is well known for applying a natural-looking motion blur via an effect as an alternative to the built-in Motion Blur Switch.

dkt0
dkt0Author
Inspiring
March 26, 2025

I know about RSMB, but I want to code my own Motion Blur plugin. Thanks anyway.

Community Expert
March 26, 2025

either AEGP_GetLayerToWorldXform or AEGP_GetLayerToWorldXformFromView will get you tra transformation for a given time, which you can use to calc motion blur.

however, as for the rest of your question, it's a bit too broad. can you explain what you're trying to do in more detail?

dkt0
dkt0Author
Inspiring
March 26, 2025

Thanks. 

 

At least now I know I can make it. Any simple example of how to use those to access the transforms? Would be helpful tbh.

 

And for the rest of the question, I was talking about making Motion Blur as an AEGP (Artisan ig) if making it a normal effect plugin was not an option.

 

Also, for a tiles effect, I use the same stuff, right? I need to access the layer's transforms for that one too.

Community Expert
March 26, 2025

I am trying to code my own Motion Blur effect and I want to know if it will work or not on other effects (like Transform or S_BlurMoCurves or my own transform plugins) if I access the layer's transforms. And if it doesn't, do I need to do something specific to make it work on other effects?


well, motion blur is basically smearing the image from point A to point B.

when looking at motion coming from animting the transformation properties, then reading the transform value of the layer at 2 points in time and rendering multiple interpolation - will do the trick. (alas, it's not doing anything AE doesn't do natively.

S_BlurMoCurves does something similar, but with arbitrary transformations, and not the layer transformation. which makes sense as a plugin, because you wand just the "smear" and not the motion.

as for making it "work on other effects", plugins operate linearly, each processing the output of the previous one. so technically, you could apply motion blur to anything... both sides are indifferent to each other.

alas, when you say "work on other plugins" i bet you'd want to do something that correlates to the content. say you apply your plugin after a "mosaic" effect. what should the blur blur? left? right? zoom blur? that's up to you to figure out.

 

on another note, plug-ins can request their input at different times. if you apply your effect on a comp with content, you could request int he input at a serises of times between the current time sample and the next frame, and average these inputs. now you get a "motion blur" of that comp's inside animation, whatever it may be, without caring abount transformations.