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.

Flatten Questions

Featured Replies

As I have mentioned previous, I am a newbie terrain designer! I was looking at FL926210.BGL with LWMViewer and exported the file with LWMViewer and disassembled it with BGLAnalyzer and got two different results.BGLAnalyzer indicates the flattens are LWMPoly2(s) and the LWMViewer export indicates the flattens are LWMPoly3(s). I believe I can rectify that since BGLAnalyzer was written for FS2002 and not FS2004, where I believe the LWMPoly3 came about.The second area has me confused. It seems LWMViewer export is saying all the flattens are water if I am interpreting TDFMacro.inc correctly. Below is a portion of TDFMacro.inc and a portion of the LWMViewer export:; --------------------------------------------------------------------------------LWMPoly3 Macro PointCount, Reserved, Attrib, HeightBottom, FractionBottom, HeightTop, FractionTop; Used in version 300h for FS9; BYTE bPointCount:6 ; // Up to 62 points; BYTE bReserved:1 ; // Must be 0; BYTE bAttrib:1 ; // Polygon fill attribute, 0 = water, 1 = land BYTE ( Attrib * 80h ) + ( Reserved * 40h ) + PointCount SWORD HeightBottom ; // Whole elevation value in meters BYTE FractionBottom ; // Fractional elevation value in 1/128 meters SWORD HeightTop ; // Whole elevation value in meters BYTE FractionTop ; // Fractional elevation value in 1/128 metersEndM; -------------------------------------------------------------------------------- LWMDataAreaDrawPolygons 1,_Flatten_,1,15,25 LWMPoly3 8, 0, _Water_, 3, 6, 3, 6 ; N29* 58.24', W81* 19.69' LWMPoint3 255, 79, 0 LWMPoint3 255, 130, 0 LWMPoint3 223, 183, 0 LWMPoint3 136, 114, 0 LWMPoint3 18, 182, 0 LWMPoint3 1, 148, 0 LWMPoint3 1, 1, 0 LWMPoint3 164, 1, 0 LWMDataAreaDrawPolygons 1,_Flatten_,1,16,25Am I just reading this wrong?W. Sieffert

Bill Sieffert

Hi.I think the FL export should be OK. The initial LWMDataAreaDrawPolygons specifies that the following polys are _Flatten_s. The _Water_ in the LWMPoly3 instruction, if you look at the top of the file, just translates to '0'.I'll check this out tonight just to make sure. The easiest way for you to check is to recompile the source and load it again. If it's taken as a flatten, LWMViewer will show the polys in red.Regards,Jim Keir

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.