Traffic Shader
Jump to navigation
Jump to search
| Started in | 11/2013 |
|---|---|
| Description | Improved autogen support for FlightGear using OSM data |
| Contributor(s) | radi, vanosten, Soitanen, portreekid |
| Status | Under active development |
| Topic branches: | |
| $FG_SRC | https://gitlab.com/osm2city/osm2city/ |
| fgdata | https://gitlab.com/osm2city/osm2city-data/ |
| OpenStreetMap use in FlightGear |
|---|
The traffic shader [1] [2] generates dynamic traffic on roads. You can enable it in the rendering options dialog.
Screenshot showing Thorsten's updated traffic shader using textures based on artwork contributed by gsagostinho: a grid of 32 x 128 pixels per car as to be able to accommodate trucks and buses as well [3].
Traffic density
Traffic density is interpolated based on the time of day, peaking during the morning and evening rush hours and dropping to its lowest point in the early morning. The source code can be found under EnvironmentInterpolator:OSM:TrafficDensity in [GitLab]/flightgear/fgdata/next//Environment/local-weather-rules.xml.
Videos
A few sample videos of the Boston area.
Related content
References
| References |