use mesh nodes for beds

This commit is contained in:
Vanessa Ezekowitz 2015-03-29 23:26:59 -04:00
parent 2ed516a9f6
commit e105fad1d4
91 changed files with 712 additions and 78 deletions

View File

@ -210,16 +210,16 @@ local function bed_extension(pos, color)
local fdir = thisnode.param2 local fdir = thisnode.param2
if string.find(topnode.name, "homedecor:bed_.*_foot$") then if string.find(topnode.name, "homedecor:bed_.*_regular$") then
if fdir == topnode.param2 then if fdir == topnode.param2 then
local newnode = string.gsub(thisnode.name, "_foot", "_footext") local newnode = string.gsub(thisnode.name, "_regular", "_extended")
minetest.set_node(pos, { name = newnode, param2 = fdir}) minetest.set_node(pos, { name = newnode, param2 = fdir})
end end
end end
if string.find(bottomnode.name, "homedecor:bed_.*_foot$") then if string.find(bottomnode.name, "homedecor:bed_.*_regular$") then
if fdir == bottomnode.param2 then if fdir == bottomnode.param2 then
local newnode = string.gsub(bottomnode.name, "_foot", "_footext") local newnode = string.gsub(bottomnode.name, "_regular", "_extended")
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newnode, param2 = fdir}) minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newnode, param2 = fdir})
end end
end end
@ -228,106 +228,70 @@ end
local function unextend_bed(pos, color) local function unextend_bed(pos, color)
local bottomnode = minetest.get_node({x=pos.x, y=pos.y-1.0, z=pos.z}) local bottomnode = minetest.get_node({x=pos.x, y=pos.y-1.0, z=pos.z})
local fdir = bottomnode.param2 local fdir = bottomnode.param2
if string.find(bottomnode.name, "homedecor:bed_.*_footext$") then if string.find(bottomnode.name, "homedecor:bed_.*_extended$") then
local newnode = string.gsub(bottomnode.name, "_footext", "_foot") local newnode = string.gsub(bottomnode.name, "_extended", "_regular")
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newnode, param2 = fdir}) minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newnode, param2 = fdir})
end end
end end
for _, color in ipairs(bedcolors) do local bed_cbox = {
homedecor.register("bed_"..color.."_head", {
tiles = {
"homedecor_bed_"..color.."_top1.png",
"homedecor_bed_bottom1.png",
"homedecor_bed_"..color.."_side1.png",
"homedecor_bed_"..color.."_side1.png^[transformFX",
"homedecor_bed_head1.png",
"homedecor_bed_"..color.."_head2.png"
},
groups = {snappy=3, not_in_creative_inventory=1},
node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
{-0.5, -0.5, 0.4375, -0.375, 0.5, 0.5}, -- NodeBox1
{0.375, -0.5, 0.4375, 0.5, 0.5, 0.5}, -- NodeBox2
{-0.5, 0.25, 0.4375, 0.5, 0.4375, 0.5}, -- NodeBox3
{-0.5, -0.0625, 0.4375, 0.5, 0.1875, 0.5}, -- NodeBox4
{-0.5, -0.375, -0.5, 0.5, -0.125, 0.5}, -- NodeBox5
{0.375, -0.375, -0.5, 0.4375, -0.125, 0.5}, -- NodeBox6
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375}, -- NodeBox7
{-0.3125, -0.125, 0.0625, 0.3125, 0.0625, 0.4375}, -- NodeBox8
} }
},
selection_box = homedecor.nodebox.null
})
homedecor.register("bed_"..color.."_foot", { for _, color in ipairs(bedcolors) do
local color2=color
if color == "darkgrey" then
color2 = "dark_grey"
end
homedecor.register("bed_"..color.."_regular", {
mesh = "homedecor_bed_regular.obj",
tiles = { tiles = {
"homedecor_bed_"..color.."_top2.png", "homedecor_bed_frame.png",
"homedecor_bed_bottom2.png", "default_wood.png",
"homedecor_bed_"..color.."_side2.png", "wool_white.png",
"homedecor_bed_"..color.."_side2.png^[transformFX", "wool_"..color2..".png",
"homedecor_bed_foot2.png", "homedecor_bed_bottom.png",
"homedecor_bed_"..color.."_foot1.png" "wool_"..color2..".png^[brighten", -- pillow
}, },
inventory_image = "homedecor_bed_"..color.."_inv.png", inventory_image = "homedecor_bed_"..color.."_inv.png",
description = S("Bed (%s)"):format(color), description = S("Bed (%s)"):format(color),
groups = {snappy=3}, groups = {snappy=3},
node_box = { selection_box = bed_cbox,
type = "fixed", collision_box = bed_cbox,
fixed = {
{-0.5, -0.5, -0.5, -0.375, 0.1875, -0.4375}, -- NodeBox1
{0.375, -0.5, -0.5, 0.5, 0.1875, -0.4375}, -- NodeBox2
{-0.5, 0, -0.5, 0.5, 0.125, -0.4375}, -- NodeBox3
{-0.5, -0.375, -0.5, 0.5, -0.125, 0.5}, -- NodeBox4
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5}, -- NodeBox5
}
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
},
on_construct = function(pos) on_construct = function(pos)
bed_extension(pos, color) bed_extension(pos, color)
end, end,
expand = { forward = "homedecor:bed_"..color.."_head" }, expand = { forward = "air" },
after_unexpand = function(pos) after_unexpand = function(pos)
unextend_bed(pos, color) unextend_bed(pos, color)
end, end,
}) })
homedecor.register("bed_"..color.."_footext", { homedecor.register("bed_"..color.."_extended", {
mesh = "homedecor_bed_extended.obj",
tiles = { tiles = {
"homedecor_bed_"..color.."_top2.png", "homedecor_bed_frame.png",
"homedecor_bed_bottom2.png", "default_wood.png",
"homedecor_bed_"..color.."_side2ext.png", "wool_white.png",
"homedecor_bed_"..color.."_side2ext.png^[transformFX", "wool_"..color2..".png",
"homedecor_bed_foot2ext.png", "homedecor_bed_bottom.png",
"homedecor_bed_"..color.."_foot1ext.png" "wool_"..color2..".png^[brighten",
}, },
groups = {snappy=3, not_in_creative_inventory=1}, groups = {snappy=3, not_in_creative_inventory=1},
node_box = { selection_box = bed_cbox,
type = "fixed", collision_box = bed_cbox,
fixed = { expand = { forward = "air" },
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.4375}, -- NodeBox1
{0.375, -0.5, -0.5, 0.5, 0.5, -0.4375}, -- NodeBox2
{-0.5, 0, -0.5, 0.5, 0.125, -0.4375}, -- NodeBox3
{-0.5, -0.375, -0.5, 0.5, -0.125, 0.5}, -- NodeBox4
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5}, -- NodeBox5
}
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
},
expand = { forward = "homedecor:bed_"..color.."_head" },
after_unexpand = function(pos) after_unexpand = function(pos)
unextend_bed(pos, color) unextend_bed(pos, color)
end, end,
drop = "homedecor:bed_"..color.."_foot" drop = "homedecor:bed_"..color.."_regular"
}) })
minetest.register_alias("homedecor:bed_"..color.."_foot", "homedecor:bed_"..color.."_regular")
minetest.register_alias("homedecor:bed_"..color.."_footext", "homedecor:bed_"..color.."_extended")
minetest.register_alias("homedecor:bed_"..color.."_head", "air")
end end
local wd_cbox = { local wd_cbox = {

View File

@ -0,0 +1,340 @@
# Blender v2.73 (sub 0) OBJ File: 'bed-extended.blend'
# www.blender.org
o Cube
v -0.500000 -0.375000 1.437500
v -0.500000 -0.375000 -0.437500
v 0.500000 -0.375000 -0.437500
v 0.500000 -0.375000 1.437500
v -0.500000 -0.125000 1.437500
v -0.500000 -0.125000 -0.437500
v 0.500000 -0.125000 -0.437500
v 0.500000 -0.125000 1.437500
v -0.437500 -0.125000 1.437500
v -0.437500 -0.125000 -0.437500
v 0.437500 -0.125000 -0.437500
v 0.437500 -0.125000 1.437500
v 0.375000 -0.500000 -0.437500
v 0.375000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.437500
v 0.375000 0.500000 -0.437500
v 0.375000 0.500000 -0.500000
v 0.500000 0.500000 -0.500000
v 0.500000 0.500000 -0.437500
v -0.500000 -0.500000 -0.437500
v -0.500000 -0.500000 -0.500000
v -0.375000 -0.500000 -0.500000
v -0.375000 -0.500000 -0.437500
v -0.500000 0.500000 -0.437500
v -0.500000 0.500000 -0.500000
v -0.375000 0.500000 -0.500000
v -0.375000 0.500000 -0.437500
v -0.375000 -0.375000 -0.437500
v -0.375000 -0.375000 -0.500000
v 0.375000 -0.375000 -0.500000
v 0.375000 -0.375000 -0.437500
v -0.375000 -0.125000 -0.437500
v -0.375000 -0.125000 -0.500000
v 0.375000 -0.125000 -0.500000
v 0.375000 -0.125000 -0.437500
v -0.375000 0.000000 -0.437500
v -0.375000 0.000000 -0.500000
v 0.375000 0.000000 -0.500000
v 0.375000 0.000000 -0.437500
v -0.375000 0.125000 -0.437500
v -0.375000 0.125000 -0.500000
v 0.375000 0.125000 -0.500000
v 0.375000 0.125000 -0.437500
v 0.375000 -0.500000 1.437500
v 0.375000 -0.500000 1.500000
v 0.500000 -0.500000 1.500000
v 0.500000 -0.500000 1.437500
v 0.375000 0.500000 1.437500
v 0.375000 0.500000 1.500000
v 0.500000 0.500000 1.500000
v 0.500000 0.500000 1.437500
v -0.500000 -0.500000 1.437500
v -0.500000 -0.500000 1.500000
v -0.375000 -0.500000 1.500000
v -0.375000 -0.500000 1.437500
v -0.500000 0.500000 1.437500
v -0.500000 0.500000 1.500000
v -0.375000 0.500000 1.500000
v -0.375000 0.500000 1.437500
v -0.375000 -0.375000 1.437500
v -0.375000 -0.375000 1.500000
v 0.375000 -0.375000 1.500000
v 0.375000 -0.375000 1.437500
v -0.375000 -0.125000 1.437500
v -0.375000 -0.125000 1.500000
v 0.375000 -0.125000 1.500000
v 0.375000 -0.125000 1.437500
v -0.375000 -0.062500 1.437500
v -0.375000 -0.062500 1.500000
v 0.375000 -0.062500 1.500000
v 0.375000 -0.062500 1.437500
v -0.375000 0.187500 1.437500
v -0.375000 0.187500 1.500000
v 0.375000 0.187500 1.500000
v 0.375000 0.187500 1.437500
v -0.375000 0.250000 1.437500
v -0.375000 0.250000 1.500000
v 0.375000 0.250000 1.500000
v 0.375000 0.250000 1.437500
v -0.375000 0.437500 1.437500
v -0.375000 0.437500 1.500000
v 0.375000 0.437500 1.500000
v 0.375000 0.437500 1.437500
v -0.500000 -0.125000 0.500000
v -0.500000 -0.375000 0.500000
v 0.500000 -0.125000 0.500000
v 0.500000 -0.375000 0.500000
v -0.437500 -0.125000 0.500000
v 0.437500 -0.125000 0.500000
v -0.437500 -0.375000 0.500000
v -0.437500 -0.375000 1.437500
v -0.437500 -0.109375 1.437500
v -0.437500 -0.109375 -0.437500
v 0.437500 -0.109375 -0.437500
v 0.437500 -0.109375 1.437500
v -0.375000 -0.046875 1.437500
v -0.375000 -0.046875 -0.437500
v 0.375000 -0.046875 -0.437500
v 0.375000 -0.046875 1.437500
v -0.312500 -0.046875 1.437500
v -0.312500 -0.046875 1.062500
v 0.312500 -0.046875 1.062500
v 0.312500 -0.046875 1.437500
v -0.375000 -0.046875 0.500000
v -0.437500 -0.109375 0.500000
v 0.375000 -0.046875 0.500000
v 0.437500 -0.109375 0.500000
v -0.312500 -0.031250 1.437500
v -0.312500 -0.031250 1.062500
v 0.312500 -0.031250 1.062500
v 0.312500 -0.031250 1.437500
v -0.250000 0.031250 1.375000
v -0.250000 0.031250 1.125000
v 0.250000 0.031250 1.125000
v 0.250000 0.031250 1.375000
v 0.437500 -0.375000 1.437500
v 0.437500 -0.375000 0.500000
v -0.437500 -0.375000 1.375000
v 0.437500 -0.375000 1.375000
v -0.437500 -0.375000 -0.375000
v 0.437500 -0.375000 -0.375000
v -0.437500 -0.312500 1.375000
v 0.437500 -0.312500 1.375000
v -0.437500 -0.312500 -0.375000
v 0.437500 -0.312500 -0.375000
v -0.437500 -0.125000 1.000000
v 0.437500 -0.125000 1.000000
v -0.437500 -0.109375 1.000000
v 0.375000 -0.046875 1.000000
v -0.375000 -0.046875 1.000000
v 0.437500 -0.109375 1.000000
v -0.437500 -0.312500 0.500000
v 0.437500 -0.312500 0.500000
v -0.500000 -0.375000 -0.437500
v 0.500000 -0.375000 -0.437500
v -0.500000 -0.375000 0.500000
v 0.500000 -0.375000 0.500000
v -0.437500 -0.375000 0.500000
v -0.437500 -0.375000 -0.437500
v 0.437500 -0.375000 -0.437500
v 0.437500 -0.375000 0.500000
v -0.437500 -0.375000 -0.375000
v 0.437500 -0.375000 -0.375000
v 0.000000 -0.080293 -0.437500
v -0.375000 0.250000 -0.437500
v -0.375000 0.250000 -0.500000
v 0.375000 0.250000 -0.500000
v 0.375000 0.250000 -0.437500
v -0.375000 0.375000 -0.437500
v -0.375000 0.375000 -0.500000
v 0.375000 0.375000 -0.500000
v 0.375000 0.375000 -0.437500
vt 1.000000 0.250000
vt 0.062500 0.250000
vt 0.062500 -0.000000
vt 1.000000 -0.000000
vt 0.937500 1.000000
vt 0.000000 1.000000
vt 0.000000 0.937500
vt 0.937500 0.937500
vt 0.437500 1.000000
vt -0.000000 0.000000
vt 0.062500 0.937500
vt 0.937500 0.250000
vt -0.000000 0.250000
vt 0.937500 0.000000
vt 1.000000 0.937500
vt 0.062500 0.875000
vt 0.937500 0.875000
vt 0.062500 0.062500
vt 0.937500 0.062500
vt 0.437500 0.937500
vt 0.000000 0.062500
vt 1.000000 0.062500
vt 0.875000 1.000000
vt 0.875000 0.000000
vt 1.000000 1.000000
vt 0.062500 1.000000
vt 0.125000 1.000000
vt 0.125000 0.000000
vt 0.875000 0.062500
vt 0.875000 0.937500
vt 0.125000 0.062500
vt 0.125000 0.937500
vt 0.875000 0.625000
vt 0.125000 0.625000
vt 0.125000 0.500000
vt 0.875000 0.500000
vt 0.875000 0.375000
vt 0.125000 0.375000
vt 0.125000 0.125000
vt 0.875000 0.125000
vt 0.125000 0.687500
vt 0.125000 0.437500
vt 0.875000 0.437500
vt 0.875000 0.687500
vt 0.125000 0.750000
vt 0.875000 0.750000
vt 0.875000 0.875000
vt 0.125000 0.875000
vt 0.000000 0.437500
vt 0.062500 0.437500
vt 0.937500 0.437500
vt 1.000000 0.437500
vt -0.000000 0.562500
vt 0.062500 0.562500
vt 0.125000 0.562500
vt 0.875000 0.562500
vt 0.937500 0.562500
vt 1.000000 0.562500
vt 0.500000 0.091582
vt 0.250000 0.125000
vt 0.250000 0.375000
vt 0.187500 0.437500
vt 0.187500 0.062500
vt 0.750000 0.375000
vt 0.812500 0.437500
vt 0.750000 0.125000
vt 0.812500 0.062500
vt 0.812500 0.500000
vt 0.187500 0.500000
vn -1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 1.000000
vn 0.707100 0.707100 0.000000
vn -0.707100 0.707100 0.000000
vn 0.000000 0.707100 -0.707100
vn 0.000000 0.707100 0.707100
g Cube_Cube_frame-metal
s off
f 85/1/1 6/2/1 2/3/1 86/4/1
f 87/1/2 8/2/2 4/3/2 88/4/2
f 11/5/3 90/6/3 87/7/3 7/8/3
f 87/8/3 90/5/3 128/9/3 12/6/3 8/7/3
f 1/7/4 86/10/4 91/3/4 92/11/4
f 7/12/2 87/13/2 88/10/2 3/14/2
f 5/12/1 85/13/1 86/10/1 1/14/1
f 88/4/4 4/15/4 117/8/4 118/14/4
f 119/16/3 92/11/3 117/8/3 120/17/3
f 121/3/5 125/18/5 126/19/5 122/14/5
f 120/14/6 124/19/6 123/18/6 119/3/6
f 85/6/3 89/7/3 10/8/3 6/5/3
f 89/8/3 85/5/3 5/6/3 9/7/3 127/20/3
f 133/19/1 91/14/1 119/10/1 123/21/1
f 118/14/2 134/19/2 124/21/2 120/10/2
f 122/4/2 126/22/2 134/18/2 118/3/2
f 125/22/1 121/4/1 91/3/1 133/18/1
f 137/7/4 135/10/4 140/3/4 139/11/4
f 136/4/4 138/15/4 142/8/4 141/14/4
f 143/18/4 140/3/4 141/14/4 144/19/4
g Cube_Cube_head-foot-wood
f 50/23/6 46/24/6 47/4/6 51/25/6
f 17/26/1 18/6/1 14/10/1 13/3/1
f 18/27/5 19/6/5 15/10/5 14/28/5
f 19/25/2 20/5/2 16/14/2 15/4/2
f 20/25/6 17/23/6 13/24/6 16/4/6
f 13/29/4 14/24/4 15/4/4 16/22/4
f 20/15/3 19/25/3 18/23/3 17/30/3
f 25/26/1 26/6/1 22/10/1 21/3/1
f 26/25/5 27/23/5 23/24/5 22/4/5
f 27/25/2 28/5/2 24/14/2 23/4/2
f 28/27/6 25/6/6 21/10/6 24/28/6
f 21/21/4 22/10/4 23/28/4 24/31/4
f 28/32/3 27/27/3 26/6/3 25/7/3
f 44/33/6 41/34/6 37/35/6 40/36/6
f 34/37/5 35/38/5 31/39/5 30/40/5
f 42/33/5 43/34/5 39/35/5 38/36/5
f 49/5/1 45/14/1 46/4/1 50/25/1
f 29/31/4 30/28/4 31/24/4 32/29/4
f 36/30/3 35/23/3 34/27/3 33/32/3
f 37/31/4 38/28/4 39/24/4 40/29/4
f 44/30/3 43/23/3 42/27/3 41/32/3
f 51/6/2 47/10/2 48/3/2 52/26/2
f 52/6/5 48/10/5 45/28/5 49/27/5
f 45/30/4 48/15/4 47/25/4 46/23/4
f 52/22/3 49/29/3 50/24/3 51/4/3
f 57/5/1 53/14/1 54/4/1 58/25/1
f 58/6/6 54/10/6 55/28/6 59/27/6
f 59/6/2 55/10/2 56/3/2 60/26/2
f 60/23/5 56/24/5 53/4/5 57/25/5
f 53/7/4 56/32/4 55/27/4 54/6/4
f 60/31/3 57/21/3 58/10/3 59/28/3
f 76/41/5 72/42/5 69/43/5 73/44/5
f 66/38/6 62/39/6 63/40/6 67/37/6
f 74/41/6 70/42/6 71/43/6 75/44/6
f 61/32/4 64/30/4 63/23/4 62/27/4
f 68/29/3 65/31/3 66/28/3 67/24/3
f 69/32/4 72/30/4 71/23/4 70/27/4
f 76/29/3 73/31/3 74/28/3 75/24/3
f 84/32/5 80/45/5 77/46/5 81/30/5
f 82/32/6 78/45/6 79/46/6 83/30/6
f 77/32/4 80/30/4 79/23/4 78/27/4
f 84/29/3 81/31/3 82/28/3 83/24/3
f 153/47/6 150/48/6 146/45/6 149/46/6
f 151/47/5 152/48/5 148/45/5 147/46/5
f 146/31/4 147/28/4 148/24/4 149/29/4
f 153/30/3 152/23/3 151/27/3 150/32/3
g Cube_Cube_white-wool
f 127/49/1 9/10/1 93/3/1 129/50/1
f 9/3/6 12/14/6 96/19/6 93/18/6
f 130/43/7 100/24/7 96/14/7 132/51/7
f 100/40/6 97/39/6 93/18/6 96/19/6
f 97/28/8 131/42/8 129/50/8 93/3/8
f 100/24/3 130/43/3 131/42/3 97/28/3
f 12/4/2 128/52/2 132/51/2 96/14/2
g Cube_Cube_colored-wool
f 11/3/5 10/14/5 94/19/5 95/18/5
f 90/6/2 11/21/2 95/18/2 108/26/2
f 10/22/1 89/25/1 106/5/1 94/19/1
f 128/53/2 90/21/2 108/18/2 132/54/2
f 105/23/8 98/29/8 94/19/8 106/5/8
f 107/27/3 99/31/3 98/29/3 105/23/3
f 130/55/3 107/31/3 105/29/3 131/56/3
f 99/31/7 107/27/7 108/26/7 95/18/7
f 131/56/8 105/29/8 106/19/8 129/57/8
f 107/31/7 130/55/7 132/54/7 108/18/7
f 89/22/1 127/58/1 129/57/1 106/19/1
f 98/40/5 99/39/5 145/59/5
f 99/39/5 95/18/5 145/59/5
f 95/18/5 94/19/5 145/59/5
f 94/19/5 98/40/5 145/59/5
g Cube_Cube_bottom-stuff
f 134/5/3 126/19/3 125/18/3 133/26/3
f 124/8/3 134/14/3 133/3/3 123/11/3
g Cube_Cube_pillow
f 113/60/8 114/61/8 110/62/8 109/63/8
f 114/61/9 115/64/9 111/65/9 110/62/9
f 115/64/7 116/66/7 112/67/7 111/65/7
f 116/66/3 115/64/3 114/61/3 113/60/3
f 109/63/10 112/67/10 116/66/10 113/60/10
f 104/63/2 103/62/2 111/42/2 112/31/2
f 103/62/5 102/65/5 110/68/5 111/69/5
f 102/65/1 101/67/1 109/29/1 110/43/1

View File

@ -0,0 +1,330 @@
# Blender v2.73 (sub 0) OBJ File: 'bed.blend'
# www.blender.org
o Cube
v -0.500000 -0.375000 1.437500
v -0.500000 -0.375000 -0.437500
v 0.500000 -0.375000 -0.437500
v 0.500000 -0.375000 1.437500
v -0.500000 -0.125000 1.437500
v -0.500000 -0.125000 -0.437500
v 0.500000 -0.125000 -0.437500
v 0.500000 -0.125000 1.437500
v -0.437500 -0.125000 1.437500
v -0.437500 -0.125000 -0.437500
v 0.437500 -0.125000 -0.437500
v 0.437500 -0.125000 1.437500
v 0.375000 -0.500000 -0.437500
v 0.375000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.437500
v 0.375000 0.187500 -0.437500
v 0.375000 0.187500 -0.500000
v 0.500000 0.187500 -0.500000
v 0.500000 0.187500 -0.437500
v -0.500000 -0.500000 -0.437500
v -0.500000 -0.500000 -0.500000
v -0.375000 -0.500000 -0.500000
v -0.375000 -0.500000 -0.437500
v -0.500000 0.187500 -0.437500
v -0.500000 0.187500 -0.500000
v -0.375000 0.187500 -0.500000
v -0.375000 0.187500 -0.437500
v -0.375000 -0.375000 -0.437500
v -0.375000 -0.375000 -0.500000
v 0.375000 -0.375000 -0.500000
v 0.375000 -0.375000 -0.437500
v -0.375000 -0.125000 -0.437500
v -0.375000 -0.125000 -0.500000
v 0.375000 -0.125000 -0.500000
v 0.375000 -0.125000 -0.437500
v -0.375000 0.000000 -0.437500
v -0.375000 0.000000 -0.500000
v 0.375000 0.000000 -0.500000
v 0.375000 0.000000 -0.437500
v -0.375000 0.125000 -0.437500
v -0.375000 0.125000 -0.500000
v 0.375000 0.125000 -0.500000
v 0.375000 0.125000 -0.437500
v 0.375000 -0.500000 1.437500
v 0.375000 -0.500000 1.500000
v 0.500000 -0.500000 1.500000
v 0.500000 -0.500000 1.437500
v 0.375000 0.500000 1.437500
v 0.375000 0.500000 1.500000
v 0.500000 0.500000 1.500000
v 0.500000 0.500000 1.437500
v -0.500000 -0.500000 1.437500
v -0.500000 -0.500000 1.500000
v -0.375000 -0.500000 1.500000
v -0.375000 -0.500000 1.437500
v -0.500000 0.500000 1.437500
v -0.500000 0.500000 1.500000
v -0.375000 0.500000 1.500000
v -0.375000 0.500000 1.437500
v -0.375000 -0.375000 1.437500
v -0.375000 -0.375000 1.500000
v 0.375000 -0.375000 1.500000
v 0.375000 -0.375000 1.437500
v -0.375000 -0.125000 1.437500
v -0.375000 -0.125000 1.500000
v 0.375000 -0.125000 1.500000
v 0.375000 -0.125000 1.437500
v -0.375000 -0.062500 1.437500
v -0.375000 -0.062500 1.500000
v 0.375000 -0.062500 1.500000
v 0.375000 -0.062500 1.437500
v -0.375000 0.187500 1.437500
v -0.375000 0.187500 1.500000
v 0.375000 0.187500 1.500000
v 0.375000 0.187500 1.437500
v -0.375000 0.250000 1.437500
v -0.375000 0.250000 1.500000
v 0.375000 0.250000 1.500000
v 0.375000 0.250000 1.437500
v -0.375000 0.437500 1.437500
v -0.375000 0.437500 1.500000
v 0.375000 0.437500 1.500000
v 0.375000 0.437500 1.437500
v -0.500000 -0.125000 0.500000
v -0.500000 -0.375000 0.500000
v 0.500000 -0.125000 0.500000
v 0.500000 -0.375000 0.500000
v -0.437500 -0.125000 0.500000
v 0.437500 -0.125000 0.500000
v -0.437500 -0.375000 0.500000
v -0.437500 -0.375000 1.437500
v -0.437500 -0.109375 1.437500
v -0.437500 -0.109375 -0.437500
v 0.437500 -0.109375 -0.437500
v 0.437500 -0.109375 1.437500
v -0.375000 -0.046875 1.437500
v -0.375000 -0.046875 -0.437500
v 0.375000 -0.046875 -0.437500
v 0.375000 -0.046875 1.437500
v -0.312500 -0.046875 1.437500
v -0.312500 -0.046875 1.062500
v 0.312500 -0.046875 1.062500
v 0.312500 -0.046875 1.437500
v -0.375000 -0.046875 0.500000
v -0.437500 -0.109375 0.500000
v 0.375000 -0.046875 0.500000
v 0.437500 -0.109375 0.500000
v -0.312500 -0.031250 1.437500
v -0.312500 -0.031250 1.062500
v 0.312500 -0.031250 1.062500
v 0.312500 -0.031250 1.437500
v -0.250000 0.031250 1.375000
v -0.250000 0.031250 1.125000
v 0.250000 0.031250 1.125000
v 0.250000 0.031250 1.375000
v 0.437500 -0.375000 1.437500
v 0.437500 -0.375000 0.500000
v -0.437500 -0.375000 1.375000
v 0.437500 -0.375000 1.375000
v -0.437500 -0.375000 -0.375000
v 0.437500 -0.375000 -0.375000
v -0.437500 -0.312500 1.375000
v 0.437500 -0.312500 1.375000
v -0.437500 -0.312500 -0.375000
v 0.437500 -0.312500 -0.375000
v -0.437500 -0.125000 1.000000
v 0.437500 -0.125000 1.000000
v -0.437500 -0.109375 1.000000
v 0.375000 -0.046875 1.000000
v -0.375000 -0.046875 1.000000
v 0.437500 -0.109375 1.000000
v -0.437500 -0.312500 0.500000
v 0.437500 -0.312500 0.500000
v -0.500000 -0.375000 -0.437500
v 0.500000 -0.375000 -0.437500
v -0.500000 -0.375000 0.500000
v 0.500000 -0.375000 0.500000
v -0.437500 -0.375000 0.500000
v -0.437500 -0.375000 -0.437500
v 0.437500 -0.375000 -0.437500
v 0.437500 -0.375000 0.500000
v -0.437500 -0.375000 -0.375000
v 0.437500 -0.375000 -0.375000
v 0.000000 -0.080293 -0.437500
vt 1.000000 0.250000
vt 0.062500 0.250000
vt 0.062500 -0.000000
vt 1.000000 -0.000000
vt 0.937500 1.000000
vt 0.000000 1.000000
vt 0.000000 0.937500
vt 0.937500 0.937500
vt 0.437500 1.000000
vt -0.000000 0.000000
vt 0.062500 0.937500
vt 0.937500 0.250000
vt -0.000000 0.250000
vt 0.937500 0.000000
vt 1.000000 0.937500
vt 0.062500 0.875000
vt 0.937500 0.875000
vt 0.062500 0.062500
vt 0.937500 0.062500
vt 0.437500 0.937500
vt 0.000000 0.062500
vt 1.000000 0.062500
vt 0.875000 1.000000
vt 0.875000 0.000000
vt 1.000000 1.000000
vt 0.062500 0.687500
vt -0.000000 0.687500
vt 0.125000 0.687500
vt 0.125000 -0.000000
vt 1.000000 0.687500
vt 0.937500 0.687500
vt 0.875000 0.687500
vt 0.875000 0.062500
vt 0.875000 0.937500
vt 0.125000 0.062500
vt 0.125000 0.937500
vt 0.125000 1.000000
vt 0.875000 0.625000
vt 0.125000 0.625000
vt 0.125000 0.500000
vt 0.875000 0.500000
vt 0.875000 0.375000
vt 0.125000 0.375000
vt 0.125000 0.125000
vt 0.875000 0.125000
vt 0.062500 1.000000
vt 0.125000 0.437500
vt 0.875000 0.437500
vt 0.125000 0.750000
vt 0.875000 0.750000
vt 0.000000 0.437500
vt 0.062500 0.437500
vt 0.937500 0.437500
vt 1.000000 0.437500
vt -0.000000 0.562500
vt 0.062500 0.562500
vt 0.125000 0.562500
vt 0.875000 0.562500
vt 0.937500 0.562500
vt 1.000000 0.562500
vt 0.500000 0.091582
vt 0.250000 0.125000
vt 0.250000 0.375000
vt 0.187500 0.437500
vt 0.187500 0.062500
vt 0.750000 0.375000
vt 0.812500 0.437500
vt 0.750000 0.125000
vt 0.812500 0.062500
vt 0.812500 0.500000
vt 0.187500 0.500000
vn -1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 1.000000
vn 0.707100 0.707100 0.000000
vn -0.707100 0.707100 0.000000
vn 0.000000 0.707100 -0.707100
vn 0.000000 0.707100 0.707100
g Cube_Cube_frame-metal
s off
f 85/1/1 6/2/1 2/3/1 86/4/1
f 87/1/2 8/2/2 4/3/2 88/4/2
f 11/5/3 90/6/3 87/7/3 7/8/3
f 87/8/3 90/5/3 128/9/3 12/6/3 8/7/3
f 1/7/4 86/10/4 91/3/4 92/11/4
f 7/12/2 87/13/2 88/10/2 3/14/2
f 5/12/1 85/13/1 86/10/1 1/14/1
f 88/4/4 4/15/4 117/8/4 118/14/4
f 119/16/3 92/11/3 117/8/3 120/17/3
f 121/3/5 125/18/5 126/19/5 122/14/5
f 120/14/6 124/19/6 123/18/6 119/3/6
f 85/6/3 89/7/3 10/8/3 6/5/3
f 89/8/3 85/5/3 5/6/3 9/7/3 127/20/3
f 133/19/1 91/14/1 119/10/1 123/21/1
f 118/14/2 134/19/2 124/21/2 120/10/2
f 122/4/2 126/22/2 134/18/2 118/3/2
f 125/22/1 121/4/1 91/3/1 133/18/1
f 137/7/4 135/10/4 140/3/4 139/11/4
f 136/4/4 138/15/4 142/8/4 141/14/4
f 143/18/4 140/3/4 141/14/4 144/19/4
g Cube_Cube_head-foot-wood
f 50/23/6 46/24/6 47/4/6 51/25/6
f 17/26/1 18/27/1 14/10/1 13/3/1
f 18/28/5 19/27/5 15/10/5 14/29/5
f 19/30/2 20/31/2 16/14/2 15/4/2
f 20/30/6 17/32/6 13/24/6 16/4/6
f 13/33/4 14/24/4 15/4/4 16/22/4
f 20/15/3 19/25/3 18/23/3 17/34/3
f 25/26/1 26/27/1 22/10/1 21/3/1
f 26/30/5 27/32/5 23/24/5 22/4/5
f 27/30/2 28/31/2 24/14/2 23/4/2
f 28/28/6 25/27/6 21/10/6 24/29/6
f 21/21/4 22/10/4 23/29/4 24/35/4
f 28/36/3 27/37/3 26/6/3 25/7/3
f 44/38/6 41/39/6 37/40/6 40/41/6
f 34/42/5 35/43/5 31/44/5 30/45/5
f 42/38/5 43/39/5 39/40/5 38/41/5
f 49/5/1 45/14/1 46/4/1 50/25/1
f 29/35/4 30/29/4 31/24/4 32/33/4
f 36/34/3 35/23/3 34/37/3 33/36/3
f 37/35/4 38/29/4 39/24/4 40/33/4
f 44/34/3 43/23/3 42/37/3 41/36/3
f 51/6/2 47/10/2 48/3/2 52/46/2
f 52/6/5 48/10/5 45/29/5 49/37/5
f 45/34/4 48/15/4 47/25/4 46/23/4
f 52/22/3 49/33/3 50/24/3 51/4/3
f 57/5/1 53/14/1 54/4/1 58/25/1
f 58/6/6 54/10/6 55/29/6 59/37/6
f 59/6/2 55/10/2 56/3/2 60/46/2
f 60/23/5 56/24/5 53/4/5 57/25/5
f 53/7/4 56/36/4 55/37/4 54/6/4
f 60/35/3 57/21/3 58/10/3 59/29/3
f 76/28/5 72/47/5 69/48/5 73/32/5
f 66/43/6 62/44/6 63/45/6 67/42/6
f 74/28/6 70/47/6 71/48/6 75/32/6
f 61/36/4 64/34/4 63/23/4 62/37/4
f 68/33/3 65/35/3 66/29/3 67/24/3
f 69/36/4 72/34/4 71/23/4 70/37/4
f 76/33/3 73/35/3 74/29/3 75/24/3
f 84/36/5 80/49/5 77/50/5 81/34/5
f 82/36/6 78/49/6 79/50/6 83/34/6
f 77/36/4 80/34/4 79/23/4 78/37/4
f 84/33/3 81/35/3 82/29/3 83/24/3
g Cube_Cube_white-wool
f 127/51/1 9/10/1 93/3/1 129/52/1
f 9/3/6 12/14/6 96/19/6 93/18/6
f 130/48/7 100/24/7 96/14/7 132/53/7
f 100/45/6 97/44/6 93/18/6 96/19/6
f 97/29/8 131/47/8 129/52/8 93/3/8
f 100/24/3 130/48/3 131/47/3 97/29/3
f 12/4/2 128/54/2 132/53/2 96/14/2
g Cube_Cube_colored-wool
f 11/3/5 10/14/5 94/19/5 95/18/5
f 90/6/2 11/21/2 95/18/2 108/46/2
f 10/22/1 89/25/1 106/5/1 94/19/1
f 128/55/2 90/21/2 108/18/2 132/56/2
f 105/23/8 98/33/8 94/19/8 106/5/8
f 107/37/3 99/35/3 98/33/3 105/23/3
f 130/57/3 107/35/3 105/33/3 131/58/3
f 99/35/7 107/37/7 108/46/7 95/18/7
f 131/58/8 105/33/8 106/19/8 129/59/8
f 107/35/7 130/57/7 132/56/7 108/18/7
f 89/22/1 127/60/1 129/59/1 106/19/1
f 98/45/5 99/44/5 145/61/5
f 99/44/5 95/18/5 145/61/5
f 95/18/5 94/19/5 145/61/5
f 94/19/5 98/45/5 145/61/5
g Cube_Cube_bottom-stuff
f 134/5/3 126/19/3 125/18/3 133/46/3
f 124/8/3 134/14/3 133/3/3 123/11/3
g Cube_Cube_pillow
f 113/62/8 114/63/8 110/64/8 109/65/8
f 114/63/9 115/66/9 111/67/9 110/64/9
f 115/66/7 116/68/7 112/69/7 111/67/7
f 116/68/3 115/66/3 114/63/3 113/62/3
f 109/65/10 112/69/10 116/68/10 113/62/10
f 104/65/2 103/64/2 111/47/2 112/35/2
f 103/64/5 102/67/5 110/70/5 111/71/5
f 102/67/1 101/69/1 109/33/1 110/48/1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 B