Improved stairs model, v2

This commit is contained in:
Wouters Dorian 2015-07-10 02:11:54 +02:00 committed by paramat
parent 407b32e04c
commit 8a7af21e3a
3 changed files with 44 additions and 46 deletions

View File

@ -8,7 +8,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
minetest.register_node(":stairs:stair_" .. subname, {
description = description,
drawtype = "mesh",
mesh = "stairs.obj",
mesh = "stairs_stair.obj",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",

View File

@ -1,45 +0,0 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
v -0.500000 0.000000 -0.500000
v -0.500000 -0.500000 -0.500000
v -0.500000 0.000000 0.000000
v 0.500000 0.000000 0.000000
v 0.500000 -0.500000 -0.500000
v 0.500000 0.000000 -0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 0.500000 0.000000
v 0.500000 0.500000 0.000000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 0.500000
vt 0.000000 0.500000
vt 0.000000 0.000000
vt 0.500000 0.500000
vt 1.000000 0.000000
vt 1.000000 0.500000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.500000 1.000000
vt 0.999900 0.000100
vt 0.999900 0.999900
vt 0.000100 0.999900
vt 0.000100 0.000100
vn -1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 -1.000000 -0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 -0.000000 1.000000
s off
f 1/1/1 2/2/1 3/3/1
f 4/3/2 5/4/2 6/5/2
f 2/4/3 1/5/3 6/1/3 5/2/3
f 7/4/4 2/6/4 5/7/4 8/2/4
f 6/2/5 1/4/5 3/5/5 4/1/5
f 3/5/3 9/6/3 10/7/3 4/1/3
f 11/6/5 12/7/5 10/1/5 9/5/5
f 4/3/2 10/8/2 12/7/2
f 8/9/6 12/10/6 11/11/6 7/12/6
f 3/3/1 11/6/1 9/8/1
f 2/2/1 7/4/1 11/6/1
f 5/4/2 12/7/2 8/2/2

View File

@ -0,0 +1,43 @@
v -.5 0 -.5
v -.5 -.5 -.5
v -.5 0 0
v .5 0 0
v .5 -.5 -.5
v .5 0 -.5
v -.5 -.5 .5
v .5 -.5 .5
v -.5 .5 0
v .5 .5 0
v -.5 .5 .5
v .5 .5 .5
vt 0 .5
vt 0 0
vt .5 .5
vt 1 0
vt 1 .5
vt 1 1
vt 0 1
vt .5 1
vt 1 0
vt 1 1
vt 0 1
vt 0 0
vn -1 0 0
vn 1 0 0
vn 0 0 -1
vn 0 -1 0
vn 0 1 0
vn 0 0 1
s off
f 1/1/1 2/2/1 3/3/1
f 4/3/2 5/4/2 6/5/2
f 2/4/3 1/5/3 6/1/3 5/2/3
f 7/4/4 2/6/4 5/7/4 8/2/4
f 6/2/5 1/4/5 3/5/5 4/1/5
f 3/5/3 9/6/3 10/7/3 4/1/3
f 11/6/5 12/7/5 10/1/5 9/5/5
f 4/3/2 10/8/2 12/7/2
f 8/9/6 12/10/6 11/11/6 7/12/6
f 3/3/1 11/6/1 9/8/1
f 2/2/1 7/4/1 11/6/1
f 5/4/2 12/7/2 8/2/2