Dev Diary PMC Ukraine Ivankiv ArmA 3 Terrain

2022-03-07 Global Mapper Editing

2022-03-07T19:11:00Z New editing day has stated. I'm currently editing PMC Ukraine Odesa but its being hold up by long global mapper processes so time to put in few edits to ivankiv.

Used global mapper to export ASCII Grid heightmap.asc using SRTM 1-arc-sec v3 online source. Then loaded ukraine OpenStreetMap (OSM) shape files.

Then shuffled through the OSM data, roads did not need reducing as they were already 5000 something but I still removed footway, path and residential anyways. Then exported areas to obj_*.shp file names separated by FCLASS type, then assigned ID/ORDER for roads and exported roads.shp, and finally exported place names and used PMC OSM Places CSV2HPP Converter to create for arma3 readable pmc_names.hpp config include file.

2022-03-07T20:11:00Z Finished global mapper assigning RGB colors to OSM shape areas.

Created brand new _run_delete_global_mapper_work_files_in_this_dir.bat which will clean up by deleting all global mapper produced work files. This is dangerous bat to run if you still have files work in progress in the dir, however once you have terrain in arma3 you can delete all the work files as all of them can be re-generated at any time.

Note: this obviously does not include the Satellite.Texture/ and Satellite.Mask/ directories with hand painted GIMP XCF images. If you lose these, they need to be re-painted, and let me tell ya... it ain't no fun.

Ran this new bat on PMC Ukraine Kharkiv global mapper dir and freed a lot of hard disk drive (HDD) space, over 50 gigabytes.

Then exported satellite mask in 4 x 4 grid tiles.

2022-03-07T21:01:00Z Finished global mapper exporting satellite texture.

Then started to GIMP clone stamp tool brush off cloud puffs.

Satellite texture tiles with clouds: A1, B3, B1, D2, D1

2022-03-07T21:20:00Z Finished fixing the clouds. Small terrain, quick to fix.

Next used GraphicsMagick to run _run_graphicsmagick_darken_and_picturemap_tiles_4x4_green.bat and _run_graphicsmagick_l3dt_8192_texture_map_tiles_4x4.bat files to prepare images for Terrain Builder.

Then did _run_graphicsmagick_convert_Sat_Mask_PNG_to_BMP_with_white_fix_4x4.bat for satellite mask images.

2022-03-07T21:39:00Z Created terrain builder project, moved heightmap, picturemap_ca etc source files there, then Terrain Processor generated obj_forest tree lines objects.

While terrain builder was importing objects I created pboProject bat and mod.cpp files. Then created arma3 addon dir for this terrain.

Then created latitude/longitude config.cpp entry.

2022-03-07T22:11:00Z Started to import satellite texture/mask.

There was no airfield here so I could skip several tool pipeline steps, which saved some time.

2022-03-07T22:21:00Z Terrain builder started to generate layers.

After that Convert Layers PNG to PAA Fast bat, Separate Data Layers for smaller PBOs. Then layers RVMAT re-pathing with moveObject.

2022-03-07T23:05:00Z Started pboProject binarization (PMC Editing Wiki: search "binarize"), we are done here Smiley :)

Continue reading page 3, previous page 1 or back to Dev Diary PMC Ukraine Ivankiv root page.

PMC Ukraine Ivankiv: Changelog, Dev Diary, Screenshots. Back to PMC Terrain's page.