FlightGear Newsletter August 2015: Difference between revisions

Jump to navigation Jump to search
Line 22: Line 22:


=== Atmospheric Light Scattering ===
=== Atmospheric Light Scattering ===
==== Thunderstorms ====
In combination with Advanced Weather, ALS now simulates the flashes of lightning illuminating clouds at night during a thunderstorm. The simulation keeps track of all thunderstorms inside the field of view and generates a changing pattern of lightning strikes with variable frequency.
[[File:Lightning04.jpg|600px|Lightning strike]]
At night, dependent on the intensity of the lightning bolt, clouds in a distance of up to 20 kilometers may light up, giving rather stunning visuals of massive clouds suddenly torn out of the darkness.
[[File:Lightning05.jpg|600px|Clouds illuminate at night]]
Since the simulation writes the position of the lightning strike relative to the current eye position into the property tree (/environment/lightning/lightning-pos-x and /environment/lightning/lightning-pos-y), aircraft modelers can use this information as a timing signal to trigger a thunder ambience sound after the sound speed delay.
The lightning bolt simulation will work without ALS, but clouds and rain will not be illuminated.


==== Irradiance maps ====
==== Irradiance maps ====
1,360

edits

Navigation menu