When a METAR message includes ///, the dark sky issue occurs still on FlightGear 2018.3.2.
Recently, a user in Japanese forum found that the issue occurs when both of "Detailed Weather" and "Atmospheric Light Scattering" are enabled.
I noticed that /local-weather/cloud-shadows/cloudpos-x and -y change from "{NONE} = nil" to "{DOUBLE} = 0" when a METAR message includes ///.
Here I describe a test report .
(PC) FlightGear 2018.3.2, Windows 10 64bit, Intel HD Graphics 530
(How to reproduce the issue)
- Start FlightGear with RJTT, ufo, noon. All the other settings are default (Real-world weather: disabled).
- Enable Atmospheric Light Scattering (ALS) from View > Rendering Options
- Enable Detailed Weather from Environment > Weather
- Change Weather Conditions from Core high pressure region to Manual input
- Change METAR Data from
XXXX 012345Z 15003KT 19SM FEW072 FEW350 25/07 Q1028 NOSIG
to
XXXX 012345Z 15003KT 19SM FEW/// FEW350 25/07 Q1028 NOSIG
- Observe that color of sky changes from blue to black.
(Properties which changed obviously)
- Taken from fgfs.log by executing from Debug > Nasal Console: props.dump(props.globals)
- 1st line: "FEW072" --- no issue.
- 2nd line: "FEW///" --- issue occurs.
/environment/metar/data {STRING} = XXXX 012345Z 15003KT 19SM FEW072 FEW350 25/07 Q1028 NOSIG
/environment/metar/data {STRING} = XXXX 012345Z 15003KT 19SM FEW/// FEW350 25/07 Q1028 NOSIG
/environment/metar/clouds/layer/elevation-ft {DOUBLE} = 7220
/environment/metar/clouds/layer/elevation-ft {DOUBLE} = -1e+20
/environment/ground-haze-thickness-m {DOUBLE} = 2877.312
/environment/ground-haze-thickness-m {DOUBLE} = -3.048e+19
(/instrumentation/wxradar not found)
/instrumentation/wxradar {NONE} = nil
/local-weather/cloud-shadows/cloudpos-x {NONE} = nil
/local-weather/cloud-shadows/cloudpos-x {DOUBLE} = 0
/local-weather/cloud-shadows/cloudpos-y {NONE} = nil
/local-weather/cloud-shadows/cloudpos-y {DOUBLE} = 0
/local-weather/cloud-shadows/cloudpos-x[1] {NONE} = nil
/local-weather/cloud-shadows/cloudpos-x[1] {DOUBLE} = 0
(snip...)
/local-weather/cloud-shadows/cloudpos-y[19] {NONE} = nil
/local-weather/cloud-shadows/cloudpos-y[19] {DOUBLE} = 0
(/local-weather/shadow-loop-flag not found)
/local-weather/shadow-loop-flag {DOUBLE} = 0
(References)
(2018-07-24) [Flightgear-devel] Double whammy errors
https://sourceforge.net/p/flightgear/ma ... /36375580/(2017-09-27) #1993 Weird graphical glitch when /// is in METAR
https://sourceforge.net/p/flightgear/codetickets/1993/