Particle effects : snow and rain
  by Nicolas VIVIEN
===================================================
							Patch v6 (in CVS ?)


FEATURES :
----------
This patch permits to add snow and rain effects in using particle from OSG.

This improvement works with the METAR informations to enable / disable rain or snow effects.
(intensity of effects is : low, meddium, high)

The precipitations are stopped when the aircraft is above the cloud layers.

The rain precipitation turn off snow precipitations when the ambiant temperature is lower
than the freezing temperature. (the freezing temperature is 0°C)

The rain precipitation are enabled when the temperature is lower than the dew point.
(use a small intensity)

The wind influents the precipitations (speed and direction support).

The precipitation changements aren't abrupt... but smooth.


CHANGELOG v6 :
--------------
- Fixe the turninf off rain to snow (at 0°C about)
- Fixe the dew point using.
- Add precipitation changement smoothly.
- Add a precipitation menu (thanks to Emmanuel BARANGER)


CHANGELOG v5 :
--------------
- Fixe the bug about world coordinate...
- Add rain transforming to snow with altitude and temperature...
- Add the wind feature (direction and velocity)


CHANGELOG v4 :
--------------
- Follow the Tim'advice, Precipitation object has to link to each tile... but to the scene.
- First test with wind...


CHANGELOG v3 :
--------------
- The origin of Precipitation object is calculate with worldcoordinate Matrix.
- Precipitations fall vertically anywhere on the earth...


CHANGELOG v2 :
--------------
- Link the precipitation object to tile element :
Now, there is one precipitation object per tile. It permits to use the world coordinate.
- Add links between precipitation and cloud layers :
When you are above the cloud layer, the precipitations are stopped.


CHANGELOG v1 :
--------------
Firt step : test the precipitation effect.


TO DO :
-------
Add an umbrella in the cockpit.


INSTALL :
---------

- You have to remove the others patch about precipitation.

- You have to add the two files :
precipitation.hxx and precipitation.cxx 
in the directory simgear/simgear/environment

- You have to apply simgear patch

- You have to add the two files :
precipitation_mgr.hxx and precipitation_mgr.cxx 
in the directory flightgear/src/Environment

- You have to apply flightgear patch

- You have to add the file :
rainsnow.xml
in the directory data/gui/dialogs

- You have to apply data patch

- Then, build simgear and flightgear.

