• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v5 Exclusion Rectangle questions

Messages
539
Country
us-missouri
I haven't messed with exclusion rectangles before, and wondered what to do with them. P3D's built-in scenery has a bunch of ugly lighted poles on the approach to Bentonville, Ark. (I used ADE to turn the odd poles into telephone poles that were part of the KVBT airport scenery) that I want to remove. Ideally I'd like to track down the file they came from and turn those into telephone poles also, but to my point:

<ExclusionRectangle
latitudeMinimum = "N36.324451519"
latitudeMaximum = "N36.336645350"
longitudeMinimum = "W94.220264827"
longitudeMaximum = "W94.217133436"
excludeAllObjects = "FALSE"
excludeBeaconObjects = "FALSE"
excludeEffectObjects = "FALSE"
excludeExtrusionBridgeObjects = "FALSE"
excludeGenericBuildingObjects = "FALSE"
excludeLibraryObjects = "TRUE"
excludeTaxiwaySignObjects = "FALSE"
excludeTriggerObjects = "FALSE"
excludeWindsockObjects = "FALSE"/>

This is what I have so far, which comes from the SDK. Is this all the file needs to have? What does it need to be named? Can I add other exclusion rectangles to the file? I could put it in my P3Dv5 Airports folder, but I imagine I need to make sure it is loaded after my airports and before the default scenery layer this draws from (0202\Scenery\something.BGL I suppose).

Thanks,
 
Went for a bike ride, came back and tried some different search words and found a good thread with an answer from the always helpful @JRobinson and located the prefix data a little higher up in the P3D SDK page.

1.) Changed file (which I named KVBT_EXCLUDE.xml) to include

<?xml version="1.0"?>
<FSData
version = "9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >

<ExclusionRectangle
latitudeMinimum = "N36.324451519"
latitudeMaximum = "N36.336645350"
longitudeMinimum = "W94.220264827"
longitudeMaximum = "W94.217133436"
excludeAllObjects = "FALSE"
excludeBeaconObjects = "FALSE"
excludeEffectObjects = "FALSE"
excludeExtrusionBridgeObjects = "FALSE"
excludeGenericBuildingObjects = "FALSE"
excludeLibraryObjects = "TRUE"
excludeTaxiwaySignObjects = "FALSE"
excludeTriggerObjects = "FALSE"
excludeWindsockObjects = "FALSE"/>
</FSData>

2.) Created a "compile_exclude.bat which contains

"path\to\bglcomp.exe" "path\to\KVBT_EXCLUDE.xml"
pause

3.) Double-clicked my bat file, and it spit out a KVBT_EXCLUDE.BGL , which I renamed to _KVBT_EXCLUDE.BGL so it appeared before the KVBT airport bgl file in my custom airport folder and it works!
 
Last edited:
Hi Chris:

I have a report that there are no poles on the approach to KVBT in a default install of P3Dv5.

Is it possible this is data you have put into the sim ? :scratchch


BTW: One must distinguish Autogen 'poles' placed via SDK Annotator, CVX Vector Autogen "Lines" with mapped scenery library 'pole' objects attached at assigned intervals, and standard BGLComp-XML 'poles' placed at intervals via the local OBXxxxx.BGL.


The method used to exclude the 'poles' may vary with the placement source. :alert:


You might try using the ideas in this thread to ID the 'pole' objects source: :idea:


GaryGB
 
Last edited:
Hmm... the approach to MY runway 36 was littered with them. I thought ORBX Global and the ORBX scenery libraries only changed the autogen and textures; maybe it placed scenery objects into P3D as well?

After reading your comment linked above, I learned you could import BGLs on top of the airport BGL (ADE shows the directory for KVBT is 0202 and the file is 22190, so I imported OBJ22190.bgl). Being able to delete this plethora of poles (a pole-ethora?) in ADE was a ton easier than slewing around and switching between P3D and ADE to put light poles and telephone poles in the right place (which really brings the ortho scenery to life). Thanks Gary!!!

BUT... is there a way to import an OBJ*.bgl into ADE and save/compile without having duplicates of all the scenery objects for the entire region? Like the ADE version of a layer in a graphics program that I could hide/delete when I'm done using it as a guide?
 
Hmm... the approach to MY runway 36 was littered with them. I thought ORBX Global and the ORBX scenery libraries only changed the autogen and textures; maybe it placed scenery objects into P3D as well?

While OrbX FTX Global Vector may approximate certain aspects of the real world, the land class textures are recycled fictional texture image tiles that expand the variety available beyond that of the fictional FS / P3D default land class texture tile system.

In some cases the roads in land class texture images may also have fictional utility poles attached to CVX "vector Autogen" lines.


After reading your comment linked above, I learned you could import BGLs on top of the airport BGL (ADE shows the directory for KVBT is 0202 and the file is 22190, so I imported OBJ22190.bgl).

Being able to delete this plethora of poles (a pole-ethora?) in ADE was a ton easier than slewing around and switching between P3D and ADE to put light poles and telephone poles in the right place (which really brings the ortho scenery to life). Thanks Gary!!!

Nothing like a good bike ride to bring out the sense of humor ! ...pole-ethora... :laughing:


But wait: did you say "delete" ? :yikes:

Always Exclude (with ex: micro-exclusion Rectangles or CVX vector mini-triangle polys) then Replace; do not edit default files ! :alert:


BUT... is there a way to import an OBJ*.bgl into ADE and save/compile without having duplicates of all the scenery objects for the entire region? Like the ADE version of a layer in a graphics program that I could hide/delete when I'm done using it as a guide?

When you refer to a OBJ*.bgl, which are you referring to: :scratchch

* 3D model library

...or:

* Custom Placement BGL for 3D scenery library objects ...output by a scenery utility

...or:

* A Default OBXxxxxx Placement BGL ex: KVBT local area in:

[FS / P3D install path]\Scenery\0202\Scenery\OBX22190.BGL

GaryGB
 
Last edited:
I meant to put OBX, not OBJ*.bgl, and after reading countless comments from you on this forum preaching exclude/replace, I would never delete anything original -- I only imported the OBX file into KVBT to try it out. So, if I import OBX22190.bgl into my existing KVBT project in ADE and lay down exclusion rectangles for the transmission towers and poles, wouldn't that rectangle also exclude those telephone and light poles I want to appear?
 
I meant to put OBX, not OBJ*.bgl, and after reading countless comments from you on this forum preaching exclude/replace, I would never delete anything original -- I only imported the OBX file into KVBT to try it out.

So, if I import OBX22190.bgl into my existing KVBT project in ADE and lay down exclusion rectangles for the transmission towers and poles, wouldn't that rectangle also exclude those telephone and light poles I want to appear?

It is specied that such excludes be as small as possible, preferably (1) per object to be suppressed from display at run time.

But, it is important to distinguish the default FS / P3D files from those substituted for them by OrbX FTX Global.

IIUC, OrbX FTX Global provides its own land class lookup, land class texture tiles, and other files which substitute for FS / P3D default.

Thus, you may need to make (2) versions of your project, (1) each for:

* FS / P3D default

...and:

* OrbX FTX Global

GaryGB
 
Last edited:
Back
Top