plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

Please take a moment to read the platform’s guidelines before you get started!


question

PuffinFlight avatar image
PuffinFlight asked PuffinFlight commented

Rectangles and photogrammetry

I wanted to clarify if Rectangles with the "Exclude buildings" flag set (without terraforming) should remove photogrammetry buildings? I'm not sure if they did in the past and SDK doesn't say they do, yet they do remove photogrammetry.

Another thing. Do polygons create more load on the system than rectangles? I used rectangles to exclude buildings as they worked fine for me, but in this case, I will have to move to polygons, as I need the ability to remove autogenerated (OSM, AI and MS) buildings but not the photogrammetry ones.

scenery
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

rhumbaflappy avatar image
rhumbaflappy answered PuffinFlight commented

I have the entire earth covered with polygons to adjust the ecoregions and vegetation. 518 MB of BGL. No discernable FPS hit.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

PuffinFlight avatar image PuffinFlight commented ·
Thanks. I was afraid it might have some impact on FPS. I guess I need to rewrite my code to use polygons now. I used rectangles as it was easier for me to generate them for my objects. But with polygons I can be more precise with targeting auto-generated buildings.
0 Likes 0 ·
mamudesign avatar image
mamudesign answered

I'm interested too, i'm using polygons for my default buildings exclusions and never tried with rectangles

keep in mind that our bgl extents for thousands of chilometers!, (my shapes-polygons bounding box is as big as half the World!..and your code, dear Asobo, in handling it without any issue, so, again, kudos to you, BRAVI!)

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Thalixte avatar image
Thalixte answered

I personnally use polygons to remove blackshark AI buildings or vegetation. I also use them for terraforming or to add vegetation. As rhumbaflappy said, no performance hit with them. I use rectangles in two use cases: exclusion rectangles to remove handcrafted models, and rectangles to make smoother terraforming, with regular ramps. Also, note that polygons can exclude existing bing photogrammetry.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.