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

Scenproc only ROOFS

Messages
68
Country
italy
Hi at all,
after some time i finally crate some .agn files with scenproc.
I saw that only roofs appear on the FS. Missing building part.
My file is:

IMPORTOGR|udine_3.osm|*|*|NOREPROJ

EXPORTSHP|*|udine_3

SPLITGRID|AGN|building=*

ADDATTRIBUTE|FTYPE=POLYGON;building=*;FNUMVERT=4;FNUMPERPANG=4|BUILDTYPE|1
ADDATTRIBUTE|BUILDTYPE!1;FTYPE=POLYGON;building=*;FAREARAT>0.70|BUILDTYPE|2
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;FTYPE=POLYGON;building=*;FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10|BUILDTYPE|3
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;FTYPE=POLYGON;building=*;FCONVEX=1|BUILDTYPE|4
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;BUILDTYPE!4;FTYPE=POLYGON;building=*|BUILDTYPE|5

ADDATTRIBUTE|FTYPE=POLYGON;building=*|BUILDCAT|1
ADDATTRIBUTEIFINSIDE|FTYPE=POLYGON;building=*|FTYPE=POLYGON;landuse=residential|BUILDCAT|2
ADDATTRIBUTEIFINSIDE|FTYPE=POLYGON;building=*|FTYPE=POLYGON;landuse=industrial|BUILDCAT|3

REPLACEPOLYGONBYBUILDINGRECTANGLES|BUILDTYPE=3

SETAGNBUILDINGHEIGHT|*|0.9;0.1;0.0;0.0

SETAGNBUILDINGTEXTURE|*|BLDVic2

SETAGNROWHOUSETEXTURE|*|BLD3Vic1

CREATEAGNPOLYVEG|FTYPE=POLYGON;landuse=forest|{c9dc45ae-f240-42a9-a137-b7617452a308}

CREATEAGNGENBUILD|BUILDCAT=1;BUILDTYPE<3|{f8d16195-b3e7-467d-a741-111f98be6abc}|MAXRATIO=2.5
CREATEAGNGENBUILD|BUILDCAT=2;BUILDTYPE<3;FWIDTH<15|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2.5
CREATEAGNGENBUILD|BUILDCAT=2;BUILDTYPE<3;FWIDTH>15|{311de8c7-e596-4e28-a94d-da09d0252ce4}|MAXRATIO=2.5
CREATEAGNGENBUILD|BUILDCAT=3;BUILDTYPE<3;FWIDTH>20|{4eb68be7-2f1f-4cd2-920e-becfa2d8c888}|MAXRATIO=2.5

EXPORTAGN|FSX|F:\texture
http:\\www.murano-store.com\md82\scenproc\dario.jpg
dario2.jpg
 
Hi,

Do your custom textures exists in the main texture folder? And are the night versions there as well? Else the walls will not show.
 
ok resolve,
il leave the:

SETAGNBUILDINGTEXTURE|*|BLDVic2

SETAGNROWHOUSETEXTURE|*|BLD3Vic1

now, the industrial area show me with a large residential buildings, why?
and no vegetations create in the agn.
 
Hi,

Autogen buildings are always rectangular. So if you have very big buildings than check which footprints you have included.

Also the autogen doesn't differentiate between residential and industrial. What I usually try to do is make sure industrial buidlings get flat roofs, as that looks better.

Without seeing your log or anything else I can't see why there is no vegetation. Most lilkely some filter is not correct for the data you use.
 
Arno, the file is every the same,

IMPORTOGR|map.osm|*|*|NOREPROJ

EXPORTSHP|*|map

SPLITGRID|AGN|building=*

ADDATTRIBUTE|FTYPE=POLYGON;building=*;FNUMVERT=4;FNUMPERPANG=4|BUILDTYPE|1
ADDATTRIBUTE|BUILDTYPE!1;FTYPE=POLYGON;building=*;FAREARAT>0.70|BUILDTYPE|2
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;FTYPE=POLYGON;building=*;FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10|BUILDTYPE|3
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;FTYPE=POLYGON;building=*;FCONVEX=1|BUILDTYPE|4
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;BUILDTYPE!4;FTYPE=POLYGON;building=*|BUILDTYPE|5

ADDATTRIBUTE|FTYPE=POLYGON;building=*|BUILDCAT|1
ADDATTRIBUTEIFINSIDE|FTYPE=POLYGON;building=*|FTYPE=POLYGON;landuse=residential|BUILDCAT|2
ADDATTRIBUTEIFINSIDE|FTYPE=POLYGON;building=*|FTYPE=POLYGON;landuse=industrial|BUILDCAT|3

REPLACEPOLYGONBYBUILDINGRECTANGLES|BUILDTYPE=3

SETAGNBUILDINGHEIGHT|*|0.9;0.1;0.0;0.0

SETAGNBUILDINGTEXTURE|*|BLDVic2

SETAGNROWHOUSETEXTURE|*|BLD3Vic1

CREATEAGNPOLYVEG|FTYPE=POLYGON;landuse=forest|{c9dc45ae-f240-42a9-a137-b7617452a308}

CREATEAGNGENBUILD|BUILDCAT=1;BUILDTYPE<3|{f8d16195-b3e7-467d-a741-111f98be6abc}|MAXRATIO=2.5
CREATEAGNGENBUILD|BUILDCAT=2;BUILDTYPE<3;FWIDTH<15|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2.5
CREATEAGNGENBUILD|BUILDCAT=2;BUILDTYPE<3;FWIDTH>15|{311de8c7-e596-4e28-a94d-da09d0252ce4}|MAXRATIO=2.5
CREATEAGNGENBUILD|BUILDCAT=3;BUILDTYPE<3;FWIDTH>20|{4eb68be7-2f1f-4cd2-920e-becfa2d8c888}|MAXRATIO=2.5

EXPORTAGN|FSX|F:\texture
 
When you check the event log after running the configuration, does it mention any vegetation autogen being created? If not, the filter values will not match your data.
 
Back
Top