Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improved stairs model, v2
  • Loading branch information
ElementW authored and paramat committed Jul 10, 2015
1 parent 407b32e commit 8a7af21
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 46 deletions.
2 changes: 1 addition & 1 deletion mods/stairs/init.lua
Expand Up @@ -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",
Expand Down
45 changes: 0 additions & 45 deletions mods/stairs/models/stairs.obj

This file was deleted.

43 changes: 43 additions & 0 deletions mods/stairs/models/stairs_stair.obj
@@ -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

0 comments on commit 8a7af21

Please sign in to comment.