Stepped Interpolation (on 2s) on Cloth Simulation

This script adds a button to the cache panel of the Cloth Physics tab of the Properties editor to add stepped interpolation, on 2s, to all bakes:
2024-03-27 16_30_34-
Note that you must have Disk Cache turned on for this to work.

Stepped cloth sim, on 2s:

Normal cloth sim:

Another example of stepped interpolation (*thanks to @thorn *):

Note that this is non-destructive; you can rebake to clear the interpolation or rebake and re-interpolate if you make changes to the cloth.

cloth_sim_on_2s.py (2.7 KB)

This script is for NPR artists such as myself that don’t want the smooth look of a frame-by-frame cloth simulation.

8 Likes

Update: version 1.1 works with all cloth simulation bakes, not just one.

cloth_sim_on_2s.py (2.7 KB)

(Thanks to @thorn for some pointers!)

1 Like

can you add 3s and 4s ? and make it work for particles too ?

3s and 4s aren’t useful to my workflow, so I’m not going to take the time personally, but it should be very easy to add those if you want :slight_smile: just copy the operator and change the “% 2 == 0” part to three or four.

Particles would be cool- I do plan on looking into that at some point