+1 (972) 883-2091
ECSS 4.220, 800 W Campbell Rd, Richardson, TX 75083–0688, US

The 2D visualizer generates and renders 2D graphical representations of the simulated entities. As in the case of the 3D visualizer, the 2D visualizer incorporates an environment editing system that allows the user to specify a virtual environment. In addition, it provides the user with the mechanism to interact with the simulation at run-time to trigger events.

To start the 2D Visualizer, go to DIVAs GUI menu > click “Visualizer” > click “Start 2D visualizer”.

Using the slider in the right panael, you can zoom in/out to adjust the scale of the 2D visualizer to fit your screen.

Running-Simulation

Using the Environment Editing System

Through the 2D visualizer, the user can add objects to the environment and then change their propoerties as required. To add an environment object, select the object category from the drop down menu located at the bottom right corner of the 2D visualizer as shown in the figure below:

Running-Simulation

Once the category is selected, all environment objects belonging to this category are displayed below.

Running-Simulation

To add an object to the nevironment, you can select any of the displayed environment objects and then click at any empty place in the environment. The object will be added to the specified position with the initial scales.

Running-Simulation

To change the scale of an environment object:

  1. From the right panel, click on “Selection Mode” button. The options status at the top right corner will be changed to “Section_mode”.
  2. Click on the environment you want to edit.
  3. From the right panel, choose the edit option: a) Edit Scale X; b) Edit scale Z; 3) Edit Location; or 4) Edit Rotation. Once the option is selected, the Options status will be changed accordingly.
  4. Click on the environment object again and drag to resize/edit the object as needed.

Running-Simulation

Run-time interaction with the simulation

You can add agents to the simulation by pressing on “Add agent” button and then clicking on an empty space on the environment. You can check “Show Agent ID” to show agents’ ID in the visualizer.

Running-Simulation

You can also show agents’ vision cone by checking “Vision Cone Enabled”.

Running-Simulation

The 2D visualizer allows the user of the simulation to interact with the simulation to trigger explosions or fireworks. This is can be done by clicking on “Add explosions” or “Add fireworks” button and then clicking on the environment where you want to trigger the event.

Running-Simulation

You can also track agents at run-time by adding them to the track list as shown in the figure below:

Running-Simulation

You can always turn all options on at the smae time, i.e. vision cone, ID, and tracking

Running-Simulation