- Messages
- 65
- Country

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