<frame_rate> ‐ The values of time and crowd steps, and frame rate.
This element defines the values of the parameters that control the rendering speed, the crowd motion speed, and the minimal delay between two frames.
The float value of the crowd_step attribute defines the multiplicative factor of elementary linear motion of crowd agents at each frame. The float value of the minimal_interframe_latency attribute defines the minimal delay between two frames (in milliseconds). The actual delay can be longer if frame rendering takes longer than minimal_interframe_latency. The float value of the interpolation_refreshing_ variation attribute defines the threshold value of interpolator variation under which the update script attached to the interpolator is not executed.
None.
The example below defines 2 as multiplicative factor for agent linear motion, and a frame rate greater than or equal to 25 frames per second: Interpolation update scripts are only executed for interpolation variations above 0.03.
<frame_rate crowd_step="2" minimal_interframe_latency="40" interpolation_refreshing_variation="0.03" />