Simulation Zone#

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.

../../../_images/modeling_geometry-nodes_simulation_zone.png

Initial simulation nodes and simulation zone.#

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.

Примечание

This node cannot be used in the Tool context—only in the Modifier context.

Clock#

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.

Входы#

Геометрия (geometry)

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.

Delta Time

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.

Skip

Forward the output of the simulation input node directly to the output node and ignore the nodes in the simulation zone.

Запекание (baking)#

Симуляция кэшируется автоматически во время воспроизведения. Действительный кеш можно увидеть в редакторе временной шкалы в виде яркой жёлтой линии. Это позволяет аниматорам быстро просматривать все предыдущие кадры симуляции.

../../../_images/modeling_geometry-nodes_simulation_baking_timeline.png

Кэшированные кадры на временной шкале.#

For the cases where the current frame is the only one relevant, users can opt-out of «Cache» to save memory.

Когда результат готов к отправке на рендер-ферму, его можно запечь на диск. Это позволяет визуализировать симуляцию в непоследовательном порядке.

../../../_images/modeling_geometry-nodes_simulation_baking.png

Simulation and Physics, Simulation Nodes user interface.#

Примечание

Запекание симуляции – запекает все симуляции во всех модификаторах для выделенных объектов.

Примеры#

В сочетании с нодой Index of Nearest (индекс ближайших) это можно использовать для ряда симуляций на основе сфер.

../../../_images/modeling_geometry-nodes_simulation_example.png

Sample файл Index of Nearest CC-BY Шон Кристоферсон.#