1
0
Fork 0
Commit graph

15 commits

Author SHA1 Message Date
James Turner
8110b314d7 Environment: fix wave-enabled logic
Input element was incorrectly specified and hence always false
2023-08-02 15:59:02 +01:00
James Turner
f0737a8c40 Revert "Fix issue 2537, re-enable the wind interpolation when live data is (temporarily) unavailable."
This reverts commit 0c07fce69f.
2023-01-24 13:28:55 +00:00
Erik Hofman
0c07fce69f Fix issue 2537, re-enable the wind interpolation when live data is (temporarily) unavailable. 2021-02-08 09:44:31 +01:00
Emilian Huminiuc
52887ad7c3 Environment/interpolator.xml: create copies of tied properties used by the ubershader reflection rotation.
Effects/model-combined.eff: use copies instead of tied properties Shaders/ubershader: fix reflection rotation for dynamic reflections.
2015-05-25 16:29:56 +02: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
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
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
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
72468a8686 weather: faster response time for visibility change 2010-09-12 23:06:55 +02:00
Torsten Dreyer
45dd7055e5 Implementation of weather interpolation using property-rules 2010-08-28 20:31:44 +02:00