Skip to main content
dkt0
Inspiring
March 26, 2025
Question

Motion Blur - Accessing Layer's Transforms

  • March 26, 2025
  • 2 replies
  • 6991 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.

dkt0
dkt0Author
Inspiring
March 26, 2025

Yeah, I would like to avoid making an Artisan to be honest. I was just talking about it because I thought that's the only way to access the layer's transforms. I'm glad I can avoid it.

 

My problem is accessing the layer's transforms. My current Motion Blur is a bit modified (focused on debugging). I want to focus on accessing the layer's transforms, the current implementation should make a small red box appear in top-left corner when motion is detected, but it does not work correctly at all. What am I doing wrong with the layer transforms accessing?

 

I am currently struggling with this. Like the blur code itself should be easy to make, but the motion detection/layer transforms accessing is the problem.

 

Btw this code is fully made with AI so of course there are problems. I'd really like some help with transforms accessing (yk maybe like an example plugin/code that does it correctly). I should be able to handle the rest.


Lol weird, I cant upload files?

 

Anyway, I just need an example of layer accessing. How exactly do I use AEGP_GetLayerToWorldXform or AEGP_GetLayerToWorldXformFromView correctly?