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

Adding trees to polygons in SBX.

Messages
167
Country
lithuania
Hello :)
So, recently, I've been thinking about adding some trees to my resampled photo bgl. Now, I got this idea from another scenery, that I've studied. They somehow managed to create polygons, with trees inside them.
I've got a .shp file, with the polygons of forests surrounding my area, now, I've ported the polygons via the append option in SBX, but what do I do next? How do I place trees inside those polys?

I'm attaching a screenshot of the Annotator tool with a scenery that I've studied inside out.
1560414473095.png
1560414817719.png
1560414850640.png
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,932
Country
us-wisconsin
You would assign to the polygons an appropriate landclass that would show trees.
 

Lagaffe

Resource contributor
Messages
857
Country
france
Dick,
Do you think that FSX/P3D will/can accept to render landclass polygone above photoreal BGL ?
I have always read that photoreal BGL mask all landclass below and accept only autogen ... am I wrong ?
 

GHD

Messages
12,243
Country
england
... am I wrong ?
No, you are correct.

The only way is to use Annotator with the photo bgl.

Also note that the latest P3D does not display polygon vegetation correctly. One needs to use vegetation rectangles.
 
Messages
167
Country
lithuania
Hello:

Arno's ScenProc uses Geo-referenced imagery and ESRI Shape *.SHP files to detect / create Autogen via AGN Rectangles. :idea:

https://www.fsdeveloper.com/forum/forums/scenproc.131/

GaryGB

Yup! That’s what I’ve done. I’ve used HOT Export to get the shapefiles of forests, water parts etc. Split the shp mulitpoly file with QGIS query builder, then rasterized the water file for the water mask. Ported the forests file to scenProc, got some forests (exported AGN files). Then I compiled the photoscenery. Opened the resampled bgl and saw all those polys! And in-sim, everything was there - autogen trees on top of my photoscenery!

Just one problem, the autogen trees disappear around the airport, where there should be trees. Like there’s a big exclusion rectangle
 

GHD

Messages
12,243
Country
england
Do you use a ground polygon or a photo insert for your airport background?

If you use a GP, it will inhibit autogen.

If you use a photo insert, you will need to put the agn files in the texture folder associated with the photo insert scenery folder.

Also, remember that I said that P3D does not render polygon autogen correctly. (Try a simple vegetation rectangle).
 
Messages
167
Country
lithuania
Do you use a ground polygon or a photo insert for your airport background?
Errr. It's a resampled .bgl file, made with resample.exe. The airport perimiter uses ground poly for the background. I exported the agn files with scenProc to the texture folder (How else would the annotator show the green polys?)

Here's a show off of my drawing skills, that should explain something.
 

Attachments

  • Capture.JPG
    Capture.JPG
    318.5 KB · Views: 155

GHD

Messages
12,243
Country
england
The airport perimiter uses ground poly for the background.
I think that is your problem. The poly is inhibiting autogen.

Does GPW not have an option to not exclude autogen on output?
 
Last edited:
Messages
167
Country
lithuania
I think that is your problem. The poly is inhibiting autogen.

Does GPW not have an option to not exclude autogen on output?

The ground poly is not that big. It’s only inside the airport (area inside the fence). The rest is a photoreal bgl.

Since when does ground poly exclude autogen? I always have to apply a flatten to prevent the trees on getting on the poly.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Since when does ground poly exclude autogen? I always have to apply a flatten to prevent the trees on getting on the poly.

Since always :) it's a common problem for a long time already. There are some tweaks you can use to prevent it though. Which technique you used for make the ground polygons?
 
Messages
167
Country
lithuania
Well, turns out that’s true! Autogen does block out some autogen.

So, uh, I worded the thread wrong. See, after I ticked the option to prevent autogen exclusion in GPW of MCX, it actually gets rid of my photoscenery where there should be trees (vegetation). Trees do appear, but not my photoscenery.

What I meant, was autogen vegetation on top of the photoscenery.
 
Top