• 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 v4 Flattens not working

consta

Resource contributor
Messages
61
Country
cyprus
Hi everyone ,
I am having this issue where i am trying to flatten the shore of this airport (CHIOS LGHI) , but it doesnt seem to work . I created the Flatten polygon ADE the left part Vertices of the polygons have the AIrport alt value set and i have set 0 meters for the right side vertices polygon to create a slope but it doesnt look like how i created it in ADE . Pictures attached below are related to this issue


Other than that i have tried to make a full polygon around the airport and set its elevation to 0 to bring the airport down to sea level but that doesnt work either and shows wierd flattening at the airport.
Also tried the *Change Airport Reference Data* option in ADE Tools and similar problems

this how it looks in sim :
1550601584686.png
1550601479736.png



this is how i tried to create the flatten in ADE :

1550601693758.png
 
Messages
1,063
Country
us-texas
OK, now take that flatten shape and divide into triangles. Yes, manually. You will need to make a lot of triangle shape flattens, with the option "set altitude for each vertex individualy" on. Make sure each vertex has the correct altitude. It takes time but it works.
 
Messages
530
Country
france
OK, now take that flatten shape and divide into triangles. Yes, manually. You will need to make a lot of triangle shape flattens, with the option "set altitude for each vertex individually" on. Make sure each vertex has the correct altitude. It takes time but it works.
what do you mean? make triangles that cross each other?
 

consta

Resource contributor
Messages
61
Country
cyprus
OK, now take that flatten shape and divide into triangles. Yes, manually. You will need to make a lot of triangle shape flattens, with the option "set altitude for each vertex individualy" on. Make sure each vertex has the correct altitude. It takes time but it works.
by triangle do you mean to cut the whole polygon and divide it in multiple polygons also do you mean to make them into the *Triangular shape*
 
Messages
6,629
Country
us-illinois
Exclude and Replace any local CVX vector polygons that have assigned Altitude attributes.

GaryGB
 

consta

Resource contributor
Messages
61
Country
cyprus
Exclude and Replace any local CVX vector polygons that have assigned Altitude attributes.

GaryGB
Can you elaborate it a little bit , due to my less knowledge about terrain files i didnt understand what you meant sorry .
 
Messages
1,063
Country
us-texas
similar to to this. The vertices close to the water would have Altitude = 0, and the vertices on the "sand" side Altitude = 5 or whatever you figure out it needs to be. The more precision you want, the more triangles you will need. Also, make sure you have the FS scenery settings to set to max mesh resolution.
his:
flat.jpg
 
Messages
6,629
Country
us-illinois
https://www.fsdeveloper.com/forum/threads/flattens-not-working.444834/post-817267

Can you elaborate it a little bit , due to my less knowledge about terrain files I didn't understand what you meant, sorry.

Hello:

For this airport:

https://en.wikipedia.org/wiki/Chios_Island_National_Airport


...AFAIK, you must exclude and replace both default and add-on Hydro poly / shoreline CVX vectors adjacent to the area you wish to customize / modify.

It is also possible that you may need to exclude and replace the Airport Background Polygon(s) (aka "ABP") CVX vector(s) adjacent to the area you wish to customize / modify.


Examine in FS Terrain SDK TMFViewer:

[FSX install path]\Scenery\0602\scenery\dem0602.bgl

[FSX install path]\Scenery\0602\scenery\cvx5418.bgl



Jump to: N38.343056°, E 26.140556°

Zoom in, and note the vector object IDs for Hydro polys and shorelines, and perhaps ABPs ...to be excluded and replaced.


Correlate GUIDs of the terrain CVX vector objects with the info here:

https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc707102(v=msdn.10)#the-shp2vec-tool

https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc526968(v=msdn.10)


PS: I recommend that you review the terrain scenery tutorials by Luis Feliz-Tirado cited here:

http://www.fsdeveloper.com/forum/threads/how-to-make-an-island.440824/page-2#post-779922

...and here:

http://www.fsdeveloper.com/forum/threads/black-water-and-several-other-issues.440908/#post-779992


Hope this helps get you started. :)

GaryGB
 
Last edited:

consta

Resource contributor
Messages
61
Country
cyprus
Hello:

For this airport:

https://en.wikipedia.org/wiki/Chios_Island_National_Airport


...AFAIK, you must exclude and replace both default and add-on Hydro poly / shoreline CVX vectors adjacent to the area you wish to customize / modify.

It is also possible that you may need to exclude and replace the Airport Background Polygon(s) (aka "ABP") CVX vector(s) adjacent to the area you wish to customize / modify.


Examine in FS Terrain SDK TMFViewer:

[FSX install path]\Scenery\0602\scenery\dem0602.bgl

[FSX install path]\Scenery\0602\scenery\cvx5418.bgl



Jump to: N38.343056°, E 26.140556°

Zoom in, and note the vector object IDs for Hydro polys and shorelines, and perhaps ABPs ...to be excluded and replaced.


Correlate GUIDs of the terrain CVX vector objects with the info here:

https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc707102(v=msdn.10)#the-shp2vec-tool

https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc526968(v=msdn.10)


PS: I recommend that you review the terrain scenery tutorials by Luis Feliz-Tirado cited here:

http://www.fsdeveloper.com/forum/threads/how-to-make-an-island.440824/page-2#post-779922

...and here:

http://www.fsdeveloper.com/forum/threads/black-water-and-several-other-issues.440908/#post-779992


Hope this helps get you started. :)

GaryGB
I'll look into it , i tried observing the file but it didnt ring a bell . after observing like you said that i have to exclude and replace both default and add-on Hydro poly / shoreline CVX vectors . I dont really have any idea how i can exclude and replace the coastlines i opened the links you mentioned and the stuff is going over my head as i am pretty new to development its more like a give up situation for me . Is there any tutorial maybe in video form or not maybe ill have to find someone who can do it for me , thank you though for trying to help me out
 
Messages
6,629
Country
us-illinois
Hi again:

For complex terrain CVX vector work with custom terrain, shorelines, land / water flattens, IMHO, you would be better able to achieve your goal with SBuilderX ...rather than with ADE.


BTW: Default AI / Ground Traffic requires perfectly 'level' flat terrain surfaces in order to operate properly.

So you would still need to use ADE to exclude and replace custom 'Approach' code for this airport with the default data.

Default AI / Ground Traffic 'could' be used if you also aligned the custom CVX vector flattens and airport navigable surfaces to the FSX / P3D default Altitudes and positions.



In SBuilderX:

You can "Exclude and Replace" default and custom FSX / P3D CVX vector scenery objects to achieve proper scenery display.


For example, the local default CVX vector BGL for your project area:

[FSX install path]\Scenery\0602\scenery\cvx5418.bgl


...can be decompiled via Patrick Germain's CvxExtractor into ESRI 'Shape' (aka "*.SHP") files.

Those ESRI *.SHP files exported by CvxExtractor can then be 'Appended' to a new empty project in SBuilderX.


SBuilderX can display Terrain SDK Quad LOD-9 / QMID-11 Grid Lines as a guide for placing 'Excludes' for local CVX vector:

* Hydro Polys (HP*.SHP)

* Hydro Shorelines (HL*.SHP)

* Flatten (FL*.SHP)

* Exclude (EX*.SHP) etc.


This would provide you with working copies inside SBuilderX, of the existing default CVX vector data which can be modified as needed, without having to create it all oneself. ;)


You can also make changes to the above CVX vector objects 'Appended' as *.SHP files, over a precisely Geo-referenced photo-real imagery background, then output (1) or more 'Replacement' CVX vector BGLs to modify P3D scenery areas properly.

You can then compile the modified CVX vector objects (along with any desired new ones) into (1) or more replacement BGLs.


Before attempting to perform these tasks, you must study tutorials by Luis Feliz-Tirado for details on how to do this; of particular note would be information on "Excluding default terrain" in: :teacher:

Terrain Design for Flight Simulator X

https://library.avsim.net/esearch.php?CatID=fsxsd&DLID=141643


GaryGB
 
Last edited:

consta

Resource contributor
Messages
61
Country
cyprus
Hi again:

For complex terrain CVX vector work with custom terrain, shorelines, land / water flattens, IMHO, you would be better able to achieve your goal with SBuilderX ...rather than with ADE.


BTW: Default AI / Ground Traffic requires perfectly 'level' flat terrain surfaces in order to operate properly.

So you would still need to use ADE to exclude and replace custom 'Approach' code for this airport with the default data.

Default AI / Ground Traffic 'could' be used if you also aligned the custom CVX vector flattens and airport navigable surfaces to the FSX / P3D default Altitudes and positions.



In SBuilderX:

You can "Exclude and Replace" default and custom FSX / P3D CVX vector scenery objects to achieve proper scenery display.


For example, the local default CVX vector BGL for your project area:

[FSX install path]\Scenery\0602\scenery\cvx5418.bgl


...can be decompiled via Patrick Germain's CvxExtractor into ESRI 'Shape' (aka "*.SHP") files.

Those ESRI *.SHP files exported by CvxExtractor can then be 'Appended' to a new empty project in SBuilderX.


SBuilderX can display Terrain SDK Quad LOD-9 / QMID-11 Grid Lines as a guide for placing 'Excludes' for local CVX vector:

* Hydro Polys (HP*.SHP)

* Hydro Shorelines (HL*.SHP)

* Flatten (FL*.SHP)

* Exclude (EX*.SHP) etc.


This would provide you with working copies inside SBuilderX, of the existing default CVX vector data which can be modified as needed, without having to create it all oneself. ;)


You can also make changes to the above CVX vector objects 'Appended' as *.SHP files, over a precisely Geo-referenced photo-real imagery background, then output (1) or more 'Replacement' CVX vector BGLs to modify P3D scenery areas properly.

You can then compile the modified CVX vector objects (along with any desired new ones) into (1) or more replacement BGLs.


Before attempting to perform these tasks, you must study tutorials by Luis Feliz-Tirado for details on how to do this; of particular note would be information on "Excluding default terrain" in: :teacher:

Terrain Design for Flight Simulator X

https://library.avsim.net/esearch.php?CatID=fsxsd&DLID=141643


GaryGB
Thank you very much Gary , you're a life saver . I followed the way you mentioned and the amazing tutorial by Luis Feliz-Tirado and now i have a understanding on how to flatten the areas and work with manipulating the default FSX terrain .

1550856141213.png
 

consta

Resource contributor
Messages
61
Country
cyprus
Hi , so after doing the flatten i shared the files with my friend to test them but for some reason it didnt work for him . the total flatten of the area worked but i shared the same afcad while with airport on 0 meters works for me while when he loads in the same afcad it doesnt work for him , the afcad area is elevated for him . any idea about that ? we are both using p3d v4.4

here is how it looks in his sim

1550956816442.png
 
Messages
530
Country
france
1) I Love that sim object he is using XD
2) when you exported from ADE, it has put a file in your [SIM PATH]\scenery\world\scenery, that file called (it contains the ICAO code or project name so search for it )
3) get that file and share it with your friend and ask him to put it in the world\scenery folder to get same result :)
 

consta

Resource contributor
Messages
61
Country
cyprus
1) I Love that sim object he is using XD
2) when you exported from ADE, it has put a file in your [SIM PATH]\scenery\world\scenery, that file called (it contains the ICAO code or project name so search for it )
3) get that file and share it with your friend and ask him to put it in the world\scenery folder to get same result :)
Oh alright thank you and haha it is Franz Luftfahrts Paramotor
 
Top