joseph
(J)
March 27, 2024, 9:33pm
1
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:
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
joseph
(J)
March 28, 2024, 3:12pm
2
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
ulf3000
(Alexander Mehler)
March 28, 2024, 4:55pm
3
can you add 3s and 4s ? and make it work for particles too ?
joseph
(J)
March 28, 2024, 5:01pm
4
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 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