Board index FlightGear Development Weather

Visibility changes when changing another unrelated setting

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

Visibility changes when changing another unrelated setting

Postby Mihajlo » Tue Sep 04, 2018 2:12 pm

This is a minor thing but does anyone know why does a visibility setting change whenever I change a setting in the AW weather dialog? For example if the visibility is set to 250000 m when I change any setting unrelated to visibility it changes to 249996 m I believe. If the visibility is lower it gets higher by a few meters I think. I am assuming this is a bug, but asking just in case there is a reason for this (though I don't see why).
Mihajlo
 
Posts: 40
Joined: Tue Aug 28, 2018 5:47 pm

Re: Visibility changes when changing another unrelated setti

Postby wkitty42 » Tue Sep 04, 2018 4:16 pm

my initial eWAG is that it is a floating point math rounding thing... why the visibility is recalculated is another question...
"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: 5020
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Visibility changes when changing another unrelated setti

Postby Mihajlo » Wed Sep 05, 2018 7:48 am

Thanks for the explanation. I guess it is more or less normal then.
Mihajlo
 
Posts: 40
Joined: Tue Aug 28, 2018 5:47 pm


Return to Weather

Who is online

Users browsing this forum: Google [Bot] and 1 guest