better model for 3d bookshelf

more efficient use of texture space, fewer polys, less wasted vertices.

also made it and empty bookshelf use default wood where possible, and
composite the inside-back texture from overlay + default wood.
This commit is contained in:
Vanessa Ezekowitz 2015-04-17 06:02:36 -04:00
parent 52ef3e9099
commit 015243e307
9 changed files with 685 additions and 1079 deletions

View File

@ -1,21 +1,26 @@
minetest.override_item("default:bookshelf", {
drawtype = "mesh",
mesh = "3dbookshelf.obj",
tiles = { "3dbookshelf.png" },
tiles = {
"default_wood.png",
"default_wood.png^3dbookshelf_inside_back.png",
"3dbookshelf_books.png",
},
paramtype = "light",
paramtype2 = "facedir",
})
if minetest.get_modpath("moreblocks") then
minetest.override_item("moreblocks:empty_bookshelf", {
drawtype = "nodebox",
tiles = {
"3dbookshelf_top.png",
"3dbookshelf_bottom.png",
"3dbookshelf_sides.png",
"3dbookshelf_sides.png",
"3dbookshelf_fb_empty.png",
"3dbookshelf_fb_empty.png"
"default_wood.png^[transformR180",
"default_wood.png",
"default_wood.png^[transformR90",
"default_wood.png^[transformR270",
"default_wood.png^3dbookshelf_inside_back.png",
"default_wood.png^3dbookshelf_inside_back.png"
},
paramtype = "light",
paramtype2 = "facedir",

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B