Indeed, the code reads the metar code at startup only.
Ok, this is useful enough if you want to shoot approaches to a specific airport.
I had it setup to fetch the data every reset (handy for getting the right weather when changing airports, but unfortunately at this time
every time the users presses 'z' or 'Z' to change visibility the weather
subsystem gets reset, causing the code to fetch the metar data every
time.
Hmmm, I'd almost be in favor of disabling the ability to manually change visibility if you have metar weather activated. (Or at least make it really inconvenient.) :-)
I haven't had any thoughts on how to update the weather while flying around other than the fact that it might be a good idea to have hexagonal cloud chunks each representing (a mix of) the reported cloud base at distant metar stations.
For starters, we need some way to find the nearest metar station given your current lat/lon. Then we need to be able to periodically fetch updated weather from the current station. And finally I think doing some sort of temporal interpolation would let us have fairly smooth weather changes.
Clouds are an issue though ... I wonder if some sort of "morphing" approach might look decent enough ... slowly moving cloud layers that are similar and fading cloud layers in and out if they change too much.
Curt. -- Curtis Olson Intelligent Vehicles Lab FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
