Building with Visualisation
To use the visualisation features you must ensure that you are using a build of FLAME GPU with visualisation enabled.
Visualisation is enabled by setting the
VISUALISATION CMake option to
ON during CMake Configuration. See Building FLAME GPU from Source.
FLAME GPU visualisation support can be detected within models:
#ifdef VISUALISATION // Visualisation specific code #endif
if pyflamegpu.VISUALISATION: # Visualisation specific code
If you prefer to use 3rd party tools for visualising models, you can save the simulation state to disk as described in Collecting Data.
The default visualisation will render agents based on their x, y and z variables.