added Eri's painting!

This commit is contained in:
UndeadMaelys 2021-04-19 17:03:38 +02:00
parent f52803aaea
commit 38e8c5a4db
5 changed files with 136 additions and 28 deletions

View File

@ -155,7 +155,7 @@ end
function random_art(x,y,z,rotx,roty,rotz) function random_art(x,y,z,rotx,roty,rotz)
local art = math.random(0,9) local art = math.random(0,10)
if art == 0 then if art == 0 then
-- no art :S -- no art :S
elseif art == 1 then elseif art == 1 then
@ -176,5 +176,7 @@ function random_art(x,y,z,rotx,roty,rotz)
table.insert(obj_list,g3d.newModel("objects/art_12_6.obj","objects/art_12_6/eri_sigils.png",{x,y-(6/16),z},{rotx,roty,rotz},{1,1,1})) table.insert(obj_list,g3d.newModel("objects/art_12_6.obj","objects/art_12_6/eri_sigils.png",{x,y-(6/16),z},{rotx,roty,rotz},{1,1,1}))
elseif art == 9 then elseif art == 9 then
table.insert(obj_list,g3d.newModel("objects/art_16_24.obj","objects/art_16_24/eri_ariel_with_overalls.png",{x,y-(24/16),z},{rotx,roty,rotz},{1,1,1})) table.insert(obj_list,g3d.newModel("objects/art_16_24.obj","objects/art_16_24/eri_ariel_with_overalls.png",{x,y-(24/16),z},{rotx,roty,rotz},{1,1,1}))
elseif art == 10 then
table.insert(obj_list,g3d.newModel("objects/art_4_3.obj","objects/art_4_3/eri_window.png",{x,y-(16/16),z},{rotx,roty,rotz},{1,1,1}))
end end
end end

4
objects/art_4_3.mtl Normal file
View File

@ -0,0 +1,4 @@
# Made in Blockbench 3.7.4
newmtl m_0
map_Kd IMG_20210417_125854-01.png
newmtl none

101
objects/art_4_3.obj Normal file
View File

@ -0,0 +1,101 @@
# Made in Blockbench 3.7.4
mtllib art_4_3.mtl
o cube
v 0.0625 1.9375 1.25
v 0.0625 1.9375 -1.25
v 0.0625 0.0625 1.25
v 0.0625 0.0625 -1.25
v 0 1.9375 -1.25
v 0 1.9375 1.25
v 0 0.0625 -1.25
v 0 0.0625 1.25
vt 0 1
vt 0 0
vt 1 1
vt 0 0
vt 1 0
vt 1 1
vt 0.16176470588235295 0
vt 0.16176470588235295 0.039166666666666794
vt 0.8230392156862745 0
vt 0.16176470588235295 0.039166666666666794
vt 0.8230392156862745 0.039166666666666794
vt 0.8230392156862745 0
vt 0.1877450980392157 1
vt 0.1877450980392157 1
vt 0.75 1
vt 0.1877450980392157 1
vt 0.75 1
vt 0.75 1
vt 0.1875 0
vt 0.1875 0.015625
vt 0.75 0
vt 0.1875 0.015625
vt 0.75 0.015625
vt 0.75 0
vt 0 1
vt 0 0
vt 0 1
vt 0 0
vt 0 0
vt 0 1
vt 0.996078431372549 0.8300000000000001
vt 0.996078431372549 0.08000000000000007
vt 0.9965686274509805 0.8300000000000001
vt 0.996078431372549 0.08000000000000007
vt 0.9965686274509805 0.08000000000000007
vt 0.9965686274509805 0.8300000000000001
vn 1 0 0
vn 1 0 0
vn 1 0 0
vn 1 0 0
vn 1 0 0
vn 1 0 0
vn -1 0 0
vn -1 0 0
vn -1 0 0
vn -1 0 0
vn -1 0 0
vn -1 0 0
vn 0 1 0
vn 0 1 0
vn 0 1 0
vn 0 1 0
vn 0 1 0
vn 0 1 0
vn 0 -1 0
vn 0 -1 0
vn 0 -1 0
vn 0 -1 0
vn 0 -1 0
vn 0 -1 0
vn 0 0 1
vn 0 0 1
vn 0 0 1
vn 0 0 1
vn 0 0 1
vn 0 0 1
vn 0 0 -1
vn 0 0 -1
vn 0 0 -1
vn 0 0 -1
vn 0 0 -1
vn 0 0 -1
usemtl m_0
f 1/1/1 3/2/2 2/3/3
f 3/4/4 4/5/5 2/6/6
usemtl m_0
f 5/7/7 7/8/8 6/9/9
f 7/10/10 8/11/11 6/12/12
usemtl m_0
f 5/13/13 6/14/14 2/15/15
f 6/16/16 1/17/17 2/18/18
usemtl m_0
f 8/19/19 7/20/20 3/21/21
f 7/22/22 4/23/23 3/24/24
usemtl m_0
f 6/25/25 8/26/26 1/27/27
f 8/28/28 3/29/29 1/30/30
usemtl m_0
f 2/31/31 4/32/32 5/33/33
f 4/34/34 7/35/35 5/36/36

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 MiB

File diff suppressed because one or more lines are too long