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

Is this a bug ?

Messages
65
Country
italy
Hello,
I am making a photoreal scenery for the city of Muscat in Oman. So far everything went well, I placed a photoreal image, corrected the coast, and tried to place a first amount of autogen buildings to see how they look.
They look good, no problems here. The trouble comes when I try to mix everything with vegetation (even just a single little polygon of vegetation in the shapefile): the trees spawn randomly inside the buildings or even completely replace them on all the photoreal surface, in places where I never put them.

This is the code with both vegetation and buildings:

IMPORTOGR|C:\Users\utente\Desktop\Muscat\Autogen\natural.shp|*|*|NOREPROJ
IMPORTOGR|C:\Users\utente\Desktop\Muscat\Autogen\buildings.shp|*|*|NOREPROJ
#
SPLITGRID|AGN|*|FROMFILE=buildings.shp
#
CREATEAGNPOLYVEG|FTYPE=POLYGON|{acd89c1c-2a87-4168-8cb6-a1ca8e2859ac}
#
SETAGNBUILDINGHEIGHT|*|0.8;0.2;0.0;0.0
#
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH<50|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}|MAXRATIO=1.2
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH>50|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}|MAXRATIO=1.2
#
EXPORTAGN|FSX|C:\Users\utente\Desktop\Muscat\Autogen\texture

Has this ever happened to anyone else?
Any help is appreciated
 
Problem is in this line

CREATEAGNPOLYVEG|FTYPE=POLYGON|{acd89c1c-2a87-4168-8cb6-a1ca8e2859ac}

You've already loaded 2 shapefiles, both probably having polygons, so scenproc is creating vegetation where buildings should be. If I am not mistaken trees can stop buildings from appearing if they inhabit the same space.
You need to tell it FROMFILE=natural.shp
 
Problem is in this line

CREATEAGNPOLYVEG|FTYPE=POLYGON|{acd89c1c-2a87-4168-8cb6-a1ca8e2859ac}

You've already loaded 2 shapefiles, both probably having polygons, so scenproc is creating vegetation where buildings should be. If I am not mistaken trees can stop buildings from appearing if they inhabit the same space.
You need to tell it FROMFILE=natural.shp
Solved! Thank you a lot !!! :)
 
Back
Top