Board index FlightGear Development Weather

Sunny but black starry sky  Topic is solved

Everything related to weather simulation, visuals should be discussed in the shader subforum.

Re: Sunny but black starry sky

Postby Clive2670 » Thu Mar 01, 2018 5:45 pm

That's fine Thorsten, Also my fault I stupidly deleted the log file!!! That is assuming that might have some pointers in it to what caused this weird event?
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
User avatar
Clive2670
 
Posts: 593
Joined: Mon Feb 08, 2016 7:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Sunny but black starry sky

Postby erik » Fri Mar 02, 2018 7:41 am

Thorsten wrote in Thu Mar 01, 2018 10:46 am:Shouldn't happen in ALS because of several clamps in critical positions...

Clamping does not guarantee against NaN ever happening, although it minimizes the chances.

Take for example the following scenario:

value1 -= clamp (-10.0, 0.0, 1.0) // results in value being 0
value2 = clamp(1.0/value1, 0.0, 1.0)

Value2 will still be a NaN because of a devide by zero and the clamping will not protect against it since it is not-a-number so the computing unit has no clue whether it should clamp to zero or to one.

Erik
erik
 
Posts: 1520
Joined: Thu Nov 01, 2007 1:41 pm

Re: Sunny but black starry sky

Postby Thorsten » Fri Mar 02, 2018 8:11 am

True, there's no 100% guarantee, though I usually try to use clamp to constrain things I divide by to make sure they're not zero.
Thorsten
 
Posts: 10832
Joined: Mon Nov 02, 2009 8:33 am

Re: Sunny but black starry sky

Postby sidi762 » Sun Mar 25, 2018 8:45 am

Well there is a case that when /// appears in METAR, the skies will go black...
sidi762
 
Posts: 125
Joined: Sat Jun 18, 2016 8:15 am
Location: Beijing, China
Callsign: DAG0762
Version: 2018.3.2
OS: MacOS Mojave

Re: Sunny but black starry sky

Postby Thorsten » Sun Mar 25, 2018 10:29 am

The same list of questions posed earlier in the thread applies...
Thorsten
 
Posts: 10832
Joined: Mon Nov 02, 2009 8:33 am

Re: Sunny but black starry sky

Postby Clive2670 » Sun Mar 25, 2018 6:13 pm

As far as I'm concerned I "Called" this one unsolved but solved on the 01/03/18 As know one really knows a definative answer, But for the record this has not happened again after the one rogue episode, so it must have either been a "bug" with my PC or Flightgear had a "hiccup" that day and for fun decided to "Throw its toys out of its pram and spit its dummy out" So it looks like we are now going round in circles on the answers now. So I'll call it again THIS POST IS SOLVED (but remains unsolved!!!) Thanks to all that have come up with some great ideas!
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
User avatar
Clive2670
 
Posts: 593
Joined: Mon Feb 08, 2016 7:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Sunny but black starry sky

Postby wkitty42 » Sun Mar 25, 2018 11:37 pm

umm, clive? i think that sidi762 has reopened this with his "metar with ///" comment... maybe it is solved for you but not others, eh? :)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5568
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Sunny but black starry sky

Postby Clive2670 » Mon Mar 26, 2018 5:11 pm

My METAR was working fine at the time of the issue
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
User avatar
Clive2670
 
Posts: 593
Joined: Mon Feb 08, 2016 7:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Sunny but black starry sky

Postby wkitty42 » Mon Mar 26, 2018 6:07 pm

understood...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5568
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Previous

Return to Weather

Who is online

Users browsing this forum: No registered users and 3 guests