--- Stuart Buchanan wrote: > Wind shear cause by METAR updates is a common problem in FG, especially > around the San Francisco bay, where there are a large number of airports > with METAR, and quite localized weather conditions. > > As a first attempt to solve this, I've made some simple changes to the > environment manager to apply the METAR changes more slowly...
A new, improved patch is now available from http://www.nanjika.co.uk/flightgear/Environment.diff It interpolates METAR changes over time as follows: 1) Wind changes are interpolated as vectors, so the change is much more natural than before - no-longer will your aircraft be suddenly shoved to one side. 2) Visibility is interpolated as an X-value, which looks pretty neat. 3) Cloud heights and thicknesses are interpolated if they are close to the aircraft. Cloud textures are not. Many thanks to John Denker for pointing out better interpolation methods, and Melchior Franz for answering my coding questions. If someone could review the code and check it in to CVS if it passes muster, that would be appreciated. -Stuart ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel