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.

Direct BGL-exportation vs. object import in Airport

Featured Replies

Hi,I'm wondering if there is any performance issue when comparing these two different methods of inserting 3d-objects into the simulator:1. Direct BGL-exportation from e.g. FSDS2's menu.2. An API of the object is inserted in Airport, from where it is then exported to BGL-format and into the sim.

I don't think there would be a difference, since these are both really the same thing. In both cases, the program generates SCASM code which it then sends to the compiler. You can take a look at the SCASM source in both cases, and see that the only real difference might be in the header. Also, AFW doesn't add the macro entirely, but instead uses a macro call to include it, but the result is going to be the same when you're done.Generally speaking, it might be more effecient to have one big BGL file rather than one for every object, since would be able to load this into memory quicker, but this is probably a minor improvement.Of course, if you are loading the same object many times, then the way to do it is with a library object, which can then be placed using AFW. You can not place library objects using FSDS2, so the only choice would be AFW for this. There are other benefits to using library objects, and sometimes I will include an object in a library even if I am only using it once.- Martin

  • Author
  • Commercial Member

Yes, Martin is correct. Using the API or a direct BGL makes no real difference if you place it once and don't use a library.The parameters in the API are just replaced during compilation (%1, %2, etc). So in the end you get the same BGL code if you make the BGL file direct or place the API. The only advantage of the API is that you can pass certain paramters like the position and the heading to it and that allows you to manipulate the object more.

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

Okay, thanks. Then I'll stick to the good old APIs. :()And Arno, I'm back after one year's break.

  • Author
  • Commercial Member

Good to see you back Sebastian :). Looking forward to some nice sceneries again.

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

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.