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.
|
@ -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",
|
||||
|
|
Before Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 218 B |
After Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 175 B |