Versions Compared

Key

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

...

UI Text Box
sizemedium
typeinfo

The Edit Condition window is at the core of the Phoenix FD Voxel Tuner. It consists of a Conditions Tree on the left and a Parameters panel for the individual elements in the tree on the right. Any action specified for the selected Then [ Grid Channel ] will only be executed for the cells of the Simulator which satisfy the conditions tree.

The Conditions Tree is made up of the following expression types: Logic, Compare, Math, Value.

Folding (collapsing) of a tree item in the view to the left will show you a simplified view of the expression. For example, collapsing the tree below will change its text to "Temperature > 800.000", meaning the Voxel Tuner will affect only voxels where the Temperature grid channel is higher than 800.


 

 

Section

Value Expression


Anchor
valueExpression
valueExpression

UI Text Box
sizemedium
typeinfo

The Value Expression is the lowest level operator. It expects no sub-expressions but can be converted to a Math Expression by selecting it with the right mouse button in the Conditions Tree.

The Value Expression returns a raw number which can be either the value of a Grid Channel or a Texture for a given cell of the Phoenix FD Simulator, a manually-specified number in a certain range or the distance between a given cell and an object in the scene.



Number [ 1 ] | val_typeval_number – returns the specified value.

Random Between [ 0 - 1 ] | val_type, val_rand_min, val_rand_max – returns a random number in the selected range. Note: a different value is generated for each cell of the Simulator. The value also changes for every frame.

Channel [ Temperature ] | val_typeval_chan_grid – returns the value of the specified Simulator Grid Channel for the current cell. You must have this grid channel enabled in the Output rollout of your Simulator. The Channel can be one of: [ Temperature ], [ Smoke ], [ Fuel ], [ Speed ], [ Velocity X ], [ Velocity Y ], [ Velocity Z ], [ RGB Red ], [ RGB Green ], [ RGB Blue ].

Distance To [ None ] | val_typeval_dist_node – returns the distance from the specified object's surface to the current cell. Note: this only works for polygon meshes. Particle systems are currently not supported.

Texture [ No Map ] | val_typeval_tex – returns the specified texture's value for the current cell. The Phoenix FD Simulator has no Explicit UV coordinates therefore the texture's Mapping should be set to Planar from Object XYZ for this to work.

...