Wildfire simulation

From wiki.flightgear.org

Jump to: navigation, search

A wildfire (woodland, grassland etc) simulation is available in FlightGear 2.0.0 or later. It is based on a cellular automata model of how wildfires spread. It is possible to set up fires that are shared (replicated) among users over MP for joint fire fighting efforts.

Image:Wildfire.jpg

Contents

Configuration

The wildfire simulation can be configured via the configuration dialog available from "Environment->Wildfire settings":

Image:Wildfire_dialog.jpg

Enabled: Fire simulation on/off. Cycling Enabled resets the fire simulation.

Share over MP: When set fire events, i.e. ignition and fire fighting, are sent/received over the MP network.

Show 3d models: Enable/disable rendering of the wildfire 3d models.

Crash starts fire: If your aircraft crashes somewhere inflammable there will be a fire.

Report score: Copilot reports success/failure of firefighting actions.

Save on exit: Save the fire event log when FlightGear exits. (Experimental)

Load Wildfire log: Load and execute a save fire event log. (Experimental)

Fire fighting

The Consolidated_Aircraft_PBY_Catalina air tanker / water bomber can be used to drop water on wildfires.

Developer information

See Docs/README.wildfire.

Known problems

  • Huge fires are expensive and cause significant fps drop.
  • It appears the wildfire models are not removed properly from the scene graph. The frame rate impact (or part of) remains when 3d models are disabled and even after the Wildfire module has been reset.
  • Wind is not considered.
  • Crash starts fire does not consider the type of aircraft and the circumstances of the impact/crash, only the inflammability of the terrain.
  • Sharing the wildfire state over the multiplayer network doesn't work in 2.0.0. This is fixed in FlightGear/CVS.

External links

Personal tools