User Tools

Site Tools


arma2:terrain:satellite-texture-merge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arma2:terrain:satellite-texture-merge [2012-08-06 16:40]
snakeman created satellite-texture-merge initial page.
arma2:terrain:satellite-texture-merge [2020-05-14 05:43] (current)
snakeman updated to v7.0.10-11
Line 7: Line 7:
 If you ever wanted to see other peoples / BIS terrains textures in one big image or perhaps you lost your own Photoshop psb image for your project, this is the method to use to recover that big image once again. If you ever wanted to see other peoples / BIS terrains textures in one big image or perhaps you lost your own Photoshop psb image for your project, this is the method to use to recover that big image once again.
  
-This method requires BIS Tools pal2pace which can be found on texview2 directory and [[http://www.imagemagick.org/|ImageMagick]] image tool.+This method requires BIS Tools pal2pace which can be found on texview2 directory and [[arma2:​texturing:​imagemagick|ImageMagick]] image tool.
  
 Our example is made for BIS terrain Chernarus, its 15360 x 15360 resolution satellite image and its PNG file list is 1024 PNG's long. Other terrains have various sizes and you have to adjust this tutorial accordingly. Our example is made for BIS terrain Chernarus, its 15360 x 15360 resolution satellite image and its PNG file list is 1024 PNG's long. Other terrains have various sizes and you have to adjust this tutorial accordingly.
 +
 +**2020-05-14** updated to Version: ImageMagick 7.0.10-11 Q16 x64 2020-05-09.
  
  
Line 99: Line 101:
  
 <code dos> <code dos>
-montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @top_left_input.txt satellite_top_left.png+magick ​montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @top_left_input.txt satellite_top_left.png
 </​code>​ </​code>​
  
Line 106: Line 108:
  
 <code dos> <code dos>
-montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @top_right_input.txt satellite_top_right.png+magick ​montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @top_right_input.txt satellite_top_right.png
 </​code>​ </​code>​
  
Line 113: Line 115:
  
 <code dos> <code dos>
-montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @bottom_left_input.txt satellite_bottom_left.png+magick ​montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @bottom_left_input.txt satellite_bottom_left.png
 </​code>​ </​code>​
  
Line 120: Line 122:
  
 <code dos> <code dos>
-montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @bottom_right_input.txt satellite_bottom_right.png+magick ​montage -mode concatenate -size 16384x16384 -geometry -16-16 -tile 16x @bottom_right_input.txt satellite_bottom_right.png
 </​code>​ </​code>​
  
  
-====== ​Photoshop ​Merge ======+====== ​Tiles Merge ======
  
-Finally we make 15360 x 15360 image in Photoshop, open all the corner ​satellite ​pieces and paste them in the right places in the large final imagethen flatten ​the image.+//Note: this part was not actually written for the Chernarus ​satellite ​merge tutorialbut you see how you can use the below for this purpose.//
  
-All done.+This process takes your 20480 resolution satellite mask and texture TILES (top left, top right, bottom left and bottom right) and combines them into 40960 resolution image. Then it resizes tiles into 1024 size for visitor 3 importing jiggle. 
 +<code dos> 
 +@echo off 
 +echo this process takes forever, several HOURS. Are you sure you want to proceed? 
 +pause 
 +set MAGICK_TEMPORARY_PATH=c:​\imagemagick_temp 
 +echo processing 40960 Satellite Mask... 
 +magick montage -mode concatenate -size 40960x40960 @chops-list-mask.txt Satellite_MONSTER_40K_mask_lco.png 
 +echo processing 40960 Satellite Texture... 
 +magick montage -mode concatenate -size 40960x40960 @chops-list-texture.txt Satellite_MONSTER_40K_texture_lco.png 
 +echo processing 1024 Satellite Mask... 
 +magick convert Satellite_mask_lco.png -resize 1024x1024 Satellite_mask_1024_lco.png 
 +echo processing 1024 Satellite Texture... 
 +magick convert Satellite_texture_lco.png -resize 1024x1024 Satellite_texture_1024_lco.png 
 +echo finally, all done. Thank you :) 
 +pause 
 +</​code>​ 
 + 
 +chops-list-mask.txt:​ 
 +<​code>​ 
 +Satellite_mask_lco.png 
 +Satellite_mask_lco.png 
 +Satellite_mask_lco.png 
 +Satellite_mask_lco.png 
 +</​code>​ 
 + 
 +chops-list-texture.txt:​ 
 +<​code>​ 
 +Satellite_texture_lco.png 
 +Satellite_texture_lco.png 
 +Satellite_texture_lco.png 
 +Satellite_texture_lco.png 
 +</​code>​
  
  
Line 135: Line 169:
 As said this tutorial is for BIS terrain Chernarus satellite size, other terrains vary in sizes so you must adjust the satellite resolutions accordingly. As said this tutorial is for BIS terrain Chernarus satellite size, other terrains vary in sizes so you must adjust the satellite resolutions accordingly.
  
-The satellite is merged in four pieces because even when split up to four the sizes are 7680 x 7680 per piece, ​we assume ​ImageMagick ​cannot handle sizes like 16k 16k or so.+The satellite is merged in four pieces because even when split up to four the sizes are 7680 x 7680 per piece, ​however ​ImageMagick ​can merge even four 20480 20480 resolution images to one huge 40960 x 40960 res image.
  
 Same method applies to mask files of course. Same method applies to mask files of course.
 +
 +To further tweak your imagemagick to handle large satellite image sizes, please refer to [[arma2:​texturing:​imagemagick|ImageMagick]] page.
arma2/terrain/satellite-texture-merge.1344271224.txt.gz · Last modified: 2012-08-06 16:40 by snakeman