This rollout contains controls which allow users to profile and debug various aspects of a flow.
Print simulation summary: controls whether a summary of flow details will be printed to the MAXScript listener each time a sequence of frames is simulated.
Print simulation details: controls whether a verbose list of simulation timing details will be printed to the MAXScript listener each time a sequence of frames is simulated.
Print GPU mesh details: controls whether a verbose list of timing details will be printed to the MAXScript listener regarding the time required to upload tyFlow meshes to the GPU for display.
Print GPU particle details: controls whether a verbose list of timing details will be printed to the MAXScript listener regarding the time required to upload tyFlow particle transforms to the GPU for display.
Simulation details can provide useful insights into the time required to complete each step of the simulation process. If a simulation is running slowly, you can view the simulation details to see which operator or function is taking the most time to process.
Computing simulation details has a minor performance cost, and printing simulation details to the listener is a slow process, so these settings should remain disabled unless you are actively trying to debug or profile a simulation.
Every time a flow’s input objects change, the flow’s simulation is reset to account for the changes. Sometimes a buggy input object may send rogue notifications to the flow, announcing it has changed, even though hit has not. This can cause a flow to continually reset its simulation in an undesirable manner. Enabling this setting can help users figure out which objects are sending change notifications to the flow.
Print editor keycode: keycodes of keys pressed in the editor will be printed in the MAXScript listener.
Print while playing: controls whether simulation summaries or details will be printed to the MAXScript listener during timeline playback. Keeping this setting disabled will maximize viewport playback speed, by suppressing messages while playback is occurring.
Print OpenCL Info: pressing this button will print a list of available OpenCL devices and their properties to the MAXScript listener.
Re-initialize OpenCL: rebuilds OpenCL programs and kernels. In case of an OpenCL error during simulation, OpenCL must be re-initialized before it can be utilized again.
These settings allow users to see visual properties of a flow’s input meshes in the viewport. The resulting markers represent the exact data held in RAM by the flow in its custom tyMesh object format, not necessarily the raw data contained within the input objects’ Mesh objects. Usually, there should not be a discrepancy between the two, but these options will allow you to see if there is.
Display wireframes: manually draws the wireframes of all input meshes in the viewport.
Display face normals: manually draws the face normals of all input meshes in the viewport.
Face normal size: controls the overall length of the drawn normals.
Display velocities: manually draws vertex velocity vectors of all input meshes in the viewport.
Display vertex indices: manually draws vertex index numbers for all faces of all input meshes in the viewport.
Display vertex positions: manually draws vertex position values of all input meshes in the viewport.
Display face indices: manually draws face index numbers for all faces of all input meshes in the viewport.
By default, the bounding box of a flow encapsulates all of its particle positions. In order to maximize performance, the bounding box does not encapsulate the shape mesh of each particle, merely the particle’s volumeless 3D position in space. Due to this optimization, if all of the particles of a flow are positioned outside of a viewport’s frustum, the entire flow may be culled from display even if the shape meshes of particles are large enough to overlap the interior of the frustum. By manually inflating the bounding box of a flow to account for the size of its particle meshes, you can ensure that the flow will not be culled from viewport display even if no particle positions are in view.