1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

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", { minetest.override_item("default:bookshelf", {
drawtype = "mesh", drawtype = "mesh",
mesh = "3dbookshelf.obj", mesh = "3dbookshelf.obj",
tiles = { "3dbookshelf.png" }, tiles = {
"default_wood.png",
"default_wood.png^3dbookshelf_inside_back.png",
"3dbookshelf_books.png",
},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
}) })
if minetest.get_modpath("moreblocks") then if minetest.get_modpath("moreblocks") then
minetest.override_item("moreblocks:empty_bookshelf", { minetest.override_item("moreblocks:empty_bookshelf", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"3dbookshelf_top.png", "default_wood.png^[transformR180",
"3dbookshelf_bottom.png", "default_wood.png",
"3dbookshelf_sides.png", "default_wood.png^[transformR90",
"3dbookshelf_sides.png", "default_wood.png^[transformR270",
"3dbookshelf_fb_empty.png", "default_wood.png^3dbookshelf_inside_back.png",
"3dbookshelf_fb_empty.png" "default_wood.png^3dbookshelf_inside_back.png"
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", 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