diff --git a/homedecor/books.lua b/homedecor/books.lua index 6b52d27..0a6cfc6 100644 --- a/homedecor/books.lua +++ b/homedecor/books.lua @@ -1,19 +1,20 @@ local S = homedecor.gettext local bookcolors = { - "red", - "green", - "blue", - "violet", - "grey", - "brown" + { "red", "#c00000:150" }, + { "green", "#008000:150" }, + { "blue", "#4040c0:150" }, + { "violet", "#600070:150" }, + { "grey", "#202020:150" }, + { "brown", "#603010:175" } } local BOOK_FORMNAME = "homedecor:book_form" for c in ipairs(bookcolors) do - local color = bookcolors[c] - local color_d = S(bookcolors[c]) + local color = bookcolors[c][1] + local color_d = S(bookcolors[c][1]) + local hue = bookcolors[c][2] local function book_dig(pos, node, digger) if minetest.is_protected(pos, digger:get_player_name()) then return end @@ -29,101 +30,110 @@ for c in ipairs(bookcolors) do minetest.remove_node(pos) end -homedecor.register("book_"..color, { - description = S("Writable Book (%s)"):format(color_d), - mesh = "homedecor_book.obj", - tiles = { "homedecor_book_"..color..".png" }, - inventory_image = "homedecor_book_"..color.."_inv.png", - wield_image = "homedecor_book_"..color.."_inv.png", - groups = { snappy=3, oddly_breakable_by_hand=3, book=1 }, - walkable = false, - stack_max = 1, - on_rightclick = function(pos, node, clicker) - local fdir = node.param2 - minetest.swap_node(pos, { name = "homedecor:book_open_"..color, param2 = fdir }) - end, - on_place = function(itemstack, placer, pointed_thing) - local plname = placer:get_player_name() - local pos = pointed_thing.under - local node = minetest.get_node(pos) - local n = minetest.registered_nodes[node.name] - if not n.buildable_to then - pos = pointed_thing.above - node = minetest.get_node(pos) - n = minetest.registered_nodes[node.name] - if not n.buildable_to then return end - end - if minetest.is_protected(pos, plname) then return end - local fdir = minetest.dir_to_facedir(placer:get_look_dir()) - minetest.set_node(pos, { - name = "homedecor:book_"..color, - param2 = fdir, - }) - local text = itemstack:get_metadata() or "" - local meta = minetest.get_meta(pos) - meta:set_string("text", text) - local data = minetest.deserialize(text) or {} - if data.title and data.title ~= "" then - meta:set_string("infotext", data.title) - end - if not minetest.setting_getbool("creative_mode") then - itemstack:take_item() - end - return itemstack - end, - on_dig = book_dig, - on_use = function(itemstack, user, pointed_thing) - local player_name = user:get_player_name() - local data = minetest.deserialize(itemstack:get_metadata()) - local title, text, owner = "", "", player_name - if data then - title, text, owner = data.title, data.text, data.owner - end - local formspec - if owner == player_name then - formspec = "size[8,8]"..default.gui_bg..default.gui_bg_img.. - "field[0.5,1;7.5,0;title;Book title :;".. - minetest.formspec_escape(title).."]".. - "textarea[0.5,1.5;7.5,7;text;Book content :;".. - minetest.formspec_escape(text).."]".. - "button_exit[2.5,7.5;3,1;save;Save]" - else - formspec = "size[8,8]"..default.gui_bg.. - "button_exit[7,0.25;1,0.5;close;X]".. - default.gui_bg_img.. - "label[0.5,0.5;by "..owner.."]".. - "label[0.5,0;"..minetest.formspec_escape(title).."]".. - "textarea[0.5,1.5;7.5,7;;"..minetest.formspec_escape(text)..";]" - end - minetest.show_formspec(user:get_player_name(), BOOK_FORMNAME, formspec) - end, - selection_box = { - type = "fixed", - fixed = {-0.2, -0.5, -0.25, 0.2, -0.35, 0.25} - } -}) + local inv_img = "homedecor_book_inv.png^[colorize:"..hue.."^homedecor_book_trim_inv.png" -homedecor.register("book_open_"..color, { - mesh = "homedecor_book_open.obj", - tiles = { "homedecor_book_open_"..color..".png" }, - groups = { snappy=3, oddly_breakable_by_hand=3, not_in_creative_inventory=1 }, - drop = "homedecor:book_"..color, - walkable = false, - on_dig = book_dig, - on_rightclick = function(pos, node, clicker) - local fdir = node.param2 - minetest.swap_node(pos, { name = "homedecor:book_"..color, param2 = fdir }) - minetest.sound_play("homedecor_book_close", { - pos=pos, - max_hear_distance = 3, - gain = 2, + homedecor.register("book_"..color, { + description = S("Writable Book (%s)"):format(color_d), + mesh = "homedecor_book.obj", + tiles = { + "(homedecor_book_cover.png^[colorize:"..hue..")^homedecor_book_cover_trim.png", + "homedecor_book_edges.png" + }, + inventory_image = inv_img, + wield_image = inv_img, + groups = { snappy=3, oddly_breakable_by_hand=3, book=1 }, + walkable = false, + stack_max = 1, + on_rightclick = function(pos, node, clicker) + local fdir = node.param2 + minetest.swap_node(pos, { name = "homedecor:book_open_"..color, param2 = fdir }) + end, + on_place = function(itemstack, placer, pointed_thing) + local plname = placer:get_player_name() + local pos = pointed_thing.under + local node = minetest.get_node(pos) + local n = minetest.registered_nodes[node.name] + if not n.buildable_to then + pos = pointed_thing.above + node = minetest.get_node(pos) + n = minetest.registered_nodes[node.name] + if not n.buildable_to then return end + end + if minetest.is_protected(pos, plname) then return end + local fdir = minetest.dir_to_facedir(placer:get_look_dir()) + minetest.set_node(pos, { + name = "homedecor:book_"..color, + param2 = fdir, }) - end, - selection_box = { - type = "fixed", - fixed = {-0.35, -0.5, -0.25, 0.35, -0.4, 0.25} - } -}) + local text = itemstack:get_metadata() or "" + local meta = minetest.get_meta(pos) + meta:set_string("text", text) + local data = minetest.deserialize(text) or {} + if data.title and data.title ~= "" then + meta:set_string("infotext", data.title) + end + if not minetest.setting_getbool("creative_mode") then + itemstack:take_item() + end + return itemstack + end, + on_dig = book_dig, + on_use = function(itemstack, user, pointed_thing) + local player_name = user:get_player_name() + local data = minetest.deserialize(itemstack:get_metadata()) + local title, text, owner = "", "", player_name + if data then + title, text, owner = data.title, data.text, data.owner + end + local formspec + if owner == player_name then + formspec = "size[8,8]"..default.gui_bg..default.gui_bg_img.. + "field[0.5,1;7.5,0;title;Book title :;".. + minetest.formspec_escape(title).."]".. + "textarea[0.5,1.5;7.5,7;text;Book content :;".. + minetest.formspec_escape(text).."]".. + "button_exit[2.5,7.5;3,1;save;Save]" + else + formspec = "size[8,8]"..default.gui_bg.. + "button_exit[7,0.25;1,0.5;close;X]".. + default.gui_bg_img.. + "label[0.5,0.5;by "..owner.."]".. + "label[0.5,0;"..minetest.formspec_escape(title).."]".. + "textarea[0.5,1.5;7.5,7;;"..minetest.formspec_escape(text)..";]" + end + minetest.show_formspec(user:get_player_name(), BOOK_FORMNAME, formspec) + end, + selection_box = { + type = "fixed", + fixed = {-0.2, -0.5, -0.25, 0.2, -0.35, 0.25} + } + }) + + homedecor.register("book_open_"..color, { + mesh = "homedecor_book_open.obj", + tiles = { + "(homedecor_book_cover.png^[colorize:"..hue..")^homedecor_book_cover_trim.png", + "homedecor_book_edges.png", + "homedecor_book_pages.png" + }, + groups = { snappy=3, oddly_breakable_by_hand=3, not_in_creative_inventory=1 }, + drop = "homedecor:book_"..color, + walkable = false, + on_dig = book_dig, + on_rightclick = function(pos, node, clicker) + local fdir = node.param2 + minetest.swap_node(pos, { name = "homedecor:book_"..color, param2 = fdir }) + minetest.sound_play("homedecor_book_close", { + pos=pos, + max_hear_distance = 3, + gain = 2, + }) + end, + selection_box = { + type = "fixed", + fixed = {-0.35, -0.5, -0.25, 0.35, -0.4, 0.25} + } + }) end diff --git a/homedecor/models/homedecor_book.obj b/homedecor/models/homedecor_book.obj index 9ae1ca4..9b03986 100644 --- a/homedecor/models/homedecor_book.obj +++ b/homedecor/models/homedecor_book.obj @@ -1,186 +1,240 @@ -# Blender v2.72 (sub 0) OBJ File: '' +# Blender v2.73 (sub 0) OBJ File: 'book.blend' # www.blender.org -mtllib homedecor_book.mtl o Cube.002_Cube.001 -v 0.115781 -0.397147 -0.212050 -v 0.115781 -0.397147 0.208120 -v 0.145193 -0.397147 0.208120 -v 0.145193 -0.397147 -0.212050 -v 0.161995 -0.449141 -0.212050 -v 0.152482 -0.487098 -0.212050 -v 0.149566 -0.487098 -0.220555 -v 0.161995 -0.449141 -0.220555 -v 0.152482 -0.411183 -0.212050 -v 0.152482 -0.411183 0.208120 -v -0.148926 -0.411183 -0.212051 -v -0.155653 -0.449141 -0.212051 -v -0.155653 -0.449141 0.208120 -v -0.148926 -0.411183 0.208120 -v 0.161995 -0.449141 0.208120 -v 0.152482 -0.487098 0.208120 -v 0.115781 -0.499998 0.208120 -v 0.145193 -0.499998 0.208120 -v 0.141549 -0.499998 0.216624 -v 0.115781 -0.499998 0.216624 -v 0.115781 -0.411183 -0.212050 -v -0.159347 -0.411183 -0.220555 -v 0.113157 -0.411183 -0.220555 -v 0.115781 -0.487098 0.208120 -v 0.142021 -0.449141 0.208120 -v -0.148926 -0.487098 0.208120 -v 0.115781 -0.499998 -0.212050 -v 0.145193 -0.499998 -0.212050 -v 0.115781 -0.411183 0.208120 -v 0.142021 -0.449141 0.216625 -v 0.113157 -0.411183 0.216625 -v 0.149566 -0.411183 0.216625 -v 0.161995 -0.449141 0.216625 -v 0.115781 -0.397147 0.216625 -v 0.141549 -0.397147 0.216625 -v -0.148926 -0.499998 -0.212050 -v -0.148926 -0.499998 0.208120 -v -0.159347 -0.499998 0.216624 -v -0.159347 -0.499998 -0.220555 -v -0.148926 -0.487098 -0.212050 -v 0.115781 -0.487098 -0.212050 -v 0.113157 -0.487098 -0.220555 -v -0.159347 -0.487098 -0.220555 -v -0.148926 -0.397147 -0.212051 -v -0.148926 -0.397147 0.208120 -v 0.142021 -0.449141 -0.212050 -v 0.149566 -0.411183 -0.220555 -v 0.141549 -0.397147 -0.220555 -v -0.159346 -0.397147 -0.220555 -v -0.159347 -0.397147 0.216624 -v -0.159347 -0.487098 0.216624 -v 0.113157 -0.487098 0.216624 -v 0.149566 -0.487098 0.216624 -v 0.142021 -0.449141 -0.220555 -v 0.115781 -0.397147 -0.220555 -v -0.159347 -0.411183 0.216624 -v 0.115781 -0.499998 -0.220555 -v 0.141549 -0.499998 -0.220555 -vt 0.183561 0.065478 -vt 0.183562 0.933925 -vt 0.150275 0.933925 -vt 0.150275 0.065478 -vt 0.564551 0.044740 -vt 0.601180 0.044740 -vt 0.604843 -0.000355 -vt 0.564551 -0.000355 -vt 0.610338 0.044740 -vt 0.610338 0.946651 -vt 0.601180 0.946651 -vt 0.122698 0.645720 -vt 0.083984 0.645720 -vt 0.083984 0.397953 -vt 0.122698 0.397953 -vt 0.564551 0.946651 -vt 0.150275 0.977347 -vt 0.183562 0.977347 -vt 0.184398 0.044740 -vt 0.516959 0.044740 -vt 0.542903 -0.000356 -vt 0.187695 -0.000355 -vt 0.045271 0.174962 -vt 0.083984 0.152858 -vt 0.045271 0.397953 -vt 0.184399 0.946651 -vt 0.151432 0.946651 -vt 0.151432 0.991747 -vt 0.187695 0.991747 -vt 0.604843 0.991747 -vt 0.564551 0.991747 -vt 0.122698 0.174963 -vt 0.525512 0.065478 -vt 0.525512 0.933924 -vt 0.552189 0.977347 -vt 0.552189 0.022056 -vt 0.045271 0.645720 -vt 0.083984 0.890816 -vt 0.045271 0.868711 -vt 0.614916 -0.000355 -vt 0.516959 0.946651 -vt 0.542903 0.991746 -vt 0.122698 0.868711 -vt 0.614916 0.991747 -vt 0.650586 -0.000355 -vt 0.614322 -0.000355 -vt 0.647289 -0.000355 -vt 0.187695 0.972997 -vt 0.184399 0.972997 -vt 0.542903 0.972996 -vt 0.184399 0.979247 -vt 0.187695 0.979247 -vt 0.542903 0.979246 -vt 0.542903 0.009019 -vt 0.184398 0.009020 -vt 0.187695 0.009020 -vt 0.614322 0.991747 -vt 0.650586 0.991747 -vt 0.647289 0.991747 -vt 0.542903 0.015270 -vt 0.187695 0.015270 -vt 0.184399 0.015270 -vt 0.150275 0.022056 -vt 0.183561 0.022056 -vt 0.151432 0.044740 -vt 0.151432 -0.000355 -usemtl Material.004 +v 0.161995 -0.448008 0.216625 +v 0.149566 -0.485966 0.216625 +v 0.113157 -0.485966 0.216625 +v 0.142021 -0.448008 0.216625 +v 0.115781 -0.485966 0.208120 +v 0.142021 -0.448008 0.208120 +v 0.113157 -0.485966 -0.220555 +v -0.159347 -0.485966 -0.220555 +v 0.115781 -0.485966 -0.212050 +v 0.161995 -0.448008 0.208120 +v -0.148926 -0.485966 0.208120 +v -0.155653 -0.448008 0.208120 +v -0.155653 -0.448008 -0.212051 +v -0.148926 -0.485966 -0.212051 +v 0.152482 -0.485966 0.208120 +v 0.152482 -0.485966 -0.212050 +v 0.161995 -0.448008 -0.220555 +v 0.161995 -0.448008 -0.212050 +v 0.145193 -0.500002 -0.212050 +v 0.145193 -0.500002 0.208120 +v 0.115781 -0.500002 0.208120 +v 0.115781 -0.500002 -0.212050 +v 0.115781 -0.396013 -0.212050 +v 0.115781 -0.396013 0.208120 +v 0.145193 -0.396013 0.208120 +v 0.145193 -0.396013 -0.212050 +v 0.152482 -0.410049 -0.212050 +v 0.152482 -0.410049 0.208120 +v -0.148926 -0.410049 -0.212051 +v -0.148926 -0.410049 0.208120 +v 0.115781 -0.410049 -0.212050 +v -0.159347 -0.410049 -0.220555 +v 0.113157 -0.410049 -0.220555 +v 0.115781 -0.410049 0.208120 +v 0.113157 -0.410049 0.216625 +v 0.149566 -0.410049 0.216625 +v 0.115781 -0.396013 0.216625 +v 0.141549 -0.396013 0.216625 +v 0.149566 -0.410049 -0.220555 +v 0.141549 -0.396013 -0.220555 +v -0.159346 -0.396013 -0.220555 +v -0.159347 -0.396013 0.216624 +v 0.115781 -0.396013 -0.220555 +v -0.159347 -0.410049 0.216624 +v 0.115781 -0.500002 0.216625 +v 0.141549 -0.500002 0.216625 +v 0.142021 -0.448008 -0.212050 +v 0.149566 -0.485966 -0.220555 +v 0.141549 -0.500002 -0.220555 +v -0.159346 -0.500002 -0.220555 +v -0.159347 -0.500002 0.216624 +v 0.142021 -0.448008 -0.220555 +v 0.115781 -0.500002 -0.220555 +v -0.159347 -0.485966 0.216624 +vt 0.921987 0.383861 +vt 0.921987 0.340448 +vt 0.931829 0.340448 +vt 0.931829 0.383861 +vt 0.931829 0.427274 +vt 0.921987 0.427274 +vt 0.768089 0.490273 +vt 0.722954 0.490273 +vt 0.722954 0.009727 +vt 0.768089 0.009727 +vt 0.768089 0.500000 +vt 0.722404 0.500000 +vt 0.809636 0.490273 +vt 0.809086 0.500000 +vt 0.352434 0.000000 +vt 0.670829 0.000000 +vt 0.670829 0.009727 +vt 0.670829 0.490273 +vt 0.670829 0.500000 +vt 0.352433 0.499999 +vt 0.809636 0.009727 +vt 0.809086 0.000000 +vt 0.823601 0.000000 +vt 0.824288 0.009727 +vt 0.012060 0.509727 +vt 0.000000 0.500001 +vt 0.315359 0.500000 +vt 0.318396 0.509727 +vt 0.700649 0.000000 +vt 0.704866 0.009727 +vt 0.731001 0.867517 +vt 0.731001 0.844673 +vt 0.774928 0.811661 +vt 0.774928 0.853302 +vt 0.687072 0.853302 +vt 0.687072 0.811661 +vt 0.774928 0.500000 +vt 0.791171 0.500000 +vt 0.791171 0.814662 +vt 0.791171 0.844133 +vt 0.851343 0.522844 +vt 0.851343 0.500000 +vt 0.895271 0.514215 +vt 0.895271 0.555856 +vt 0.912144 0.383862 +vt 0.912144 0.340448 +vt 0.334639 0.500000 +vt 0.334639 0.999999 +vt 0.318396 0.999999 +vt 0.318396 0.500000 +vt 0.895271 0.867517 +vt 0.911514 0.523384 +vt 0.911514 0.552855 +vt 0.911514 0.867516 +vt 0.824288 0.490273 +vt 0.823601 0.500000 +vt 0.807415 0.555856 +vt 0.807415 0.514215 +vt 0.768089 0.000000 +vt 0.722404 0.000000 +vt 0.912144 0.427274 +vt 0.318396 0.990273 +vt 0.315359 1.000000 +vt 0.000000 1.000000 +vt 0.012060 0.990274 +vt 0.704866 0.490273 +vt 0.318396 0.490273 +vt 0.318396 0.009727 +vt 0.352433 0.009727 +vt 0.352433 0.490273 +vt 0.705553 0.490273 +vt 0.705553 0.009727 +vt 0.670829 0.509727 +vt 0.364493 0.509726 +vt 0.667792 0.500000 +vt 0.318396 0.000000 +vt 0.348216 0.000000 +vt 0.704866 0.500000 +vt 0.807415 0.867517 +vt 0.791172 0.867516 +vt 0.791171 0.552855 +vt 0.791171 0.523384 +vt 0.336190 0.500000 +vt 0.352433 0.999999 +vt 0.336190 0.999999 +vt 0.670829 0.844133 +vt 0.670829 0.814662 +vt 0.687072 0.500000 +vt 0.348216 0.500000 +vt 0.364493 0.990273 +vt 0.670829 0.990273 +vt 0.667792 1.000000 +vt 0.704866 0.000000 +vt 0.000000 0.000001 +vt 0.439305 1.000000 +vt 0.439305 0.319104 +vt 0.527160 0.379125 +vt 0.527160 0.984613 +vt 0.087857 1.000000 +vt 0.087857 0.319104 +vt 0.175712 0.334491 +vt 0.175712 0.939979 +vt 0.351448 0.984613 +vt 0.351448 0.379125 +vt 0.000000 0.939979 +vt 0.000000 0.334491 +vt 0.351448 0.000000 +vt 0.351448 0.961094 +vt 0.263593 0.961094 +vt 0.263593 0.000000 +vt 0.175736 0.000000 +vt 0.175736 0.961094 +vn -0.803100 -0.582900 0.123900 +vn -0.803000 0.582900 0.123900 +vn 0.970000 0.243100 0.000000 +vn 0.947900 0.274000 -0.162500 +vn 0.947900 -0.274000 -0.162500 +vn -0.000000 -1.000000 -0.000000 +vn 0.831600 -0.453400 0.320700 +vn 0.000000 1.000000 -0.000000 +vn 0.000000 0.000000 1.000000 +vn 0.000000 0.000000 -1.000000 +vn -0.803100 -0.582900 -0.123900 +vn -1.000000 -0.000000 -0.000000 +vn 0.831600 -0.453400 -0.320700 +vn 0.947900 -0.274000 0.162500 +vn 0.970000 -0.243100 -0.000000 +vn 0.947900 0.274000 0.162500 +vn -0.803000 0.582900 -0.123900 +vn 0.887500 -0.460900 -0.000000 +vn 0.887500 0.460900 -0.000000 +vn 0.831600 0.453400 -0.320700 +vn 0.831600 0.453400 0.320700 +vn -0.984700 -0.174500 -0.000000 +vn -0.984700 0.174500 0.000000 +g Cube.002_Cube.001_Cube.002_Cube.001_cover s off -f 1/1 2/2 3/3 4/4 -f 5/5 6/6 7/7 8/8 -f 9/6 4/9 3/10 10/11 -f 11/12 12/13 13/14 14/15 -f 6/6 5/5 15/16 16/11 -f 17/2 18/3 19/17 20/18 -f 21/19 11/20 22/21 23/22 -f 24/23 25/24 13/14 26/25 -f 27/1 28/4 18/3 17/2 -f 29/26 25/27 30/28 31/29 -f 5/5 9/6 10/11 15/16 -f 15/16 10/11 32/30 33/31 -f 3/3 2/2 34/18 35/17 -f 25/24 29/32 14/15 13/14 -f 36/33 37/34 38/35 39/36 -f 28/9 6/6 16/11 18/10 -f 12/13 40/37 26/25 13/14 -f 40/20 41/19 42/22 43/21 -f 2/2 1/1 44/33 45/34 -f 40/37 12/13 46/38 41/39 -f 4/9 9/6 47/7 48/40 -f 45/34 44/33 49/36 50/35 -f 36/33 27/1 17/2 37/34 -f 24/26 26/41 51/42 52/29 -f 12/13 11/12 21/43 46/38 -f 37/34 17/2 20/18 38/35 -f 18/10 16/11 53/30 19/44 -f 2/2 45/34 50/35 34/18 -f 42/45 54/46 8/8 7/7 -f 23/45 55/47 48/40 47/7 -f 43/21 39/21 38/42 51/42 -f 31/48 34/49 50/50 56/50 -f 49/21 22/21 56/42 50/42 -f 54/46 23/45 47/7 8/8 -f 57/47 42/45 7/7 58/40 -f 20/51 52/52 51/53 38/53 -f 22/54 49/54 55/55 23/56 -f 53/30 33/31 30/57 52/58 -f 32/30 35/44 34/59 31/58 -f 33/31 32/30 31/58 30/57 -f 39/60 43/60 42/61 57/62 -f 19/44 53/30 52/58 20/59 -f 25/27 24/26 52/29 30/28 -f 1/1 4/4 48/63 55/64 -f 6/6 28/9 58/40 7/7 -f 14/41 29/26 31/29 56/42 -f 41/19 46/65 54/66 42/22 -f 28/4 27/1 57/64 58/63 -f 10/11 3/10 35/44 32/30 -f 11/20 14/41 56/42 22/21 -f 26/41 40/20 43/21 51/42 -f 44/33 1/1 55/64 49/36 -f 9/6 5/5 8/8 47/7 -f 46/65 21/19 23/22 54/66 -f 27/1 36/33 39/36 57/64 -f 16/11 15/16 33/31 53/30 +f 47/1/1 31/2/1 33/3/1 52/4/1 +f 47/1/2 52/4/2 7/5/2 9/6/2 +f 18/7/3 27/8/3 28/9/3 10/10/3 +f 27/8/4 18/7/4 17/11/4 39/12/4 +f 16/13/5 48/14/5 17/11/5 18/7/5 +f 50/15/6 53/16/6 22/17/6 21/18/6 45/19/6 51/20/6 +f 15/21/7 2/22/7 46/23/7 20/24/7 +f 11/25/8 54/26/8 3/27/8 5/28/8 +f 22/17/6 53/16/6 49/29/6 19/30/6 +f 1/31/9 4/32/9 3/33/9 2/34/9 +f 1/31/9 36/35/9 35/36/9 4/32/9 +f 2/34/9 3/33/9 54/37/9 51/38/9 45/39/9 46/40/9 +f 52/41/10 17/42/10 48/43/10 7/44/10 +f 34/2/11 6/1/11 4/45/11 35/46/11 +f 50/47/12 51/48/12 54/49/12 8/50/12 +f 8/51/10 7/44/10 48/43/10 49/52/10 53/53/10 50/54/10 +f 19/55/13 49/56/13 48/14/13 16/13/13 +f 52/41/10 33/57/10 39/58/10 17/42/10 +f 10/10/14 1/59/14 2/22/14 15/21/14 +f 18/7/15 10/10/15 15/21/15 16/13/15 +f 10/10/16 28/9/16 36/60/16 1/59/16 +f 5/6/17 3/61/17 4/45/17 6/1/17 +f 9/62/8 7/63/8 8/64/8 14/65/8 +f 16/13/18 15/21/18 20/24/18 19/55/18 +f 22/17/6 19/30/6 20/66/6 21/18/6 +f 23/67/8 24/68/8 25/69/8 26/70/8 +f 27/8/19 26/71/19 25/72/19 28/9/19 +f 31/73/6 29/74/6 32/20/6 33/75/6 +f 25/69/8 24/68/8 37/76/8 38/77/8 +f 26/71/20 27/8/20 39/12/20 40/78/20 +f 32/79/10 41/80/10 43/81/10 40/82/10 39/58/10 33/57/10 +f 41/83/12 32/20/12 44/84/12 42/85/12 +f 36/35/9 38/86/9 37/87/9 42/19/9 44/88/9 35/36/9 +f 23/67/8 26/70/8 40/89/8 43/50/8 +f 30/90/6 34/91/6 35/92/6 44/84/6 +f 28/9/21 25/72/21 38/93/21 36/60/21 +f 29/74/6 30/90/6 44/84/6 32/20/6 +f 41/26/8 42/94/8 37/76/8 24/68/8 23/67/8 43/50/8 +f 54/26/8 11/25/8 14/65/8 8/64/8 +g Cube.002_Cube.001_Cube.002_Cube.001_edges +f 13/95/10 47/96/10 9/97/10 14/98/10 +f 6/99/9 12/100/9 11/101/9 5/102/9 +f 13/95/10 29/103/10 31/104/10 47/96/10 +f 6/99/9 34/105/9 30/106/9 12/100/9 +f 14/107/22 11/108/22 12/109/22 13/110/22 +f 29/111/23 13/110/23 12/109/23 30/112/23 diff --git a/homedecor/models/homedecor_book_open.obj b/homedecor/models/homedecor_book_open.obj index 928623b..8100a33 100644 --- a/homedecor/models/homedecor_book_open.obj +++ b/homedecor/models/homedecor_book_open.obj @@ -1,416 +1,373 @@ -# Blender v2.72 (sub 0) OBJ File: '' +# Blender v2.73 (sub 0) OBJ File: 'book-open.blend' # www.blender.org -mtllib homedecor_book_open.mtl -o Cube.001 -v -0.307854 -0.485640 0.196803 -v -0.330489 -0.485640 0.196803 -v -0.330489 -0.485640 0.214467 -v -0.307854 -0.485640 0.214467 -v -0.307854 -0.499995 0.196803 -v -0.307854 -0.499995 0.214467 -v -0.330489 -0.499995 0.214467 -v -0.330489 -0.499995 0.196803 -v 0.330442 -0.485640 0.196804 -v 0.330442 -0.485640 0.214467 -v 0.330442 -0.499995 0.214467 -v 0.330442 -0.499995 0.196804 -v -0.330488 -0.485640 -0.205856 -v -0.330488 -0.485640 -0.223350 -v -0.330489 -0.499995 -0.223350 -v -0.330489 -0.499995 -0.205856 -v -0.307854 -0.499995 -0.223350 -v -0.307854 -0.485640 -0.223350 -v -0.204867 -0.485640 0.214467 -v -0.204867 -0.485640 0.196803 -v -0.204867 -0.499995 0.196803 -v -0.204867 -0.499995 0.214467 -v -0.204866 -0.499995 -0.223350 -v -0.204866 -0.485640 -0.223350 -v 0.310071 -0.485640 0.196804 -v 0.310071 -0.485640 0.214467 -v 0.310071 -0.499995 0.214467 -v 0.310071 -0.499995 0.196804 -v 0.330442 -0.499995 -0.223350 -v 0.310071 -0.499995 -0.223350 -v 0.310071 -0.485640 -0.223350 -v 0.330442 -0.485640 -0.223350 -v -0.307854 -0.485640 -0.205856 -v -0.307854 -0.499995 -0.205856 -v 0.330442 -0.485640 -0.205856 -v 0.330442 -0.499995 -0.205856 -v -0.204866 -0.485640 -0.205856 -v -0.204866 -0.499995 -0.205856 -v 0.310071 -0.485640 -0.205856 -v 0.310071 -0.499995 -0.205856 -v -0.204867 -0.455084 0.196803 -v -0.307854 -0.464591 0.196803 -v -0.204866 -0.455084 -0.205856 -v -0.307854 -0.464591 -0.205856 -v 0.310071 -0.464591 -0.205856 -v 0.310071 -0.464591 0.196804 -v 0.207083 -0.485640 -0.205856 -v 0.207083 -0.455084 -0.205856 -v 0.052602 -0.485640 0.196803 -v 0.001108 -0.485640 0.196803 -v 0.001108 -0.485640 0.214467 -v 0.052602 -0.485640 0.214467 -v 0.052602 -0.499995 0.196804 -v 0.052602 -0.499995 0.214467 -v 0.001108 -0.499995 0.214467 -v 0.001108 -0.499995 0.196804 -v 0.052602 -0.499995 -0.223350 -v 0.001108 -0.499995 -0.223350 -v 0.001108 -0.485640 -0.223350 -v 0.052602 -0.485640 -0.223350 -v 0.001108 -0.485640 -0.205856 -v 0.052602 -0.485640 -0.205856 -v 0.052602 -0.499995 -0.205856 -v 0.001108 -0.499995 -0.205856 -v 0.052602 -0.458824 0.196803 -v 0.001108 -0.473843 0.196803 -v 0.052602 -0.458824 -0.205856 -v 0.001108 -0.473843 -0.205856 -v -0.050385 -0.485640 -0.205856 -v -0.050385 -0.458824 -0.205856 -v 0.104096 -0.451710 -0.205856 -v 0.104096 -0.485640 -0.205856 -v 0.207083 -0.485640 0.196804 -v 0.207083 -0.485640 0.214467 -v 0.104096 -0.485640 0.196803 -v 0.104096 -0.485640 0.214467 -v 0.207083 -0.499995 0.214467 -v 0.207083 -0.499995 0.196804 -v 0.104096 -0.499995 0.214467 -v 0.104096 -0.499995 0.196804 -v 0.207083 -0.499995 -0.223350 -v 0.207083 -0.485640 -0.223350 -v 0.104096 -0.499995 -0.223350 -v 0.104096 -0.485640 -0.223350 -v 0.207083 -0.499995 -0.205856 -v 0.104096 -0.499995 -0.205856 -v 0.207083 -0.455084 0.196804 -v 0.104096 -0.451710 0.196803 -v -0.050385 -0.485640 0.196803 -v -0.101879 -0.485640 0.196803 -v -0.101879 -0.485640 0.214467 -v -0.050385 -0.485640 0.214467 -v -0.050385 -0.499995 0.196804 -v -0.050385 -0.499995 0.214467 -v -0.101879 -0.499995 0.214467 -v -0.101879 -0.499995 0.196804 -v -0.050385 -0.499995 -0.223350 -v -0.101879 -0.499995 -0.223350 -v -0.101879 -0.485640 -0.223350 -v -0.050385 -0.485640 -0.223350 -v -0.101879 -0.485640 -0.205856 -v -0.050385 -0.499995 -0.205856 -v -0.101879 -0.499995 -0.205856 -v -0.050385 -0.458824 0.196803 -v -0.101879 -0.451710 0.196803 -v -0.101879 -0.451710 -0.205856 -vt 0.145116 0.822671 -vt 0.146799 0.822860 -vt 0.146977 0.821590 -vt 0.145383 0.821311 -vt 0.295366 0.524765 -vt 0.295437 0.506389 -vt 0.271889 0.506298 -vt 0.271818 0.524675 -vt 0.180003 0.804148 -vt 0.180102 0.801196 -vt 0.177702 0.801116 -vt 0.177602 0.804066 -vt 0.071439 0.795052 -vt 0.067670 0.794921 -vt 0.067587 0.797311 -vt 0.071356 0.797442 -vt 0.055739 0.865933 -vt 0.056022 0.868592 -vt 0.058185 0.868444 -vt 0.058038 0.865839 -vt 0.068824 0.870361 -vt 0.065054 0.870230 -vt 0.064971 0.872621 -vt 0.068741 0.872752 -vt 0.137033 0.819871 -vt 0.137310 0.818567 -vt 0.402512 0.525175 -vt 0.402582 0.506798 -vt 0.088592 0.795647 -vt 0.088509 0.798038 -vt 0.085976 0.870957 -vt 0.085893 0.873348 -vt 0.094115 0.822949 -vt 0.095431 0.822859 -vt 0.095085 0.821653 -vt 0.093920 0.821913 -vt 0.959689 0.527232 -vt 0.959744 0.508799 -vt 0.938495 0.508737 -vt 0.938429 0.527156 -vt 0.177783 0.798720 -vt 0.174382 0.798605 -vt 0.174301 0.801000 -vt 0.175057 0.874484 -vt 0.171697 0.874264 -vt 0.171562 0.876641 -vt 0.174910 0.876845 -vt 0.144830 0.852308 -vt 0.146169 0.852109 -vt 0.146052 0.851005 -vt 0.144530 0.851059 -vt 0.293698 0.961888 -vt 0.293768 0.943688 -vt 0.270219 0.943598 -vt 0.270149 0.961798 -vt 0.177408 0.874746 -vt 0.177777 0.871723 -vt 0.175307 0.871549 -vt 0.057537 0.798198 -vt 0.059990 0.798418 -vt 0.137086 0.855280 -vt 0.136756 0.853899 -vt 0.400844 0.962299 -vt 0.400914 0.944099 -vt 0.093037 0.852282 -vt 0.094455 0.852518 -vt 0.094704 0.851179 -vt 0.093190 0.851026 -vt 0.957389 0.967127 -vt 0.958381 0.948762 -vt 0.936908 0.948201 -vt 0.936381 0.966404 -vt 0.153557 0.601007 -vt 0.155559 0.599320 -vt 0.142752 0.594883 -vt 0.141758 0.599052 -vt 0.057965 0.795140 -vt 0.060355 0.795458 -vt 0.836622 0.436815 -vt 0.920392 0.436329 -vt 0.921012 0.042547 -vt 0.836346 0.042756 -vt 0.075680 0.644491 -vt 0.077685 0.642795 -vt 0.079487 0.601303 -vt 0.076832 0.599618 -vt 0.151944 0.642579 -vt 0.154631 0.644302 -vt 0.088498 0.648873 -vt 0.089483 0.644708 -vt 0.115599 0.819011 -vt 0.119874 0.819261 -vt 0.119876 0.817756 -vt 0.115646 0.817553 -vt 0.670385 0.526189 -vt 0.670453 0.507810 -vt 0.616876 0.507611 -vt 0.616807 0.525989 -vt 0.131473 0.797134 -vt 0.122897 0.796838 -vt 0.122814 0.799229 -vt 0.131391 0.799526 -vt 0.128853 0.872457 -vt 0.120279 0.872153 -vt 0.120195 0.874543 -vt 0.128767 0.874847 -vt 0.115560 0.856252 -vt 0.119937 0.856037 -vt 0.119941 0.854547 -vt 0.115513 0.854768 -vt 0.668683 0.963391 -vt 0.668777 0.945194 -vt 0.615202 0.944947 -vt 0.615123 0.963145 -vt 0.108789 0.593520 -vt 0.108686 0.596836 -vt 0.115550 0.595554 -vt 0.115563 0.593916 -vt 0.569449 0.436484 -vt 0.624107 0.437340 -vt 0.624671 0.042717 -vt 0.569233 0.040910 -vt 0.122441 0.650231 -vt 0.122550 0.646915 -vt 0.115683 0.648190 -vt 0.115668 0.649828 -vt 0.108652 0.650179 -vt 0.108510 0.646770 -vt 0.102059 0.645955 -vt 0.101862 0.650304 -vt 0.103086 0.819964 -vt 0.102740 0.818578 -vt 0.111410 0.818944 -vt 0.111336 0.817484 -vt 0.831226 0.508382 -vt 0.831161 0.526774 -vt 0.724035 0.508005 -vt 0.723969 0.526388 -vt 0.157210 0.798020 -vt 0.157128 0.800413 -vt 0.140051 0.797431 -vt 0.139968 0.799822 -vt 0.154570 0.873447 -vt 0.154466 0.875833 -vt 0.137426 0.872771 -vt 0.137335 0.875160 -vt 0.102523 0.855234 -vt 0.102794 0.853944 -vt 0.111154 0.856307 -vt 0.111228 0.854847 -vt 0.829574 0.946408 -vt 0.829348 0.964606 -vt 0.722365 0.945495 -vt 0.722239 0.963696 -vt 0.089950 0.598958 -vt 0.088962 0.595030 -vt 0.102364 0.597686 -vt 0.102151 0.593414 -vt 0.334804 0.436016 -vt 0.417682 0.436509 -vt 0.417909 0.041333 -vt 0.335172 0.041774 -vt 0.517618 0.435877 -vt 0.518178 0.041780 -vt 0.124303 0.819037 -vt 0.128591 0.818959 -vt 0.128666 0.817484 -vt 0.124255 0.817538 -vt 0.563232 0.525786 -vt 0.563302 0.507410 -vt 0.509728 0.507206 -vt 0.509659 0.525583 -vt 0.114320 0.796541 -vt 0.105744 0.796243 -vt 0.105661 0.798634 -vt 0.114237 0.798931 -vt 0.111704 0.871852 -vt 0.103128 0.871553 -vt 0.103045 0.873944 -vt 0.111620 0.874243 -vt 0.124165 0.856246 -vt 0.128474 0.856327 -vt 0.128406 0.854879 -vt 0.124215 0.854802 -vt 0.561557 0.962924 -vt 0.561630 0.944725 -vt 0.508058 0.944513 -vt 0.507987 0.962713 -vt 0.122581 0.593562 -vt 0.122724 0.596972 -vt 0.129176 0.597789 -vt 0.129376 0.593438 -vt 0.681211 0.436806 -vt 0.732349 0.436019 -vt 0.732956 0.043295 -vt 0.682616 0.042679 -vt 0.141353 0.644846 -vt 0.142313 0.648801 -vt 0.128882 0.646074 -vt 0.129082 0.650354 -usemtl None +o Cube.002_Cube.001 +v -0.012428 -0.485966 0.216625 +v 0.000001 -0.486750 -0.220555 +v -0.321341 -0.485966 -0.220555 +v 0.000001 -0.462863 0.208120 +v -0.310920 -0.485966 0.208120 +v -0.317647 -0.448008 0.208120 +v -0.317647 -0.448008 -0.212051 +v -0.310920 -0.485966 -0.212051 +v 0.000001 -0.462862 -0.212050 +v -0.016802 -0.500002 -0.212050 +v -0.016802 -0.500002 0.208120 +v -0.046214 -0.500002 0.208120 +v -0.046214 -0.500002 -0.212050 +v -0.046214 -0.500002 0.216625 +v -0.020445 -0.500002 0.216625 +v -0.012428 -0.485966 -0.220555 +v -0.020445 -0.500002 -0.220555 +v -0.321340 -0.500002 -0.220555 +v -0.321341 -0.500002 0.216624 +v -0.046214 -0.500002 -0.220555 +v -0.321341 -0.485966 0.216624 +v -0.238235 -0.428477 0.208120 +v 0.000001 -0.486750 0.216625 +v -0.238235 -0.428477 -0.212051 +v 0.317649 -0.448008 0.208120 +v 0.317649 -0.448008 -0.212051 +v 0.238237 -0.428477 0.208120 +v 0.238237 -0.428477 -0.212051 +v 0.046215 -0.500003 -0.212050 +v 0.046215 -0.500003 0.208120 +v 0.016803 -0.500003 0.208120 +v 0.016803 -0.500003 -0.212050 +v 0.000001 -0.481442 0.216625 +v 0.000001 -0.481442 -0.220555 +v 0.310922 -0.485967 -0.212051 +v 0.310922 -0.485967 0.208120 +v 0.321343 -0.485967 -0.220555 +v 0.012430 -0.485967 0.216625 +v 0.046215 -0.500003 0.216625 +v 0.020447 -0.500003 0.216625 +v 0.012430 -0.485967 -0.220555 +v 0.020447 -0.500003 -0.220555 +v 0.321342 -0.500003 -0.220555 +v 0.321343 -0.500003 0.216624 +v 0.046215 -0.500003 -0.220555 +v 0.321343 -0.485967 0.216624 +v 0.000001 -0.486750 0.208120 +v 0.000001 -0.486750 -0.212050 +v 0.086920 -0.420664 -0.212051 +v 0.086920 -0.420664 0.208120 +v -0.086847 -0.420664 -0.212051 +v -0.086847 -0.420664 0.208120 +v -0.043405 -0.432079 -0.212050 +v -0.043405 -0.432079 0.208120 +v 0.043478 -0.432079 -0.212050 +v 0.043478 -0.432079 0.208120 +v 0.010224 -0.490836 0.216625 +v -0.006214 -0.482857 0.216625 +v -0.006214 -0.482857 -0.220555 +v -0.008400 -0.490836 0.208120 +v -0.008400 -0.490836 -0.212050 +v -0.010222 -0.490836 -0.220555 +v -0.010222 -0.490836 0.216625 +v 0.010224 -0.490836 -0.220555 +v 0.008402 -0.490836 -0.212050 +v 0.008402 -0.490836 0.208120 +v 0.006215 -0.482858 -0.220555 +v 0.006215 -0.482858 0.216625 +v -0.012428 -0.485966 -0.212050 +v 0.000001 -0.481442 -0.212050 +v 0.012430 -0.485967 -0.212050 +v -0.006214 -0.482857 -0.212050 +v 0.006215 -0.482858 -0.212050 +v -0.012428 -0.485966 0.208120 +v 0.000001 -0.481442 0.208120 +v 0.012430 -0.485967 0.208120 +v -0.006214 -0.482857 0.208120 +v 0.006215 -0.482858 0.208120 +vt 0.965735 0.839196 +vt 0.711783 0.839196 +vt 0.711783 0.832541 +vt 0.711783 0.503765 +vt 0.711783 0.497110 +vt 0.965736 0.497110 +vt 0.395683 0.494736 +vt 0.395683 0.261171 +vt 0.403533 0.261171 +vt 0.403532 0.502890 +vt 0.687998 0.839196 +vt 0.684635 0.832541 +vt 0.987044 0.738829 +vt 0.987044 0.497110 +vt 1.000000 0.497110 +vt 0.999999 0.712393 +vt 0.999999 0.732556 +vt 0.992051 0.000000 +vt 0.992051 0.342086 +vt 0.979145 0.342086 +vt 0.979145 0.000000 +vt 0.969912 1.000000 +vt 0.969911 0.758280 +vt 0.982867 0.764553 +vt 0.982867 0.784716 +vt 0.982868 0.999999 +vt 0.403533 0.241720 +vt 0.395683 0.241720 +vt 0.395683 0.008154 +vt 0.403532 0.000000 +vt 0.684634 0.503765 +vt 0.007850 0.008154 +vt 0.000000 0.000000 +vt 0.657486 0.832541 +vt 0.657486 0.503765 +vt 0.657486 0.497110 +vt 0.681271 0.497110 +vt 0.969911 0.497110 +vt 0.982867 0.497110 +vt 0.982868 0.712393 +vt 0.982868 0.732556 +vt 0.969912 0.738829 +vt 0.966239 0.000000 +vt 0.966239 0.342086 +vt 0.987044 0.758280 +vt 1.000000 0.764553 +vt 1.000000 0.784716 +vt 0.999999 1.000000 +vt 0.987043 1.000000 +vt 0.681271 0.839196 +vt 0.657486 0.839196 +vt 0.000000 0.261171 +vt 0.007850 0.261171 +vt 0.007850 0.494736 +vt 0.000000 0.502891 +vt 0.403534 0.839196 +vt 0.403533 0.497110 +vt 0.687998 0.497110 +vt 0.974407 0.740555 +vt 0.970635 0.748555 +vt 0.967042 0.743692 +vt 0.965736 0.748555 +vt 0.967042 0.753417 +vt 0.974406 0.756554 +vt 0.991539 0.740555 +vt 0.987768 0.748555 +vt 0.984174 0.743692 +vt 0.982868 0.748555 +vt 0.984174 0.753417 +vt 0.991539 0.756554 +vt 0.044849 0.844977 +vt 0.035593 0.844977 +vt 0.035446 0.838322 +vt 0.044554 0.838322 +vt 0.956803 0.342087 +vt 0.956803 0.335432 +vt 0.964557 0.335432 +vt 0.947366 0.342087 +vt 0.949048 0.335432 +vt 0.045143 0.838322 +vt 0.054251 0.838322 +vt 0.054104 0.844977 +vt 0.044554 0.509546 +vt 0.035446 0.509546 +vt 0.035593 0.502890 +vt 0.044849 0.502891 +vt 0.964557 0.006655 +vt 0.956803 0.006655 +vt 0.956803 0.000000 +vt 0.949048 0.006655 +vt 0.947366 0.000000 +vt 0.054104 0.502891 +vt 0.054251 0.509546 +vt 0.045143 0.509546 +vt 0.000000 0.256308 +vt 0.000000 0.251445 +vt 0.007850 0.251445 +vt 0.007850 0.256308 +vt 0.000000 0.246582 +vt 0.000000 0.241720 +vt 0.007850 0.241720 +vt 0.007850 0.246582 +vt 0.403533 0.251445 +vt 0.403533 0.256308 +vt 0.395683 0.256308 +vt 0.395683 0.251445 +vt 0.403533 0.246582 +vt 0.395683 0.246582 +vt 0.344446 0.342377 +vt 0.344446 0.999932 +vt 0.266170 0.999932 +vt 0.266170 0.342377 +vt 0.718533 0.999932 +vt 0.640256 0.999932 +vt 0.640255 0.342377 +vt 0.718533 0.342377 +vt 0.547103 0.502890 +vt 0.500010 0.483439 +vt 0.609851 0.434962 +vt 0.366897 0.633067 +vt 0.390166 0.565082 +vt 0.500008 0.516492 +vt 0.617194 0.130058 +vt 0.500010 0.016309 +vt 0.500008 0.522341 +vt 0.506346 0.512616 +vt 0.633119 0.366977 +vt 0.509231 0.502890 +vt 0.617194 0.875723 +vt 0.577382 1.000000 +vt 0.500009 0.989473 +vt 0.633119 0.638916 +vt 0.506347 0.493165 +vt 0.609851 0.570932 +vt 0.577382 0.005781 +vt 0.382822 0.124209 +vt 0.422634 -0.000068 +vt 0.500006 0.010459 +vt 0.500006 0.477590 +vt 0.366897 0.361128 +vt 0.490785 0.497041 +vt 0.493671 0.506767 +vt 0.452913 0.497041 +vt 0.390166 0.429112 +vt 0.382822 0.869873 +vt 0.500008 0.983623 +vt 0.493670 0.487316 +vt 0.422634 0.994151 +vt 0.636817 0.156314 +vt 0.875000 0.156314 +vt 0.875000 0.984312 +vt 0.636817 0.984312 +vt 0.000000 0.156314 +vt 0.125000 0.156314 +vt 0.125000 0.984312 +vt 0.000000 0.984313 +vt 1.000000 0.156314 +vt 1.000000 0.984313 +vt 0.363296 0.156314 +vt 0.431676 0.156314 +vt 0.431676 0.984311 +vt 0.363296 0.984312 +vt 0.500000 0.156314 +vt 0.568437 0.156314 +vt 0.568437 0.984311 +vt 0.500000 0.984311 +vn -0.000000 -1.000000 -0.000000 +vn -0.000000 1.000000 0.000000 +vn -0.000000 0.000000 1.000000 +vn -1.000000 -0.000000 -0.000000 +vn -0.000000 0.000000 -1.000000 +vn 1.000000 -0.000000 -0.000000 +vn -0.684400 -0.695200 0.219900 +vn -0.401400 -0.914900 0.043000 +vn 0.401400 -0.914900 0.043000 +vn 0.684300 -0.695200 0.219900 +vn -0.684400 -0.695200 -0.219900 +vn -0.401400 -0.914900 -0.043000 +vn 0.401400 -0.914900 -0.043000 +vn 0.684300 -0.695200 -0.219900 +vn 0.222100 0.975000 0.000000 +vn -0.447400 0.894300 0.000000 +vn 0.447400 0.894300 0.000000 +vn -0.222000 0.975000 0.000000 +vn 0.737200 -0.675700 -0.000000 +vn 0.437300 -0.899300 -0.000000 +vn -0.437400 -0.899300 -0.000000 +vn -0.737200 -0.675600 -0.000000 +vn -0.984700 -0.174500 -0.000000 +vn 0.984700 -0.174500 0.000000 +vn 0.051600 0.998700 -0.000000 +vn -0.238800 0.971100 0.000000 +vn 0.238800 0.971100 -0.000000 +vn 0.254100 0.967200 0.000000 +vn -0.051500 0.998700 0.000000 +vn -0.577800 0.816100 0.000000 +vn 0.578500 0.815700 0.000000 +vn -0.254100 0.967200 -0.000000 +g Cube.002_Cube.001_Cube.002_Cube.001_cover s off -f 1/1 2/2 3/3 4/4 -f 5/5 6/6 7/7 8/8 -f 9/9 10/10 11/11 12/12 -f 4/13 3/14 7/15 6/16 -f 13/17 14/18 15/19 16/20 -f 17/21 15/22 14/23 18/24 -f 20/25 1/1 4/4 19/26 -f 21/27 22/28 6/6 5/5 -f 19/29 4/13 6/16 22/30 -f 23/31 17/21 18/24 24/32 -f 9/33 25/34 26/35 10/36 -f 12/37 11/38 27/39 28/40 -f 10/41 26/42 27/43 11/11 -f 29/44 30/45 31/46 32/47 -f 18/48 14/49 13/50 33/51 -f 17/52 34/53 16/54 15/55 -f 32/56 35/57 36/58 29/44 -f 2/59 13/17 16/20 8/60 -f 24/61 18/48 33/51 37/62 -f 23/63 38/64 34/53 17/52 -f 32/65 31/66 39/67 35/68 -f 29/69 36/70 40/71 30/72 -f 2/2 1/1 33/51 13/50 -f 34/53 5/5 8/8 16/54 -f 35/57 9/9 12/12 36/58 -f 42/73 1/74 20/75 41/76 -f 38/64 21/27 5/5 34/53 -f 35/68 39/67 25/34 9/33 -f 36/70 12/37 28/40 40/71 -f 3/77 2/59 8/60 7/78 -f 43/79 44/80 42/81 41/82 -f 39/83 45/84 46/85 25/86 -f 1/74 42/73 44/87 33/88 -f 47/89 48/90 45/84 39/83 -f 49/91 50/92 51/93 52/94 -f 53/95 54/96 55/97 56/98 -f 52/99 51/100 55/101 54/102 -f 57/103 58/104 59/105 60/106 -f 60/107 59/108 61/109 62/110 -f 57/111 63/112 64/113 58/114 -f 49/115 65/116 66/117 50/118 -f 63/112 53/95 56/98 64/113 -f 67/119 68/120 66/121 65/122 -f 69/123 70/124 68/125 61/126 -f 62/127 67/128 71/129 72/130 -f 72/130 71/129 48/90 47/89 -f 25/34 73/131 74/132 26/35 -f 73/131 75/133 76/134 74/132 -f 28/40 27/39 77/135 78/136 -f 78/136 77/135 79/137 80/138 -f 26/42 74/139 77/140 27/43 -f 74/139 76/141 79/142 77/140 -f 30/45 81/143 82/144 31/46 -f 81/143 83/145 84/146 82/144 -f 31/66 82/147 47/148 39/67 -f 82/147 84/149 72/150 47/148 -f 30/72 40/71 85/151 81/152 -f 81/152 85/151 86/153 83/154 -f 25/86 46/85 87/155 73/156 -f 73/156 87/155 88/157 75/158 -f 40/71 28/40 78/136 85/151 -f 85/151 78/136 80/138 86/153 -f 45/159 48/160 87/161 46/162 -f 48/160 71/163 88/164 87/161 -f 89/165 90/166 91/167 92/168 -f 90/166 20/25 19/26 91/167 -f 93/169 94/170 95/171 96/172 -f 96/172 95/171 22/28 21/27 -f 92/173 91/174 95/175 94/176 -f 91/174 19/29 22/30 95/175 -f 97/177 98/178 99/179 100/180 -f 98/178 23/31 24/32 99/179 -f 100/181 99/182 101/183 69/184 -f 99/182 24/61 37/62 101/183 -f 97/185 102/186 103/187 98/188 -f 98/188 103/187 38/64 23/63 -f 89/189 104/190 105/191 90/192 -f 90/192 105/191 41/76 20/75 -f 102/186 93/169 96/172 103/187 -f 103/187 96/172 21/27 38/64 -f 70/193 106/194 105/195 104/196 -f 106/194 43/79 41/82 105/195 -f 33/88 44/87 43/197 37/198 -f 37/198 43/197 106/199 101/200 -f 101/200 106/199 70/124 69/123 -f 50/92 89/165 92/168 51/93 -f 56/98 55/97 94/170 93/169 -f 51/100 92/173 94/176 55/101 -f 58/104 97/177 100/180 59/105 -f 59/108 100/181 69/184 61/109 -f 58/114 64/113 102/186 97/185 -f 50/118 66/117 104/190 89/189 -f 64/113 56/98 93/169 102/186 -f 68/120 70/193 104/196 66/121 -f 75/133 49/91 52/94 76/134 -f 80/138 79/137 54/96 53/95 -f 76/141 52/99 54/102 79/142 -f 83/145 57/103 60/106 84/146 -f 84/149 60/107 62/110 72/150 -f 83/154 86/153 63/112 57/111 -f 75/158 88/157 65/116 49/115 -f 86/153 80/138 53/95 63/112 -f 71/163 67/119 65/122 88/164 -f 61/126 68/125 67/128 62/127 +f 18/1/1 20/2/1 13/3/1 12/4/1 14/5/1 19/6/1 +f 36/7/2 76/8/2 38/9/2 46/10/2 +f 13/3/1 20/2/1 17/11/1 10/12/1 +f 1/13/3 21/14/3 19/15/3 14/16/3 15/17/3 +f 18/18/4 19/19/4 21/20/4 3/21/4 +f 3/22/5 16/23/5 17/24/5 20/25/5 18/26/5 +f 1/27/2 74/28/2 5/29/2 21/30/2 +f 13/3/1 10/12/1 11/31/1 12/4/1 +f 21/30/2 5/29/2 8/32/2 3/33/2 +f 29/34/1 30/35/1 31/31/1 32/12/1 +f 31/31/1 30/35/1 39/36/1 40/37/1 +f 37/38/5 43/39/5 45/40/5 42/41/5 41/42/5 +f 43/43/6 37/21/6 46/20/6 44/44/6 +f 38/45/3 40/46/3 39/47/3 44/48/3 46/49/3 +f 29/34/1 32/12/1 42/50/1 45/51/1 +f 41/52/2 71/53/2 35/54/2 37/55/2 +f 35/54/2 36/7/2 46/10/2 37/55/2 +f 43/56/1 44/57/1 39/36/1 30/35/1 29/34/1 45/51/1 +f 15/58/1 14/5/1 12/4/1 11/31/1 +f 42/41/5 64/59/5 41/42/5 +f 41/42/5 64/59/5 2/60/5 67/61/5 +f 67/61/5 2/60/5 34/62/5 +f 34/62/5 2/60/5 59/63/5 +f 2/60/5 62/64/5 16/23/5 59/63/5 +f 16/23/5 62/64/5 17/24/5 +f 15/17/3 63/65/3 1/13/3 +f 23/66/3 58/67/3 1/13/3 63/65/3 +f 58/67/3 23/66/3 33/68/3 +f 68/69/3 33/68/3 23/66/3 +f 38/45/3 68/69/3 23/66/3 57/70/3 +f 57/70/3 40/46/3 38/45/3 +f 40/71/7 57/72/7 66/73/7 31/74/7 +f 57/44/8 23/75/8 47/76/8 66/77/8 +f 47/76/9 23/75/9 63/78/9 60/79/9 +f 15/71/10 11/80/10 60/81/10 63/82/10 +f 32/83/11 65/84/11 64/85/11 42/86/11 +f 64/43/12 65/87/12 48/88/12 2/89/12 +f 48/88/13 61/90/13 62/91/13 2/89/13 +f 17/86/14 62/92/14 61/93/14 10/94/14 +f 67/95/15 34/96/15 70/97/15 73/98/15 +f 59/99/16 16/100/16 69/101/16 72/102/16 +f 41/52/17 67/95/17 73/98/17 71/53/17 +f 34/96/18 59/99/18 72/102/18 70/97/18 +f 33/103/15 68/104/15 78/105/15 75/106/15 +f 1/27/16 58/107/16 77/108/16 74/28/16 +f 68/104/17 38/9/17 76/8/17 78/105/17 +f 58/107/18 33/103/18 75/106/18 77/108/18 +f 8/32/2 69/101/2 16/100/2 3/33/2 +f 10/94/19 61/93/19 60/81/19 11/80/19 +f 47/76/20 60/79/20 61/90/20 48/88/20 +f 65/87/21 66/77/21 47/76/21 48/88/21 +f 31/74/22 66/73/22 65/84/22 32/83/22 +g Cube.002_Cube.001_Cube.002_Cube.001_edges +f 8/109/23 5/110/23 6/111/23 7/112/23 +f 35/113/24 26/114/24 25/115/24 36/116/24 +f 9/117/5 69/118/5 53/119/5 +f 50/120/3 56/121/3 76/122/3 +f 24/123/5 69/118/5 8/124/5 +f 9/117/5 71/125/5 73/126/5 +f 51/127/5 53/119/5 69/118/5 +f 9/117/5 73/126/5 70/128/5 +f 28/129/5 26/130/5 35/131/5 +f 71/125/5 49/132/5 28/129/5 +f 72/133/5 69/118/5 9/117/5 +f 71/125/5 55/134/5 49/132/5 +f 28/129/5 35/131/5 71/125/5 +f 24/123/5 8/124/5 7/135/5 +f 69/118/5 24/123/5 51/127/5 +f 9/117/5 55/134/5 71/125/5 +f 70/128/5 72/133/5 9/117/5 +f 22/136/3 6/137/3 5/138/3 +f 74/139/3 52/140/3 22/136/3 +f 75/141/3 78/142/3 4/143/3 +f 74/139/3 54/144/3 52/140/3 +f 22/136/3 5/138/3 74/139/3 +f 27/145/3 76/122/3 36/146/3 +f 4/143/3 74/139/3 77/147/3 +f 27/145/3 50/120/3 76/122/3 +f 4/143/3 77/147/3 75/141/3 +f 4/143/3 78/142/3 76/122/3 +f 4/143/3 54/144/3 74/139/3 +f 27/145/3 36/146/3 25/148/3 +f 56/121/3 4/143/3 76/122/3 +g Cube.002_Cube.001_Cube.002_Cube.001_pages +f 50/149/25 27/150/25 28/151/25 49/152/25 +f 6/153/26 22/154/26 24/155/26 7/156/26 +f 27/150/27 25/157/27 26/158/27 28/151/27 +f 52/159/28 54/160/28 53/161/28 51/162/28 +f 22/154/29 52/159/29 51/162/29 24/155/29 +f 4/163/30 56/164/30 55/165/30 9/166/30 +f 54/160/31 4/163/31 9/166/31 53/161/31 +f 56/164/32 50/149/32 49/152/32 55/165/32 diff --git a/homedecor/textures/homedecor_book_blue.png b/homedecor/textures/homedecor_book_blue.png deleted file mode 100644 index 1913983..0000000 Binary files a/homedecor/textures/homedecor_book_blue.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_blue_inv.png b/homedecor/textures/homedecor_book_blue_inv.png deleted file mode 100644 index 3ba26df..0000000 Binary files a/homedecor/textures/homedecor_book_blue_inv.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_brown.png b/homedecor/textures/homedecor_book_brown.png deleted file mode 100644 index 54db053..0000000 Binary files a/homedecor/textures/homedecor_book_brown.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_brown_inv.png b/homedecor/textures/homedecor_book_brown_inv.png deleted file mode 100644 index 385895f..0000000 Binary files a/homedecor/textures/homedecor_book_brown_inv.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_cover.png b/homedecor/textures/homedecor_book_cover.png new file mode 100644 index 0000000..41b7f9c Binary files /dev/null and b/homedecor/textures/homedecor_book_cover.png differ diff --git a/homedecor/textures/homedecor_book_cover_trim.png b/homedecor/textures/homedecor_book_cover_trim.png new file mode 100644 index 0000000..cb466ae Binary files /dev/null and b/homedecor/textures/homedecor_book_cover_trim.png differ diff --git a/homedecor/textures/homedecor_book_edges.png b/homedecor/textures/homedecor_book_edges.png new file mode 100644 index 0000000..eaa1303 Binary files /dev/null and b/homedecor/textures/homedecor_book_edges.png differ diff --git a/homedecor/textures/homedecor_book_green.png b/homedecor/textures/homedecor_book_green.png deleted file mode 100644 index 22c7d80..0000000 Binary files a/homedecor/textures/homedecor_book_green.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_green_inv.png b/homedecor/textures/homedecor_book_green_inv.png deleted file mode 100644 index 22a2c05..0000000 Binary files a/homedecor/textures/homedecor_book_green_inv.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_grey.png b/homedecor/textures/homedecor_book_grey.png deleted file mode 100644 index d3f8f27..0000000 Binary files a/homedecor/textures/homedecor_book_grey.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_grey_inv.png b/homedecor/textures/homedecor_book_grey_inv.png deleted file mode 100644 index 725da19..0000000 Binary files a/homedecor/textures/homedecor_book_grey_inv.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_inv.png b/homedecor/textures/homedecor_book_inv.png new file mode 100644 index 0000000..cca651f Binary files /dev/null and b/homedecor/textures/homedecor_book_inv.png differ diff --git a/homedecor/textures/homedecor_book_open_blue.png b/homedecor/textures/homedecor_book_open_blue.png deleted file mode 100644 index 7881d98..0000000 Binary files a/homedecor/textures/homedecor_book_open_blue.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_brown.png b/homedecor/textures/homedecor_book_open_brown.png deleted file mode 100644 index 7a065e1..0000000 Binary files a/homedecor/textures/homedecor_book_open_brown.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_green.png b/homedecor/textures/homedecor_book_open_green.png deleted file mode 100644 index aacecd0..0000000 Binary files a/homedecor/textures/homedecor_book_open_green.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_grey.png b/homedecor/textures/homedecor_book_open_grey.png deleted file mode 100644 index 05f8b72..0000000 Binary files a/homedecor/textures/homedecor_book_open_grey.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_red.png b/homedecor/textures/homedecor_book_open_red.png deleted file mode 100644 index 7ea535c..0000000 Binary files a/homedecor/textures/homedecor_book_open_red.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_violet.png b/homedecor/textures/homedecor_book_open_violet.png deleted file mode 100644 index 4f8cdd0..0000000 Binary files a/homedecor/textures/homedecor_book_open_violet.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_pages.png b/homedecor/textures/homedecor_book_pages.png new file mode 100644 index 0000000..aa0f0bb Binary files /dev/null and b/homedecor/textures/homedecor_book_pages.png differ diff --git a/homedecor/textures/homedecor_book_red.png b/homedecor/textures/homedecor_book_red.png deleted file mode 100644 index 91a06c8..0000000 Binary files a/homedecor/textures/homedecor_book_red.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_red_inv.png b/homedecor/textures/homedecor_book_red_inv.png deleted file mode 100644 index 65969b2..0000000 Binary files a/homedecor/textures/homedecor_book_red_inv.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_trim_inv.png b/homedecor/textures/homedecor_book_trim_inv.png new file mode 100644 index 0000000..bef4660 Binary files /dev/null and b/homedecor/textures/homedecor_book_trim_inv.png differ diff --git a/homedecor/textures/homedecor_book_violet.png b/homedecor/textures/homedecor_book_violet.png deleted file mode 100644 index e21c419..0000000 Binary files a/homedecor/textures/homedecor_book_violet.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_violet_inv.png b/homedecor/textures/homedecor_book_violet_inv.png deleted file mode 100644 index dc472da..0000000 Binary files a/homedecor/textures/homedecor_book_violet_inv.png and /dev/null differ