Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Terrain Following Radar

Featured Replies

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

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


Member 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

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.