Sign in to follow this  
Guest GerrishGray

Terrain Following Radar

Recommended Posts

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 !!

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

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 !!!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this