How to use fluid simulations, like Mantaflow, with Renderjuice, the Blender render farm.
.blend
file, you must zip your fluid caches along with your scene before uploading.
If you’re seeing E:/
or similar in your cache path, you’ve not set the path correctly and it is still absolutely linked.
Here’s an incorrect and absolutely linked example:
Incorrect and absolutely linked cache path
.blend
files demonstrating the correct and incorrect setups for fluid simulations.
.blend
file with fluid simulation.blend
file with baked fluid simulation cacheSave
after hitting Free All
and Bake All
or forgetting to make sure the cache paths are relative. In the case that your paths are incorrect,
we may either try to automatically fix them or your render might just miss the fluid simulation so be careful!
Set Up Your Fluid Simulation
Bake the Fluid Simulation
Physics Tab (1) Cache Path - note the `//` in the path. (2) Free All and Bake All Button (3) Bake Path Folder Icon
//
is Blender’s way of saying “relative to the current file”, you may either type in your path here using //my-cache-folder-name
or use the folder icon to navigate to the cache location. If you have a drive like C:\
or D:\
here you’ve not set the path correctly and it is still absolutely linked.Choose Cache Storage Location
.blend
file yet which we don’t want!.blend
file. The last save ensures the pathing is persisted into the .blend
and the bake step writes the cache out to the disk.//my-cache-folder-name
When using the folder picker GUI, you *must* click on the Cog Icon to show the option for 'Relative Path'
Save Your Scene
.blend
file. The baked simulation references are now part of your scene.Zip Your Scene and Cache
.blend
file along with the cache folder.cache
blob
or similar and contains the baked simulation data.zip
with your selected cache folder. Note that these extensions may vary from case to case.Upload and Render
.blend
file after baking?Why do I need to bake fluid simulations?
Can I pack the fluid cache into the `.blend` file?
.blend
file. You must include the cache files separately by zipping them along with your .blend
file.How do I make sure the cache path is correct?
.blend
file. This way, when you zip the .blend
file and cache folder together, the simulation can find the cache files.I'm seeing my simulation, but it's the old version!
.blend
file after baking. Make sure to save your .blend
file after baking. As a reminder, baking writes the cache out to the disk, saving ensures your pathing is updated inside your .blend
file to point to the baked information you just made.Do I need to bake other types of simulations?
Can I use the 'Replay' cache type for fluid simulations?
The Replay Cache Type