模拟区#
Simulation zones allow the result of one frame to influence the next one. That way even a set of simple rules can lead to complex results, with the passing of time. The most common type of them is physics simulation, with specific solvers for physical phenomena.
When adding a simulation, two nodes are added, defining between them a "Simulation Zone".
The inputs that are connected to the Simulation Input node are evaluated only once, at the beginning of the simulation, passed to the next simulation state and eventually outputted. Other nodes can be linked inside the simulation region from the outside. Those are re-evaluated every step based on their value at the given frame.
It is not possible to have any link going towards outside. The result of the simulation can only be accessed via the Simulation Output node. This also allows sub-frame interpolation for motion blur.
Note
This node cannot be used in the Tool context—only in the Modifier context.
时钟#
The simulation is tied to the animation system, with support for sub-steps. It will only be evaluated while the animation frame changes, and is cached like the existing physics simulations in Blender.
属性#
In the Node Editor the inputs can be renamed, shuffled and removed. This is also the place where sub-steps can be defined for a simulation.
输入#
- 几何数据
Standard geometry input, which is available by default to input geometry into the simulation zone. More bake items can be added by dragging sockets into the blank socket or in the Simulation State panel. Items can be renamed by Ctrl-LMB on the socket name or in the nodes Properties panel.
- 增量时间
The time in seconds between frames. Essentially this the inverse of the render Frame Rate.
This delta is used to drive the simulation by connecting it node setups that depend on a rate. This will keep the simulation playback consistent when the frame rate changes.
- 跳过
将模拟输入节点的输出直接转发到输出节点,并忽略模拟区中的节点。
烘焙#
The simulation is automatically cached during playback. The valid cache can be seen as a strong yellow line in the timeline editor. This allows for animators to quickly inspect all the previous frames of a simulation.
For the cases where the current frame is the only one relevant, users can opt-out of "Cache" to save memory.
When the result is ready to be sent to a render-farm, it can be baked to disk. This allows for the simulation to be rendered in a non-sequential order.
Note
烘焙模拟将会烘焙所选物体中所有修改器的所有模拟数据。
示例#
Combined with the 最近编号, this can be used for a number of sphere-based simulations.