Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
UI Expand
title UI Path: ||Create panel|| > Helpers > PhoenixFD category > VoxelTuner button

Image RemovedImage Added


Parameters

...

Section
Column
width50%

Enabled tun_enabled – Animatable checkbox that turns on and off the effect of the Voxel Tuner.

When [ Edit Condition... ] – Opens the Edit Condition window. The Edit Condition window is used to construct a sequence of tests which are evaluated for every cell of the Phoenix Simulator, at each simulation Step. If the cell satisfies the condition, the selected Then actions are performed - Change Voxel Channel or Affect By Forces. Otherwise, the cell is ignored. By default, the condition is set to "Temperature > 800", therefore only those cells where the Temperature channel is greater than 800 will be affected by the specified action. See the Grid Channel Ranges page for more information on the channel ranges.

Then:

Change Voxel Channel checkboxtun_act_op_chan – When the condition of the Tuner passes for a voxel, you can choose which grid channel of this voxel will be changed and how:

Channel tun_act_chan – Selects the Grid Channel to affect. If Speed is selected, the Velocity vector of the simulation will be scaled based on the specified Action Value. The Channel can be one of: [ Temperature ], [ Smoke ], [ Fuel ], [ Speed ], [ Velocity X ], [ Velocity Y ], [ Velocity Z ], [ RGB Red ], [ RGB Green ], [ RGB Blue ].

Action tun_act_chan_change – Specifies the type of action to perform on the selected Channel. You can choose to increase or decrease the value at each simulation step, or set it directly to a certain value.

Action Value | tun_act_value – Specifies the value for the selected Action.

Buildup Time (sec) | tun_buildup_time – The time it takes (in seconds) for the Channel to gradually reach the specified Action Value. If Buildup Time is 0, the effect is instant.

UI Text Box
typenote

If the Buildup Time is set to 0, the specified Action will be executed for every step of the simulation. If the Steps per Frame parameter of the Simulator is set to a value higher than 1, the specified Action will be executed multiple times for a single frame.

Time Scale different than 1 will affect the Buildup Time of the Voxel Tuners. In order to get predictable results you will have to adjust the buildup time using this formula:
Time Scale * Time in frames / Frames per second

Affect By Forces | tun_act_op_force, tun_force_list – When the condition of the Tuner passes for a voxel, you can choose which forces will affect it. You can pick 3ds Max forces, Phoenix forces, Mappers, or even other Voxel or Particle Tuners. Using this, you can for example tell a force to only affect the fluid inside a volume, or only affect fluid with certain speed, or even based on a texture mask.

With Multiplier | tun_force_mult –  Multiplier for the strength of the forces. This is particularly useful for easily scaling the effect of 3ds Max forces over a Phoenix simulation.

Column
width5%

 

Column
width45%

...