- Messages
- 11
- Country

Hello, I have tried to reproduce the tutorial code (scenProc | 2) of 2013.
But without success, only the lamppost appear and even putting 90º in the code was misaligned with the highway.
For personal reasons still trapped the limitations of hardware and FS2004 beyond personal taste by FS9.
I tried several changes including the autodetect for vegetation which created some scattering trees, I wish it were more dense.
I was hoping to get a result like the Arno video.
By the way, if I create an object and put it in the scenery folder to be inserted along the highway, can I call it in scenproc via GUID?
Thank you for your attention.
My Code:
Log Scenproc
Sorry for the bad image, I downloaded it at low resolution just for scenproc testing.
For personal reasons still trapped the limitations of hardware and FS2004 beyond personal taste by FS9.
I tried several changes including the autodetect for vegetation which created some scattering trees, I wish it were more dense.
I was hoping to get a result like the Arno video.
By the way, if I create an object and put it in the scenery folder to be inserted along the highway, can I call it in scenproc via GUID?
Thank you for your attention.
My Code:
#
# @0@=..\Texel\Texel_Full.osm
# @1@=4.7255
# @2@=4.8676
# @3@=53.0362
# @4@=53.0792
# @5@=..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery
# @6@=..\..\..\..\..\tools\fsearthtilesv1_3\work\texel_photo\texture
#
# Autogen test file for Texel island
#
#IMPORTOGR|@0@|*|highway;landuse;building|NOREPROJ|DONTPROCESHOLES
IMPORTOGR|@0@|@1@;@2@;@3@;@4@|highway;landuse;building|NOREPROJ
#
ExportOGR|*|ESRI Shapefile|..\texel\Shapes\SplitShp\texel_workflow.shp|texel_workflow
#
SPLITGRID|AGN|*|building="*"
#
# Add attribute to indicate the type of building
# 1 = RECTANGLE
# 2 = ALMOST RECTANGLE (BASED ON AREA RATIO)
# 3 = REGULAR SHAPED (MANY PARALLEL EDGES)
# 4 = CONVEX POLYGONS
# 5 = CONCAVE POLYGONS
#
ADDATTRIBUTE|FTYPE="POLYGON" And building="*" And FNUMVERT=4 And FNUMPERPANG=4|Integer;BUILDTYPE|1
ADDATTRIBUTE|NOT BUILDTYPE=1 And FTYPE="POLYGON" And building="*" And FAREARAT>0.70|Integer;BUILDTYPE|2
ADDATTRIBUTE|NOT BUILDTYPE=1 And NOT BUILDTYPE=2 And FTYPE="POLYGON" And building="*" And FNUMPERPANG>3 And FNUMNOTPAR<2 And FNUMVERT<10|Integer;BUILDTYPE|3
ADDATTRIBUTE|NOT BUILDTYPE=1 And NOT BUILDTYPE=2 And NOT BUILDTYPE=3 And FTYPE="POLYGON" And building="*" And FCONVEX=1|Integer;BUILDTYPE|4
ADDATTRIBUTE|NOT BUILDTYPE=1 And NOT BUILDTYPE=2 And NOT BUILDTYPE=3 And NOT BUILDTYPE=4 And FTYPE="POLYGON" And building="*"|Integer;BUILDTYPE|5
#
# Add attribute to indicate the category of building
# based on the landuse polygons
# 1 = RURAL
# 2 = RESIDENTIAL
# 3 = INDUSTRIAL
#
ADDATTRIBUTE|FTYPE="POLYGON" And building="*"|Integer;BUILDTYPE|1
ADDATTRIBUTEIFINSIDE|FTYPE="POLYGON" And building="*"|FTYPE="POLYGON" And landuse="residential"|Integer;BUILDTYPE|2
ADDATTRIBUTEIFINSIDE|FTYPE="POLYGON" And building="*"|FTYPE="POLYGON" And landuse="industrial"|Integer;BUILDTYPE|3
#
# CREATE NEW FEATURES
REPLACEPOLYGONBYBUILDINGRECTANGLES|BUILDTYPE=3|0.8;4;4|0.5;2.0;1.0|Integer;BUILDTYPE|3
#
# PROPERTIES
SETAGNBUILDINGHEIGHT|*|1.0;0.0;0.0;0.0
#SETAGNBUILDINGTEXTURE|*|autogen_NL
# BUILDINGS
CREATEAGNGENBUILD|BUILDCAT=1 And BUILDTYPE<3|{5ae04eb6-934c-4f36-bb48-5e7dee601212}
CREATEAGNGENBUILD|BUILDCAT=2 And BUILDTYPE<3 And FWIDTH<20|{5ae04eb6-934c-4f36-bb48-5e7dee601212}|MAXRATIO=2
CREATEAGNGENBUILD|BUILDCAT=2 And BUILDTYPE<3 And FWIDTH>20|{311de8c7-e596-4e28-a94d-da09d0252ce4}
CREATEAGNGENBUILD|BUILDCAT=3 And BUILDTYPE<3|{4eb68be7-2f1f-4cd2-920e-becfa2d8c888}
#
# VEGETATION
CREATEAGNPOLYVEG|FTYPE="POLYGON" And landuse="forest"|{c9dc45ae-f240-42a9-a137-b7617452a308}
#
# LIBRARY OBJECT
#
PLACEPOINTSALONGLINE|FTYPE="LINE" And highway="secondary"|CONTINUOUS|150;150|5;5|0|String;type|light|hdg
#CREATEAGNLIBOBJECT|FTYPE="POINT" And type="light"|{82be3f0e-40dc-6365-679d-45ac6fde6872}
CreateXMLLibObj|FTYPE="POINT" And type="light"|{47c97ced-c4e6-4e4b-8e9f-b110989eea62}|90|0|0
#
ExportBGL|FS2004|texel_light|@5@|KEEPXML
#
# SAVE AGN FILES
ExportAGN|FS2004|@6@
#
Log Scenproc
16:48 IMPORTOGR Information Reading file ..\Texel\Texel_Full.osm
16:48 IMPORTOGR Information Read 12347 features from file
16:48 EXPORTOGR Information Writing ESRI Shapefile file: ..\texel\Shapes\SplitShp\texel_workflow.shp
16:48 EXPORTOGR Information Written 12347 features to file
16:48 SPLITGRID Information Splitting features in 0.0146484375 x 0.010986328125 grid...
16:48 SPLITGRID Information Features divided in 55 cells
16:48 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 1 to features FTYPE="POLYGON" And building="*" And FNUMVERT=4 And FNUMPERPANG=4
16:48 ADDATTRIBUTE Information Added attribute to 3245 features
16:48 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 2 to features NOT BUILDTYPE=1 And FTYPE="POLYGON" And building="*" And FAREARAT>0.70
16:48 ADDATTRIBUTE Information Added attribute to 3404 features
16:48 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 3 to features NOT BUILDTYPE=1 And NOT BUILDTYPE=2 And FTYPE="POLYGON" And building="*" And FNUMPERPANG>3 And FNUMNOTPAR<2 And FNUMVERT<10
16:48 ADDATTRIBUTE Information Added attribute to 650 features
16:48 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 4 to features NOT BUILDTYPE=1 And NOT BUILDTYPE=2 And NOT BUILDTYPE=3 And FTYPE="POLYGON" And building="*" And FCONVEX=1
16:48 ADDATTRIBUTE Information Added attribute to 12 features
16:48 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 5 to features NOT BUILDTYPE=1 And NOT BUILDTYPE=2 And NOT BUILDTYPE=3 And NOT BUILDTYPE=4 And FTYPE="POLYGON" And building="*"
16:48 ADDATTRIBUTE Information Added attribute to 973 features
16:48 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 1 to features FTYPE="POLYGON" And building="*"
16:48 ADDATTRIBUTE Information Added attribute to 8284 features
16:48 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDTYPE with value 2 to features FTYPE="POLYGON" And building="*" that are inside FTYPE="POLYGON" And landuse="residential"
16:48 ADDATTRIBUTEIFINSIDE Information Added attribute to 6463 features
16:48 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDTYPE with value 3 to features FTYPE="POLYGON" And building="*" that are inside FTYPE="POLYGON" And landuse="industrial"
16:48 ADDATTRIBUTEIFINSIDE Information Added attribute to 528 features
16:48 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Replacing polygons with building rectangles for polygons that match filter FTYPE="POLYGON" AND (BUILDTYPE=3)
16:48 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Created 670 building rectangles
16:48 SETAGNBUILDINGHEIGHT Information Setting autogen building height...
16:48 SETAGNBUILDINGHEIGHT Information Set autogen building height for 55 cells
16:48 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter FTYPE="POLYGON" AND (BUILDCAT=1 And BUILDTYPE<3) AND FWIDTH>1 AND FLENGTH>1...
16:48 CREATEAGNGENBUILD Information Created 0 autogen objects
16:48 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter FTYPE="POLYGON" AND (BUILDCAT=2 And BUILDTYPE<3 And FWIDTH<20) AND FWIDTH>1 AND FLENGTH>1...
16:48 CREATEAGNGENBUILD Information Created 0 autogen objects
16:48 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter FTYPE="POLYGON" AND (BUILDCAT=2 And BUILDTYPE<3 And FWIDTH>20) AND FWIDTH>1 AND FLENGTH>1...
16:48 CREATEAGNGENBUILD Information Created 0 autogen objects
16:48 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter FTYPE="POLYGON" AND (BUILDCAT=3 And BUILDTYPE<3) AND FWIDTH>1 AND FLENGTH>1...
16:48 CREATEAGNGENBUILD Information Created 0 autogen objects
16:48 CREATEAGNPOLYVEG Information Creating autogen polygon vegetation with filter FTYPE="POLYGON" And landuse="forest"...
16:48 CREATEAGNPOLYVEG Information Created 545 autogen objects
16:48 PLACEPOINTSALONGLINE Information Placing point features along lines with filter FTYPE="LINE" And highway="secondary"...
16:48 PLACEPOINTSALONGLINE Information Created 114 point features
16:48 CREATEXMLLIBOBJ Information Creating XML library objects with filter FTYPE="POINT" And type="light"...
16:48 CREATEXMLLIBOBJ Information Created 22 XML objects
16:48 EXPORTBGL Information Exporting with basename texel_light to folder ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery
16:48 BGLXWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_26.bgl
16:48 XMLWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_26.xml
16:48 XMLWriter Information Finished writing of file D:\Games\FS2004\Tools\Autogen\scenProc_1.1_x64\Work\Texel\..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_26.xml
16:48 BGLXWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_18.bgl
16:48 XMLWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_18.xml
16:48 XMLWriter Information Finished writing of file D:\Games\FS2004\Tools\Autogen\scenProc_1.1_x64\Work\Texel\..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_18.xml
16:48 BGLCommp Information Parsing document: texel_light_26.xml
16:48 BGLCommp Information Parse complete!
16:48 BGLCommp Information Parsing document: texel_light_18.xml
16:48 BGLCommp Information Parse complete!
16:48 BGLXWriter Information Finished writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_26.bgl
16:48 BGLXWriter Information Finished writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_18.bgl
16:48 BGLXWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_19.bgl
16:48 XMLWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_19.xml
16:48 XMLWriter Information Finished writing of file D:\Games\FS2004\Tools\Autogen\scenProc_1.1_x64\Work\Texel\..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_19.xml
16:48 BGLCommp Information Parsing document: texel_light_19.xml
16:48 BGLCommp Information Parse complete!
16:48 BGLXWriter Information Finished writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_19.bgl
16:48 BGLXWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_21.bgl
16:48 XMLWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_21.xml
16:48 XMLWriter Information Finished writing of file D:\Games\FS2004\Tools\Autogen\scenProc_1.1_x64\Work\Texel\..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_21.xml
16:48 BGLCommp Information Parsing document: texel_light_21.xml
16:48 BGLCommp Information Parse complete!
16:48 BGLXWriter Information Finished writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_21.bgl
16:48 BGLXWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_22.bgl
16:48 XMLWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_22.xml
16:48 XMLWriter Information Finished writing of file D:\Games\FS2004\Tools\Autogen\scenProc_1.1_x64\Work\Texel\..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_22.xml
16:48 BGLCommp Information Parsing document: texel_light_22.xml
16:48 BGLCommp Information Parse complete!
16:48 BGLXWriter Information Finished writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_22.bgl
16:48 BGLXWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_25.bgl
16:48 XMLWriter Information Starting writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_25.xml
16:48 XMLWriter Information Finished writing of file D:\Games\FS2004\Tools\Autogen\scenProc_1.1_x64\Work\Texel\..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_25.xml
16:48 BGLCommp Information Parsing document: texel_light_25.xml
16:48 BGLCommp Information Parse complete!
16:48 BGLXWriter Information Finished writing of file ..\..\..\..\..\Tools\FSEarthTilesV1_3\Work\Texel_Photo\scenery\texel_light_25.bgl
16:48 EXPORTAGN Information Writing AGN files to folder ..\..\..\..\..\tools\fsearthtilesv1_3\work\texel_photo\texture
16:48 EXPORTAGN Information Created 545 polygonal vegetation objects
16:48 EXPORTAGN Information Written 50 autogen files
16:48 SceneryProcessor Information scenProc finished processing
16:48 SceneryProcessor Information 7.72 seconds for IMPORTOGR
16:48 SceneryProcessor Information 4.51 seconds for EXPORTOGR
16:48 SceneryProcessor Information 1.50 seconds for SPLITGRID
16:48 SceneryProcessor Information 3.04 seconds for ADDATTRIBUTE
16:48 SceneryProcessor Information 4.84 seconds for ADDATTRIBUTEIFINSIDE
16:48 SceneryProcessor Information 1.65 seconds for REPLACEPOLYGONBYBUILDINGRECTANGLES
16:48 SceneryProcessor Information 0.02 seconds for SETAGNBUILDINGHEIGHT
16:48 SceneryProcessor Information 0.86 seconds for CREATEAGNGENBUILD
16:48 SceneryProcessor Information 0.23 seconds for CREATEAGNPOLYVEG
16:48 SceneryProcessor Information 0.39 seconds for PLACEPOINTSALONGLINE
16:48 SceneryProcessor Information 0.27 seconds for CREATEXMLLIBOBJ
16:48 SceneryProcessor Information 0.61 seconds for EXPORTBGL
16:48 SceneryProcessor Information 0.05 seconds for EXPORTAGN
16:48 SceneryProcessor Information 25.68 seconds total
Sorry for the bad image, I downloaded it at low resolution just for scenproc testing.
