8
$\begingroup$

Is it possible at all to save a physics cache with a .blend file, so that when I open it back up, I won't need to cache it again?
P.S. I do understand the implications, that the .blend size can be huge.

$\endgroup$
3
  • 1
    $\begingroup$ Which cache do you have trouble with? Caches are normally saved to folders in the same location as the blend file, otherwise they would be located within the /tmp directory. Most caches allow you to customise the name and location of the cache folders. $\endgroup$
    – sambler
    Mar 16, 2014 at 14:47
  • $\begingroup$ I thought that the cache can be stored within the .blend file. But now when you've clarified that point I see that cache has the separate location. $\endgroup$
    – valk
    Mar 16, 2014 at 14:51
  • $\begingroup$ @sambler Care to add that as an answer? $\endgroup$
    – gandalf3
    Jul 29, 2014 at 0:02

1 Answer 1

10
$\begingroup$

When doing simulations in blender the results will be cached as you play through the animation. Most simulations will only keep the cache data in RAM until the blend file is saved, when you will get an option of saving the cache to a folder located next to the blend file.

While each simulation has it's own variations, the most common simulation cache options are -

enter image description here

By ticking the Disk Cache option the simulation data will be saved to a folder called blendcache_caching, if you give a name to the item in the list by Ctrl clicking it will be used as the beginning of each filename otherwise a random number will be used to distinguish each simulations data in the cache.

There are some exceptions to this. Rigid body caching is only saved within the blend file. Smoke and fluid caches are always disk based. Fluid, dynamic paint, and ocean modifier simulations use their own cache folder that you can rename if you wish.

While the Disk Cache option is only available after you first save the blend file, fluid and ocean caches will initially be saved within /tmp or c:\tmp on windows if the simulation is run before the file is saved. These temp file caches can be manually moved and adjusted in the cache settings if you bake before saving.

$\endgroup$
1
  • $\begingroup$ blender kills all my cached data from a hair particle simulation when I reopen my file. Is this supposed to be normal behaviour? I was expecting Blender to just read the saved disk cache files... $\endgroup$ Sep 12, 2021 at 16:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .