arma3:terrain:darken-merge-picturemap-satellite-texture-tiles
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arma3:terrain:darken-merge-picturemap-satellite-texture-tiles [2017/03/13 16:55] – added new darken bat file. snakeman | arma3:terrain:darken-merge-picturemap-satellite-texture-tiles [2024/08/02 17:23] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Darken Merge Picturemap Satellite Texture Tiles ====== | + | ====== |
- | **HOWTO darken, merge and create picturemap from global mapper exported satellite texture tiles with Imagemagick.** | + | [[https:// |
+ | |||
+ | **HOWTO darken, merge and create picturemap from global mapper exported satellite texture tiles with [[arma2: | ||
In these examples we use global mapper exported 4 x 4 satellite texture tiles which is great number as it works on all satellite types from 20,480 all the way up to monster 102,400 resolution. | In these examples we use global mapper exported 4 x 4 satellite texture tiles which is great number as it works on all satellite types from 20,480 all the way up to monster 102,400 resolution. | ||
+ | |||
+ | **2020-05-14** updated to Version: ImageMagick 7.0.10-11 Q16 x64 2020-05-09. | ||
Line 18: | Line 22: | ||
echo Dsat_A1 ... | echo Dsat_A1 ... | ||
- | convert sat_A1.png -brightness-contrast -30 Dsat_A1.bmp | + | magick |
echo Dsat_A2 ... | echo Dsat_A2 ... | ||
- | convert sat_A2.png -brightness-contrast -30 Dsat_A2.bmp | + | magick |
echo Dsat_A3 ... | echo Dsat_A3 ... | ||
- | convert sat_A3.png -brightness-contrast -30 Dsat_A3.bmp | + | magick |
echo Dsat_A4 ... | echo Dsat_A4 ... | ||
- | convert sat_A4.png -brightness-contrast -30 Dsat_A4.bmp | + | magick |
echo Dsat_B1 ... | echo Dsat_B1 ... | ||
- | convert sat_B1.png -brightness-contrast -30 Dsat_B1.bmp | + | magick |
echo Dsat_B2 ... | echo Dsat_B2 ... | ||
- | convert sat_B2.png -brightness-contrast -30 Dsat_B2.bmp | + | magick |
echo Dsat_B3 ... | echo Dsat_B3 ... | ||
- | convert sat_B3.png -brightness-contrast -30 Dsat_B3.bmp | + | magick |
echo Dsat_B4 ... | echo Dsat_B4 ... | ||
- | convert sat_B4.png -brightness-contrast -30 Dsat_B4.bmp | + | magick |
echo Dsat_C1 ... | echo Dsat_C1 ... | ||
- | convert sat_C1.png -brightness-contrast -30 Dsat_C1.bmp | + | magick |
echo Dsat_C2 ... | echo Dsat_C2 ... | ||
- | convert sat_C2.png -brightness-contrast -30 Dsat_C2.bmp | + | magick |
echo Dsat_C3 ... | echo Dsat_C3 ... | ||
- | convert sat_C3.png -brightness-contrast -30 Dsat_C3.bmp | + | magick |
echo Dsat_C4 ... | echo Dsat_C4 ... | ||
- | convert sat_C4.png -brightness-contrast -30 Dsat_C4.bmp | + | magick |
echo Dsat_D1 ... | echo Dsat_D1 ... | ||
- | convert sat_D1.png -brightness-contrast -30 Dsat_D1.bmp | + | magick |
echo Dsat_D2 ... | echo Dsat_D2 ... | ||
- | convert sat_D2.png -brightness-contrast -30 Dsat_D2.bmp | + | magick |
echo Dsat_D3 ... | echo Dsat_D3 ... | ||
- | convert sat_D3.png -brightness-contrast -30 Dsat_D3.bmp | + | magick |
echo Dsat_D4 ... | echo Dsat_D4 ... | ||
- | convert sat_D4.png -brightness-contrast -30 Dsat_D4.bmp | + | magick |
echo All done! | echo All done! | ||
Line 60: | Line 64: | ||
- | ====== | + | ====== |
- | Second bat is to create arma3 user interface **ui_picturemap_ca.tga** image which is shown when you load your terrain. | + | Second bat is to create arma3 user interface **picturemap_ca.tga** image which is shown when you load your terrain. This also creates " |
- | **_run_imagemagick_create_ui_picturemap_ca_4x4.bat:** | + | **_run_imagemagick_create_picturemap_ca_4x4.bat:** |
<code dos> | <code dos> | ||
@echo off | @echo off | ||
Line 73: | Line 77: | ||
echo resizing Ax ... | echo resizing Ax ... | ||
- | convert Dsat_A1.bmp -resize 512x512 temp_A1.bmp | + | magick |
- | convert Dsat_A2.bmp -resize 512x512 temp_A2.bmp | + | magick |
- | convert Dsat_A3.bmp -resize 512x512 temp_A3.bmp | + | magick |
- | convert Dsat_A4.bmp -resize 512x512 temp_A4.bmp | + | magick |
echo resizing Bx ... | echo resizing Bx ... | ||
- | convert Dsat_B1.bmp -resize 512x512 temp_B1.bmp | + | magick |
- | convert Dsat_B2.bmp -resize 512x512 temp_B2.bmp | + | magick |
- | convert Dsat_B3.bmp -resize 512x512 temp_B3.bmp | + | magick |
- | convert Dsat_B4.bmp -resize 512x512 temp_B4.bmp | + | magick |
echo resizing Cx ... | echo resizing Cx ... | ||
- | convert Dsat_C1.bmp -resize 512x512 temp_C1.bmp | + | magick |
- | convert Dsat_C2.bmp -resize 512x512 temp_C2.bmp | + | magick |
- | convert Dsat_C3.bmp -resize 512x512 temp_C3.bmp | + | magick |
- | convert Dsat_C4.bmp -resize 512x512 temp_C4.bmp | + | magick |
echo resizing Dx ... | echo resizing Dx ... | ||
- | convert Dsat_D1.bmp -resize 512x512 temp_D1.bmp | + | magick |
- | convert Dsat_D2.bmp -resize 512x512 temp_D2.bmp | + | magick |
- | convert Dsat_D3.bmp -resize 512x512 temp_D3.bmp | + | magick |
- | convert Dsat_D4.bmp -resize 512x512 temp_D4.bmp | + | magick |
echo combine temp_Ax ... | echo combine temp_Ax ... | ||
- | convert +append temp_A1.bmp temp_A2.bmp temp_A3.bmp temp_A4.bmp temp_Ax.bmp | + | magick |
echo combine temp_Bx ... | echo combine temp_Bx ... | ||
- | convert +append temp_B1.bmp temp_B2.bmp temp_B3.bmp temp_B4.bmp temp_Bx.bmp | + | magick |
echo combine temp_Cx ... | echo combine temp_Cx ... | ||
- | convert +append temp_C1.bmp temp_C2.bmp temp_C3.bmp temp_C4.bmp temp_Cx.bmp | + | magick |
echo combine temp_Dx ... | echo combine temp_Dx ... | ||
- | convert +append temp_D1.bmp temp_D2.bmp temp_D3.bmp temp_D4.bmp temp_Dx.bmp | + | magick |
echo combine picturemap_ca.tga ... | echo combine picturemap_ca.tga ... | ||
- | convert -append temp_Ax.bmp temp_Bx.bmp temp_Cx.bmp temp_Dx.bmp picturemap_ca.tga | + | magick |
+ | echo creating screenshot ... | ||
+ | magick convert picturemap_ca.tga -resize 1024x1024 screenshot.png | ||
echo deleting temp files ... | echo deleting temp files ... | ||
if exist temp_*.bmp del temp_*.bmp | if exist temp_*.bmp del temp_*.bmp | ||
Line 133: | Line 139: | ||
rem top left | rem top left | ||
echo A1 + A2 ... | echo A1 + A2 ... | ||
- | convert +append Dsat_A1.bmp Dsat_A2.bmp temp_up.bmp | + | magick |
echo B1 + B2 ... | echo B1 + B2 ... | ||
- | convert +append Dsat_B1.bmp Dsat_B2.bmp temp_bottom.bmp | + | magick |
echo top_left ... | echo top_left ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp top_left.bmp | + | magick |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 144: | Line 150: | ||
rem top right | rem top right | ||
echo A3 + A4 ... | echo A3 + A4 ... | ||
- | convert +append Dsat_A3.bmp Dsat_A4.bmp temp_up.bmp | + | magick |
echo B3 + B4 ... | echo B3 + B4 ... | ||
- | convert +append Dsat_B3.bmp Dsat_B4.bmp temp_bottom.bmp | + | magick |
echo top_right ... | echo top_right ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp top_right.bmp | + | magick |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 155: | Line 161: | ||
rem bottom left | rem bottom left | ||
echo C1 + C2 ... | echo C1 + C2 ... | ||
- | convert +append Dsat_C1.bmp Dsat_C2.bmp temp_up.bmp | + | magick |
echo D1 + D2 ... | echo D1 + D2 ... | ||
- | convert +append Dsat_D1.bmp Dsat_D2.bmp temp_bottom.bmp | + | magick |
echo bottom_left ... | echo bottom_left ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp bottom_left.bmp | + | magick |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 166: | Line 172: | ||
rem bottom right | rem bottom right | ||
echo C3 + C4 ... | echo C3 + C4 ... | ||
- | convert +append Dsat_C3.bmp Dsat_C4.bmp temp_up.bmp | + | magick |
echo D3 + D4 ... | echo D3 + D4 ... | ||
- | convert +append Dsat_D3.bmp Dsat_D4.bmp temp_bottom.bmp | + | magick |
echo bottom_right ... | echo bottom_right ... | ||
- | convert -append temp_up.bmp temp_bottom.bmp bottom_right.bmp | + | magick |
echo cleaning temp tiles... | echo cleaning temp tiles... | ||
del temp_up.bmp temp_bottom.bmp | del temp_up.bmp temp_bottom.bmp | ||
Line 178: | Line 184: | ||
exit | exit | ||
</ | </ | ||
+ |
arma3/terrain/darken-merge-picturemap-satellite-texture-tiles.1489424118.txt.gz · Last modified: 2017/03/13 16:55 by snakeman