Selective motion blur in Action

Hello. Long-time listener, first-time caller.

This has been something with Action that I’ve struggled with, and I’m curious if I have missed a better way of doing things.

Motion blur in Action is painfully slow, as we all know — especially on high-res shots.

In one of my beauty rigs, I need motion blur on just a couple of surfaces, and the rest of the surfaces and the gmasks do not need motion blur.

When I activate Action motion blur, I then have to go through and manually select an de-toggle motion blur from every single surface and gmask in the schematic.

it would be nice to have a “no motion blur” optional default, so it’s a matter of selecting a couple of objects, rather than having to deselect 50 objects…

Enable Motion Blur for the whole action.
Save your action.
Locate and open the ‘.action’ file with a text editor.
Replace the string ‘MBlur yes’ with ‘MBlur no’.
Save the file.
Reload the action in flame.
Enable Motion Blur for the two objects.

Here is a shell script that you can use - the usage instructions and how to turn it into a shell comand shortcut are in the header. (it’s probably 10x - 50x faster than manually using a text editor)

fix_mblur.sh.zip (1.9 KB)

4 Likes

Now, wouldn’t this be a perfect example of an LLM within Flame?

“Turn off motion blur on all axes and surfaces”

“Select the rotation channels of the selected axes in the animation view”

“Align the position.x of selected axes”

1 Like

I couldn’t find the MBlur attribute otherwise it could have been a python hook mapped to a hot key or a stream deck button.
Maybe it exists, Fred would know.
I’m buried in ipxe for the next day or so.

Or another option is, just allow multiple-select and toggle or de-toggle motion blur on all selected objects. Unfortunately that isn’t a feature.

1 Like

yep. there’s that. so…