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

Both sides previous revision Previous revision
Next revision Both sides next revision
arma2:terrain:satellite-texture-merge [2013-05-08 06:47]
snakeman fixed false capapbility info and added temp file path.
arma2:terrain:satellite-texture-merge [2014-06-23 07:10]
snakeman added tiles merge and indexed to rgb color headers.
Line 124: Line 124:
  
  
-====== ​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... 
 +montage -mode concatenate -size 40960x40960 @chops-list-mask.txt Satellite_MONSTER_40K_mask_lco.png 
 +echo processing 40960 Satellite Texture... 
 +montage -mode concatenate -size 40960x40960 @chops-list-texture.txt Satellite_MONSTER_40K_texture_lco.png 
 +echo processing 1024 Satellite Mask... 
 +convert Satellite_mask_lco.png -resize 1024x1024 Satellite_mask_1024_lco.png 
 +echo processing 1024 Satellite Texture... 
 +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 144: Line 176:
 </​code>​ </​code>​
 You can use what path you wish there. You can use what path you wish there.
 +
 +
 +====== Indexed to RGB Color ======
 +
 +How to use ImageMagick to convert indexed PNG image into RGB color:
 +<code dos>
 +convert indexed.png -define png:​color-type=2 rgb.png
 +</​code>​
 +Take a note that when you convert large image, huge image... it takes quite long time and eats all the memory you have in your computer, strange thing even though its supposed to use the temp directory. But, it works. For example Photoshop CS6 does not save large PNG image with RGB color to PNG (it loads indexed, but doesn'​t save RGB).
arma2/terrain/satellite-texture-merge.txt · Last modified: 2020-05-14 05:43 by snakeman