Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
7 [15, 16, 4, 14, 0, 9, 13]
16 [3, 12, 18, 17, 3, 13, 12, 9, 10, 14, 15, 2, 16, 1, 14, 2]
-6 [17, 7, 12, 19, 10, 15]
4 [8, 23, 5, 21]
3 [20, 22, 6]
-10 [5, 20, 21, 22, 23, 11, 8, 24, 5, 20]
-5 [20, 24, 6, 11, 22]
7 [15, 4, 19, 0, 7, 13, 17]
[15, 16, 4, 14, 0, 9, 13, 13,
3, 3, 12, 18, 17, 3, 13, 12, 9, 10, 14, 15, 2, 16, 1, 14, 2, 2,
17, 17, 7, 12, 19, 10, 15, 15,
8, 8, 23, 5, 21, 21,
20, 20, 22, 6, 6,
5, 5, 20, 21, 22, 23, 11, 8, 24, 5, 20, 20,
20, 20, 24, 6, 11, 22, 22,
15, 15, 4, 19, 0, 7, 13, 17]
all_strips = []
strip = []
self.bs.seek(mesh_info['index_list_offset'], NOESEEK_ABS)
for i in range(strip['index_count']):
index = self.bs.readShort()
if len(strip) == 1 and index == strip[len(strip) - 1]:
continue
elif len(strip) > 1 and index == strip[len(strip) - 1]:
all_strips.append(strip)
strip = []
else:
strip.append(index)
all_strips.append(strip)
mat = NoeMaterial(key, '')
if key == '0x1':
r = 157 / 255.0
g = 0 / 255.0
b = 255 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x4':
r = 0 / 255.0
g = 8 / 255.0
b = 255 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x10':
r = 21 / 255.0
g = 161 / 255.0
b = 171 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x20':
r = 88 / 255.0
g = 21 / 255.0
b = 171 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x101':
r = 207 / 255.0
g = 252 / 255.0
b = 223 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x104':
r = 207 / 255.0
g = 219 / 255.0
b = 252 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x110':
r = 25 / 255.0
g = 117 / 255.0
b = 39 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x111':
r = 174 / 255.0
g = 252 / 255.0
b = 186 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x120':
r = 255 / 255.0
g = 251 / 255.0
b = 0 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x140':
r = 242 / 255.0
g = 224 / 255.0
b = 85 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x142':
r = 255 / 255.0
g = 0 / 255.0
b = 123 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x800':
r = 255 / 255.0
g = 0 / 255.0
b = 0 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x801':
r = 199 / 255.0
g = 167 / 255.0
b = 78 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x920':
r = 247 / 255.0
g = 252 / 255.0
b = 174 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x2000':
r = 0 / 255.0
g = 255 / 255.0
b = 213 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 1.0]))
elif key == '0x40000000':
r = 250 / 255.0
g = 207 / 255.0
b = 249 / 255.0
mat.setDiffuseColor(NoeVec4([r, g, b, 0.1]))
else:
print("No Material Set for Key: ", key)
continue