- Messages
- 539
- Country

I use ScenProc to create autogen for areas 1 lat/long degree at a time, which is merged into a 25-square degree scenery library folder (5 tiles x 5 tiles). When I start from scratch, it takes less than five minutes for each one-degree tile. As I add on new tiles to the existing ones, I have ScenProc import the existing autogen and add a new one-degree tile, which seems to take an incredibly long time once I have compiled more than 5 square tiles or so, and becomes so time-consuming that the process eventually binds up, causing me to start completely over again.
I know others have created autogen for entire countries, which is quite a bit more ambitious than my patchwork of 5 x 5 folders. Is there a more efficient way to accomplish autogen coverage over a large area? Or perhaps my script needs work?
Thanks,
I know others have created autogen for entire countries, which is quite a bit more ambitious than my patchwork of 5 x 5 folders. Is there a more efficient way to accomplish autogen coverage over a large area? Or perhaps my script needs work?
Code:
ImportOGR|path\to\CA Woodland.shp|-119;-118;37;38|*|NOREPROJ
ImportOGR|path\to\NV Woodland.shp|-119;-118;37;38|*|NOREPROJ
ImportOGR|path\to\Utility.shp|-119;-118;37;38|*|NOREPROJ
#
SplitGrid|AGN|*
#
ImportAGN|path\to\Texture|EXISTINGCELLSONLY
#
PolygonToPoint|*|INSIDE|0.0002;0.0002|0.9;0.9|String;TYPE|Veg|
AddAttribute|FROMFILE="Utility.shp"|String;TYPE|Utility
FilterFeatures|FTYPE="POINT" AND TYPE="Veg"|FTYPE="LINE" AND TYPE="Utility"|DISTANCE_FEATURE|20
CreateAGNRectVeg|TYPE="Veg"|{ed872711-270a-4ba2-8d2e-7ae89b279f9e};{bc53cb4e-92fd-4482-b890-d9327ebde209};{493c4993-4a11-440c-b1d4-063adf256c6f};{75fcf624-2d17-4790-b65c-f5e5320f4d9d};{68371601-4fae-4034-97e6-faa7e7aa66ed};{f897b102-9139-4027-a6a7-c87bdc881315};{366cb01a-b43b-4c48-80a0-4e47d71a063d};{2edc3430-5dbe-4ad2-a028-0b2cef3b261d};{64ecee3f-7664-4966-90b3-ad146a0d1d05}
#
ExportAGN|P3D v2|path\to\Texture
Thanks,

