-
Notifications
You must be signed in to change notification settings - Fork 0
/
textures.py
168 lines (134 loc) · 6.97 KB
/
textures.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
import Image
from visual import *
from constants import *
#~ # Texture definition
tiger0_img= Image.open('img/tiger0.png')
tiger0_img = tiger0_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger0 = materials.texture(data=tiger0_img, mapping='spherical')
tiger1_img= Image.open('img/tiger1.png')
tiger1_img = tiger1_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger1 = materials.texture(data=tiger1_img, mapping='spherical')
tiger2_img= Image.open('img/tiger2.png')
tiger2_img = tiger2_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger2 = materials.texture(data=tiger2_img, mapping='spherical')
tiger3_img= Image.open('img/tiger3.png')
tiger3_img = tiger3_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger3 = materials.texture(data=tiger3_img, mapping='spherical')
tiger4_img= Image.open('img/tiger4.png')
tiger4_img = tiger4_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger4 = materials.texture(data=tiger4_img, mapping='spherical')
tiger5_img= Image.open('img/tiger5.png')
tiger5_img = tiger5_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger5 = materials.texture(data=tiger5_img, mapping='spherical')
tiger6_img= Image.open('img/tiger6.png')
tiger6_img = tiger6_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger6 = materials.texture(data=tiger6_img, mapping='spherical')
tiger7_img= Image.open('img/tiger7.png')
tiger7_img = tiger7_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger7 = materials.texture(data=tiger7_img, mapping='spherical')
tiger8_img= Image.open('img/tiger8.png')
tiger8_img = tiger8_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger8 = materials.texture(data=tiger8_img, mapping='spherical')
tiger9_img= Image.open('img/tiger9.png')
tiger9_img = tiger9_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger9 = materials.texture(data=tiger9_img, mapping='spherical')
tiger10_img= Image.open('img/tiger10.png')
tiger10_img = tiger10_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger10 = materials.texture(data=tiger10_img, mapping='spherical')
tiger11_img= Image.open('img/tiger11.png')
tiger11_img = tiger11_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger11 = materials.texture(data=tiger11_img, mapping='spherical')
tiger12_img= Image.open('img/tiger12.png')
tiger12_img = tiger12_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger12 = materials.texture(data=tiger12_img, mapping='spherical')
tiger13_img= Image.open('img/tiger13.png')
tiger13_img = tiger13_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger13 = materials.texture(data=tiger13_img, mapping='spherical')
tiger14_img= Image.open('img/tiger14.png')
tiger14_img = tiger14_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger14 = materials.texture(data=tiger14_img, mapping='spherical')
tiger15_img= Image.open('img/tiger15.png')
tiger15_img = tiger15_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
tiger15 = materials.texture(data=tiger15_img, mapping='spherical')
zebra0_img= Image.open('img/zebra0.png')
zebra0_img = zebra0_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra0 = materials.texture(data=zebra0_img, mapping='spherical')
zebra1_img= Image.open('img/zebra1.png')
zebra1_img = zebra1_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra1 = materials.texture(data=zebra1_img, mapping='spherical')
zebra2_img= Image.open('img/zebra2.png')
zebra2_img = zebra2_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra2 = materials.texture(data=zebra2_img, mapping='spherical')
zebra3_img= Image.open('img/zebra3.png')
zebra3_img = zebra3_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra3 = materials.texture(data=zebra3_img, mapping='spherical')
zebra4_img= Image.open('img/zebra4.png')
zebra4_img = zebra4_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra4 = materials.texture(data=zebra4_img, mapping='spherical')
zebra5_img= Image.open('img/zebra5.png')
zebra5_img = zebra5_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra5 = materials.texture(data=zebra5_img, mapping='spherical')
zebra6_img= Image.open('img/zebra6.png')
zebra6_img = zebra6_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra6 = materials.texture(data=zebra6_img, mapping='spherical')
zebra7_img= Image.open('img/zebra7.png')
zebra7_img = zebra7_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra7 = materials.texture(data=zebra7_img, mapping='spherical')
zebra8_img= Image.open('img/zebra8.png')
zebra8_img = zebra8_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra8 = materials.texture(data=zebra8_img, mapping='spherical')
zebra9_img= Image.open('img/zebra9.png')
zebra9_img = zebra9_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra9 = materials.texture(data=zebra9_img, mapping='spherical')
zebra10_img = Image.open('img/zebra10.png')
zebra10_img = zebra10_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra10 = materials.texture(data=zebra10_img, mapping='spherical')
zebra11_img= Image.open('img/zebra11.png')
zebra11_img = zebra11_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra11 = materials.texture(data=zebra11_img, mapping='spherical')
zebra12_img= Image.open('img/zebra12.png')
zebra12_img = zebra12_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra12 = materials.texture(data=zebra12_img, mapping='spherical')
zebra13_img= Image.open('img/zebra13.png')
zebra13_img = zebra13_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra13 = materials.texture(data=zebra13_img, mapping='spherical')
zebra14_img= Image.open('img/zebra14.png')
zebra14_img = zebra14_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra14 = materials.texture(data=zebra14_img, mapping='spherical')
zebra15_img= Image.open('img/zebra15.png')
zebra15_img = zebra15_img.resize((TEXTURE_RESIZE, TEXTURE_RESIZE), Image.ANTIALIAS)
zebra15 = materials.texture(data=zebra15_img, mapping='spherical')
textures_zebra = {}
textures_zebra[0] = zebra0
textures_zebra[1] = zebra1
textures_zebra[2] = zebra2
textures_zebra[3] = zebra3
textures_zebra[4] = zebra4
textures_zebra[5] = zebra5
textures_zebra[6] = zebra6
textures_zebra[7] = zebra7
textures_zebra[8] = zebra8
textures_zebra[9] = zebra9
textures_zebra[10] = zebra10
textures_zebra[11] = zebra11
textures_zebra[12] = zebra12
textures_zebra[13] = zebra13
textures_zebra[14] = zebra14
textures_zebra[15] = zebra15
textures_tiger = {}
textures_tiger[0] = tiger0
textures_tiger[1] = tiger1
textures_tiger[2] = tiger2
textures_tiger[3] = tiger3
textures_tiger[4] = tiger4
textures_tiger[5] = tiger5
textures_tiger[6] = tiger6
textures_tiger[7] = tiger7
textures_tiger[8] = tiger8
textures_tiger[9] = tiger9
textures_tiger[10] = tiger10
textures_tiger[11] = tiger11
textures_tiger[12] = tiger12
textures_tiger[13] = tiger13
textures_tiger[14] = tiger14
textures_tiger[15] = tiger15