initialize grid

 

 

This node will initialize the voxel grid that you can later access from other nodes. The node title will be the name of the voxel grid. Output pins will be valid only at the frame when voxels are created as defined by the Activation Frame parameter.

 

 

[Inputs]

 

Enabled - Enable or disable node evaluation.

 

#Grid TM - Voxel Grid position in the.

 

Create Position Helper - Voxel Grids are components within the NodeWorks editor, distinct from 3ds Max objects. Consequently, they cannot be directly selected or positioned. By clicking this button, NodeWorks will generate a position helper and an Object Info node, simplifying the process of placing the voxel grid precisely where you desire.

 

 

Grid

Spacing - Voxel grid spacing. This parameter directly affects the detail level in your simulation. Type in or use the spinner to set the spacing of the voxel-based grid. The chosen value defines voxel size; smaller voxel size allows for more voxels in simulation, which produces greater detail.

 

Activation Frame - Grid will be created at this frame and node output will be valid only for this frame.

 

Set Initial Size - Pre-define grid dimensions. However, voxels will be generated only where needed regardless on how big or small the initial size is. Enabling this options allows you to have a full adaptive grid functionality similar to FumeFX.

 

Width, Length, Height - These three values set the voxel grid dimensions.

 

Allow Shrink - Most of the time you will want grid to shrink and to occupy minimum required space for the simulation. However, if grid expands and shrinks during the simulation it will also delete velocity field which is very important to achieve natural rolling motion.

 

Extra Padding - Allowing velocity field to develop throughout the grid volume is of utmost importance for creating naturally moving fluid. When adaptive grid sensitivity is set to fields (smoke, fire...) adaptive grid will be created very tightly around smoke or any other field. Use this option to add extra voxels around the fields so that velocities can develop more naturally.

 

Expand by Field - FumeFX allows you to choose between different modes that will allow it to adjust grid size based on values near to the adaptive grid boundary.

 

Field Threshold - This parameter defines boundary sensitivity to smoke, fuel, fire and temperature. Larger number will generate tighter adaptive grid. If there is a source that doesn`t emit any matter and just produces velocities, use sensitivity by Velocity + Fields to be able to enlarge the grid.

 

Velocity Threshold - When Adaptive option is enabled and Sensitivity is set to Velocity + Fields, this parameter will define boundary sensitivity to velocity magnitude. Larger number will generate tighter adaptive grid. A good starting value would be grid Spacing area divided by a factor of 10.

 

Boundless - This option allows you to select grid axes that will be allowed to expand beyond the boundaries set by the container shape. Keep in mind that grid expansion will be limited by the amount of available computer memory.

 

 

Fields

Use <Channel> - Set which channels are going to be allocated.

 

 

[Outputs]

 

Grid - Outputs the grid that you can use with other nodes.

 

Total# - Total number of currently allocated voxels.

 

Voxel - This output will go through all the voxels in the grid and output one by one that you can connect to other nodes

 

Position - Position of each voxel that is set to the Voxel output pin.