Merge pull request #131 from tacigar/tacigar/directory
Update directory structure
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 670 B |
@ -1,30 +0,0 @@
|
|||||||
#/bin/bash
|
|
||||||
|
|
||||||
declare -a arr=()
|
|
||||||
arr[1]='gray92'
|
|
||||||
arr[2]='gray68'
|
|
||||||
arr[3]='gray36'
|
|
||||||
arr[4]='gray17'
|
|
||||||
arr[5]='blue'
|
|
||||||
arr[6]='cyan'
|
|
||||||
arr[7]='green'
|
|
||||||
arr[8]='DarkGreen'
|
|
||||||
arr[9]='yellow'
|
|
||||||
arr[10]='orange'
|
|
||||||
arr[11]='brown'
|
|
||||||
arr[12]='red'
|
|
||||||
arr[13]='pink'
|
|
||||||
arr[14]='magenta'
|
|
||||||
arr[15]='violet'
|
|
||||||
|
|
||||||
for ((i=1; i<16; i++)); do
|
|
||||||
type=$(($i % 3 + 1))
|
|
||||||
maidroid_type="maidroid_type${type}.png"
|
|
||||||
|
|
||||||
output="../maidroid_maidroid_mk${i}.png"
|
|
||||||
color=${arr[i]}
|
|
||||||
convert +level-colors $color,White maidroid_hair.png maidroid_hair_tmp.png
|
|
||||||
composite maidroid_hair_tmp.png $maidroid_type $output
|
|
||||||
|
|
||||||
rm maidroid_hair_tmp.png
|
|
||||||
done
|
|
Before Width: | Height: | Size: 1008 B |
@ -1,5 +1,3 @@
|
|||||||
#/bin/bash
|
|
||||||
|
|
||||||
declare -a arr=()
|
declare -a arr=()
|
||||||
arr[1]='gray92'
|
arr[1]='gray92'
|
||||||
arr[2]='gray68'
|
arr[2]='gray68'
|
||||||
@ -16,12 +14,3 @@ arr[12]='red'
|
|||||||
arr[13]='pink'
|
arr[13]='pink'
|
||||||
arr[14]='magenta'
|
arr[14]='magenta'
|
||||||
arr[15]='violet'
|
arr[15]='violet'
|
||||||
|
|
||||||
for ((i=1; i<16; i++)); do
|
|
||||||
output="../maidroid_maidroid_mk${i}_egg.png"
|
|
||||||
color=${arr[i]}
|
|
||||||
convert +level-colors $color,White egg_pattern.png egg_pattern_tmp.png
|
|
||||||
composite egg_pattern_tmp.png egg.png $output
|
|
||||||
|
|
||||||
rm egg_pattern_tmp.png
|
|
||||||
done
|
|
12
scripts/genEggTextures.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
. ./colors.sh
|
||||||
|
|
||||||
|
for ((i=1; i<16; i++)); do
|
||||||
|
output="../maidroid/textures/maidroid_maidroid_mk${i}_egg.png"
|
||||||
|
color=${arr[i]}
|
||||||
|
convert +level-colors $color,White img/maidroid_egg_pattern.png img/maidroid_egg_pattern_tmp.png
|
||||||
|
composite img/maidroid_egg_pattern_tmp.png img/maidroid_empty_egg.png $output
|
||||||
|
|
||||||
|
rm img/maidroid_egg_pattern_tmp.png
|
||||||
|
done
|
15
scripts/genMaidroidTextures.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
. ./colors.sh
|
||||||
|
|
||||||
|
for ((i=1; i<16; i++)); do
|
||||||
|
type=$(($i % 3 + 1))
|
||||||
|
maidroid_type="img/maidroid_type${type}.png"
|
||||||
|
|
||||||
|
output="../maidroid/models/maidroid_maidroid_mk${i}.png"
|
||||||
|
color=${arr[i]}
|
||||||
|
convert +level-colors $color,White img/maidroid_hair.png img/maidroid_hair_tmp.png
|
||||||
|
composite img/maidroid_hair_tmp.png $maidroid_type $output
|
||||||
|
|
||||||
|
rm img/maidroid_hair_tmp.png
|
||||||
|
done
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 1015 B After Width: | Height: | Size: 1015 B |
Before Width: | Height: | Size: 1008 B After Width: | Height: | Size: 1008 B |
Before Width: | Height: | Size: 963 B After Width: | Height: | Size: 963 B |