Enabling 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.

Once visualisation support is enabled, it is still necessary to provide some configuration in order to select which agents to visualise and how.

If you prefer to use 3rd party tools for visualising models, you can save the simulation state to disk as described in a previous chapter.

Detecting Visualisation Support

FLAME GPU visualisation support can be detected within models:

    // Visualisation specific code