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 6: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
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8: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 8:41 am

Thorsten wrote in Thu Mar 01, 2018 11: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
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2239
Joined: Thu Nov 01, 2007 2:41 pm

Re: Sunny but black starry sky

Postby Thorsten » Fri Mar 02, 2018 9: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: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Sunny but black starry sky

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

Well there is a case that when /// appears in METAR, the skies will go black...
sidi762
 
Posts: 223
Joined: Sat Jun 18, 2016 9:15 am
Location: Beijing, China
Callsign: DAG0762
Version: 2020.3.18
OS: macOS Catalina

Re: Sunny but black starry sky

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

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

Re: Sunny but black starry sky

Postby Clive2670 » Sun Mar 25, 2018 7: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
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8: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 12:37 am

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: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Sunny but black starry sky

Postby Clive2670 » Mon Mar 26, 2018 6: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
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8: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 7: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: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Previous

Return to Weather

Who is online

Users browsing this forum: No registered users and 2 guests