缓存

参考

面板

物理 ‣ 流体 ‣ 缓存

类型

The Cache panel is used to Bake the fluid simulation and stores the outcome of a simulation so it does not need to be recalculated.

Baking takes a lot of compute power (hence time). Depending on the scene, it is recommended to allocate enough time for the baking process.

如果网格有修改器,渲染设置会用于将网格数据导出到流体解算器内。根据设置的不同,计算时间和内存使用量可能会呈指数增长。例如,当使用带有 表面细分 的运动网格对象时,可以通过关闭或降低细分级别来减少模拟时间。当设置/绑定正确时,你总是可以通过提高设置来产生更逼真的模拟结果。

Note

Fluid simulations use their own cache. All other physics simulations make use of the General Baking operators.

缓存目录

Directory to store baked simulation files in. Inside this directory each simulation type (i.e. mesh, particles, noise) will have its own directory containing the simulation data.

类型

The type of the cache determines how the cache can be baked.

  • 模块化

    In this mode the cache is baked step by step. The bake operators for this type can be found in the other panels within the domain settings. It is possible to cancel and resume bake jobs when using this type.

    最终

    This mode bakes the cache considering all selected settings at once. The bake operator for this type can be found in the cache panel. It is not possible to resume a bake job as only the most important data is being written to disk. Caches will generally be smaller in size though.

    重播

    The cache is baked as the simulation is being played in the viewport. It is possible to resume bake jobs when using this type.

起始

模拟开始的帧位置。

结束点

模拟结束的帧位置。

Note

The simulation is only calculated for positive frames between the Start and End frames of the Cache panel. So if you want a simulation that is longer than the default frame range you have to change the End frame.

数据文件格式

File format for the data simulation files. Data simulation files store the information of the most basic grids that are needed for a fluid simulation (e.g. velocity, density).

  • Uni缓存

    Blender自己的缓存格式,带有压缩。

    Raw缓存

    Blender自己的缓存格式,没有压缩。

    OpenVDB

    Advanced and efficient storage method developed by DreamWorks Animation.

    All grids are stored in separate .vdb files. Thus every file contains just one simulation field or grid.

Particle File Format Liquids Only

用于粒子缓存文件的文件格式。

  • Uni缓存

    Blender自己的缓存格式,带有压缩。

Mesh File Format Liquids Only

File format for the mesh cache files.

  • 二进制对象

    Mesh data files with some compression.

    物体

    Simple, standard data format for mesh data.

Bake All, Free All

This option is only available when using the Final cache type. Bake All will run the simulation considering all parameters from the settings (i.e. it will bake all steps that can be baked individually with the Modular cache type at once).

The progress will be displayed in the status bar. Pressing Esc will abort the simulation.

Once the simulation has been baked, the cache can be deleted by pressing Free All. It is not possible to pause or resume a Bake All process as only the most essential cache files are stored on drive.

高级

导出Mantaflow脚本

Export the simulation as a standalone Mantaflow script when baking the scene (exported on “Bake Data”). Usually, only developers and advanced users who know how to use the Mantaflow GUI will make use of this functionality. Use a Debug Value of 3001 to enable.