1
0
Fork 0
Commit graph

53 commits

Author SHA1 Message Date
Thorsten Renk
1c9f110192 Replace Nasal loop for camera altitude computation by property rule 2013-01-25 14:55:58 +02:00
Thorsten Renk
ed80612c98 Atmospheric Light Scattering update 2012-12-05 20:31:27 +00:00
Stuart Buchanan
d758f6e28a Add environment parameters to control precipitation level. 2012-11-27 22:22:25 +00:00
Thorsten Renk
397fdf1cc4 Weather bugfixes and additional scenarios 2012-10-06 21:13:19 +01:00
Thomas Geymayer
42f21680a2 Rename Environment MetarControllers to prevent duplicate names 2012-09-26 18:49:32 +02:00
Gijs de Rooy
b950ff1e6e Fix automated METAR snow line. 2012-08-11 19:56:29 +02:00
Stuart Buchanan
4ec24853a8 Create an Environment Settings dialog for non-weather environment settings
such as snow level, dust, wetness, and texture set.

Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Stuart Buchanan
0a40f0be0f Updated Weather dialog
- Bug fix so manual configuration works properly
- Interpret METAR directly to set default wind settings for Local Weather mode.
2012-08-09 21:38:36 +01:00
Stuart Buchanan
ed068bef82 Unification of Weather UI. 2012-08-07 21:27:29 +01:00
Thorsten Renk
9be134b34d Procedural Texturing 2012-08-07 09:01:14 +02:00
Flightgear Development
2b972341b3 Terrain Haze v1.3 2012-04-26 17:22:58 +03:00
Torsten Dreyer
d66712a3c1 restore wind-filter-time messed up by 8d124f85 2012-03-10 21:49:30 +01:00
Frederic Bouvier
ebc1002139 Sunrises 1.2 by Thorsten Renk 2012-03-08 23:22:27 +01:00
Torsten Dreyer
6cc0f6c27c Environment: use linear interpolation for wind
Interpolation over time for wind used to be an exponential (low-pass)
filter and is now a noise-spike (linear) filter, This should slow
down wharp9 waves.
2012-02-23 20:23:37 +01:00
Torsten Dreyer
352bbd3cfa missing properties and a terminator
- define missing property-definitions for the skydome shader
- introduce a property rule for terminator-relative-position-m
  for local weather
2012-01-20 19:23:02 +01:00
Torsten Dreyer
22aeda4a04 cleanup water shader properties, interpolate sea-surface wind 2012-01-20 12:47:11 +01:00
Torsten Dreyer
edbff6bd34 Refactor weather-utility.nas
A bug in weather-utility.nas caused constant computation
of wave parameters due to the fact that the wind speed
was ignored.

That code was ugly anyway, so it has been replaced by
property rules which don't create work for the nasal
garbage collector.

All required properties for the wave shader are now in
interpolator.xml, the snow-line computation lives in
metarinterpolator.xml
2012-01-19 00:05:48 +01:00
Frederic Bouvier
dfea2249b5 Correct fix for Local Weather 1.4 2012-01-05 09:47:26 +01:00
Frederic Bouvier
151d45778e Try to fix the Nasal error in Local Weather 1.4 by initializing ground-haze-factor in local-weather-default.xml 2012-01-04 12:56:17 +01:00
Gijs de Rooy
729e3b2e36 Set default snow line to 3200m, seems to be a good worldwide average. 2011-12-06 20:37:00 +01:00
Gijs de Rooy
6f724ed8fc Remove old shader properties, rename/move skydome and snow-level properties. 2011-12-06 12:12:47 +01:00
Stuart Buchanan
0cbdcd6aa0 Fix bottom/middle/top shading, and update global clouds. 2011-10-13 22:39:27 +01:00
Stuart Buchanan
c0bebf5404 Updates to 3D clouds to use the new shading parameters. 2011-10-06 21:21:13 +01:00
Frederic Bouvier
928789a0d5 Local Weather 1.35 by Thorsten Renk 2011-09-23 23:22:19 +02:00
Torsten Dreyer
7937b78c80 Adjust local weather updraft property name 2011-08-03 14:31:32 +02:00
Torsten Dreyer
588d4649b5 Fix broken ridge- local-weather- and thermal-lift 2011-08-02 18:14:54 +02:00
Torsten Dreyer
59579aae9c Environment: create on (disabled) terrainsampler-instance
Only existing instances of the terrain-sampler can be
enabled at runtime, so create at lease one of them.
2011-06-05 14:50:40 +02:00
Frederic Bouvier
aa6680b4a6 Local Weather 1.1 by Thorsten Renk 2011-05-14 15:18:40 +02:00
Torsten Dreyer
99b4fdc55c Add some documentation for jsbsim-turbulence-model 2011-05-08 17:52:43 +02:00
Torsten Dreyer
8cf2308b46 Choose the milspec turbulence model for JSBSim by default 2011-05-08 15:52:14 +02:00
ThorstenB
14b7ebfcbb Fixed bug #286: Turbulence preset not working/going wild
Read actual turbulence value from "turbulence-magnitude-norm" property,
not from its "...-override" switch (which is true when enabled, so
turbulence was always forced to "1.0").
2011-04-08 20:08:14 +02:00
Torsten Dreyer
bcfc08fe56 Environment: smoothing light and moderate turbulence a bit 2011-01-24 19:59:09 +01:00
Torsten Dreyer
cf1660986d fix bug 255: add turbulence to weather menu 2011-01-21 10:36:28 +01:00
Torsten Dreyer
b43b53c977 Fix bug #253, at least partially
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
Corresponds to commit e86cecf4704a4bdcf43114245d8ac94adb1f1eef
in fg/next
2011-01-19 19:42:40 +01:00
Torsten Dreyer
e1a28988e7 METAR: prepare for reports from multiple stations
See the corresponding commit in the FlightGear source tree
for details.
2011-01-07 13:08:37 +01:00
Torsten Dreyer
3d6d0cb172 METAR: transfer the snow/rain intensity to /environment 2010-12-21 09:53:03 +01:00
Torsten Dreyer
01f143abc5 Enable fog/mist/haze by default, add a fog scenario 2010-12-15 18:32:42 +01:00
Torsten Dreyer
0bc5cafdfb metar fog/mist/haze: some final(?) tweaks 2010-12-15 17:01:05 +01:00
Torsten Dreyer
afbbf8cd1a metar fog/mist/haze: set cloud layer opacity 2010-12-13 16:06:01 +01:00
Torsten Dreyer
429a4e6ad6 Definitions for fog/mist/haze layer 2010-12-11 14:28:45 +01:00
Torsten Dreyer
924d0de2f1 Propagate visibility in bottom cloud-layer 2010-12-09 11:06:26 +01:00
Torsten Dreyer
7062de844f GlobalWx: Metar does not update high altitudes visibility 2010-11-26 14:10:59 +01:00
Torsten Dreyer
3c5cf067c9 Weather: better cloud altitude interpolation
- Easier altitude interpolation rule
- Don't interpolate to large altitude offsets
2010-11-20 11:11:59 +01:00
Torsten Dreyer
287f0f2dcf Realwx: speed up startup interpolation
-correct the order of the realwx and interpolation property rules
-speed up the interpolation of sea-level-pressure
2010-10-07 17:57:59 +02:00
Torsten Dreyer
72468a8686 weather: faster response time for visibility change 2010-09-12 23:06:55 +02:00
Torsten Dreyer
9bdc9ec4e1 Environment: handle metar-updates-environment
And some minor fixes
2010-09-11 23:32:20 +02:00
Torsten Dreyer
66f3f67f37 GlobalWeather dialog: cosmetic changes and a bug fix
- Don't refer to the obsolete Weather Conditions and Clouds dialogs
- Nasal based rebuild of the cloud layers are no longer required this way
2010-09-11 21:27:09 +02:00
Torsten Dreyer
c6072c9c76 Environment controller overhaul
This is the initial commit for a reworked environment controller.
The main intention is to decouple the individual modules like
metar fetch, metar properties, environment interpolation etc.
to make it easier for other weather module developers to modify
environment settings.
As a side effect, the dialogs for weather-scenario, weather-conditions,
clouds and precipitations have been merged into a single dialog
2010-09-11 16:15:49 +02:00
Torsten Dreyer
e66aacf417 Some minor changes preparing for the weather update
- Use aloft altitudes to match common forecast maps
- Simplify the metar interpolator rules
2010-09-01 22:55:43 +02:00
Torsten Dreyer
45dd7055e5 Implementation of weather interpolation using property-rules 2010-08-28 20:31:44 +02:00