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
Previous revision
arma2:terrain:satellite-texture-merge [2014-07-21 19:39]
snakeman added imagemagick convert large satellite to smaller header.
arma2:terrain:satellite-texture-merge [2020-05-14 05:43]
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>​
  
Line 135: Line 137:
 set MAGICK_TEMPORARY_PATH=c:​\imagemagick_temp set MAGICK_TEMPORARY_PATH=c:​\imagemagick_temp
 echo processing 40960 Satellite Mask... echo processing 40960 Satellite Mask...
-montage -mode concatenate -size 40960x40960 @chops-list-mask.txt Satellite_MONSTER_40K_mask_lco.png+magick ​montage -mode concatenate -size 40960x40960 @chops-list-mask.txt Satellite_MONSTER_40K_mask_lco.png
 echo processing 40960 Satellite Texture... echo processing 40960 Satellite Texture...
-montage -mode concatenate -size 40960x40960 @chops-list-texture.txt Satellite_MONSTER_40K_texture_lco.png+magick ​montage -mode concatenate -size 40960x40960 @chops-list-texture.txt Satellite_MONSTER_40K_texture_lco.png
 echo processing 1024 Satellite Mask... echo processing 1024 Satellite Mask...
-convert Satellite_mask_lco.png -resize 1024x1024 Satellite_mask_1024_lco.png+magick ​convert Satellite_mask_lco.png -resize 1024x1024 Satellite_mask_1024_lco.png
 echo processing 1024 Satellite Texture... echo processing 1024 Satellite Texture...
-convert Satellite_texture_lco.png -resize 1024x1024 Satellite_texture_1024_lco.png+magick ​convert Satellite_texture_lco.png -resize 1024x1024 Satellite_texture_1024_lco.png
 echo finally, all done. Thank you :) echo finally, all done. Thank you :)
 pause pause
Line 171: Line 173:
 Same method applies to mask files of course. Same method applies to mask files of course.
  
-If you run out of memory, ImageMagick needs to swap to temp dir/file, if the drive it tries to swap gets full you can define new drive/path like this: +To further tweak your imagemagick ​to handle ​large satellite ​image sizesplease refer to [[arma2:texturing:​imagemagick|ImageMagick]] ​page.
-<code dos> +
-set MAGICK_TEMPORARY_PATH=d:​\imagemagickswap +
-</​code>​ +
-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 indexedbut doesn'​t save RGB). +
- +
- +
-====== Imagemagick Convert Large Satellite ​to Smaller ====== +
- +
-Imagemagick Convert Large Satellite to Smaller for testing purposes, for example convert 40960 monster to a 12800 which you can more easily import many times into Visitor 3 while you are testing some satellite settings. +
- +
-resize larger satellite down into 12800 res: +
-<code dos> +
-set MAGICK_TEMPORARY_PATH=C:\temp +
-convert Satellite_texture_lco.png -resize 12800x12800 satellite_texture_12800_lco.png +
-convert Satellite_mask_lco.png -resize 12800x12800 satellite_mask_12800_lco.png +
-pause +
-</​code>​ +
- +
-PMCTODO - you really need to make specific ​imagemagick page with all these imagemagick tips.+
arma2/terrain/satellite-texture-merge.txt · Last modified: 2020-05-14 05:43 by snakeman