July 10, 200223 yr I plan to develop a terrain following radar gauge. I can easily get the ground altitude below the aircraft, but I need to get the ground altitude in front of the aircraft (0.5 or 1 NM ahead).I am not a scenery expert, but if anyone knows how I can get this information from the scenery, I'd be glad to know...Thanks !! My Web Site
July 10, 200223 yr Commercial Member I think that will be very hard to do. Or you would have to make your own version of the scenery engine so you can read the BGL :).I think the option is to use some sort of prediction formula, based on the current and previous altitudes, but it will not be perfect (I guess).ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
July 11, 200223 yr I don't think I can do a scenery engine that reads the BGL...And your solution to make a prediction from previous altitudes is not good when you fly in mountains.Anyway, thanks for your help !!! My Web Site
July 12, 200223 yr Arno's right, I'm afraid, Rocky - he usually is! There is no way at present to get the ground elevation anywhere other than directly under the aircraft. We don't know how to read the compressed terrain mesh files that contain the data, and the only runtime access is via the global variable that you are already familiar with.The nearest you'll get to TFR in Microsoft's "real as it gets" virtual world is a radar that will need some sort of psychic device for communicating messages to recently-dead pilots to say "Oh dear, that was a cliff you just hit!" - but MSFS has got one of those already :-bigangel CheersGerrish
Create an account or sign in to comment