forked from nalc/homedecor_modpack
convert beds to param2 colorization
as a side effect, this also fixes the bug where you couldn't stack beds to form "bunk" beds. Place a bed, right-click it with dye to color it. Place two beds side by side and they'll form a king-size bed, which you can right right-click with dye to color. Place a regular bed, then right-click it while wielding another regular bed (i.e. as if you were trying to place it) and, if there is room above the first bed, the second will be placed on top and the bedposts on the bottom one will extend to reach it. Color either of the two by right-clicking with dye. Shift-right-click forces placement of a regular bed without trying to stack it into bunks. Right-click while NOT wielding a bed or dye will attempt to let you sleep (via default beds code).
This commit is contained in:
parent
70ba7db599
commit
f6aa12aef9
@ -3,32 +3,14 @@ local S = homedecor_i18n.gettext
|
|||||||
|
|
||||||
local function N_(x) return x end
|
local function N_(x) return x end
|
||||||
|
|
||||||
local bedcolors = {
|
|
||||||
{ S("black"), "black", "#000000:200" }, --new cg72
|
|
||||||
{ S("brown"), "brown", "#603010:175" },
|
|
||||||
{ S("blue"), "blue", "#0000d0:150" },
|
|
||||||
{ S("cyan"), "cyan", "#009fa7:150" }, --new cg72
|
|
||||||
{ S("dark grey"), "darkgrey", "#101010:175" },
|
|
||||||
{ S("dark green"), "dark_green", "#007000:150" },
|
|
||||||
{ S("green"), "green", "#00d000:150" }, --new cg72
|
|
||||||
{ S("grey"), "grey", "#101010:100" }, --new cg72
|
|
||||||
{ S("magenta"), "magenta", "#e0048b:150" }, --new cg72
|
|
||||||
{ S("orange"), "orange", "#ff3000:150" },
|
|
||||||
{ S("pink"), "pink", "#ff80b0:150" },
|
|
||||||
{ S("red"), "red", "#d00000:150" },
|
|
||||||
{ S("violet"), "violet", "#7000e0:150" },
|
|
||||||
{ S("white"), "white", "#000000:000" }, --new cg72
|
|
||||||
{ S("yellow"), "yellow", "#ffe000:150" }
|
|
||||||
}
|
|
||||||
|
|
||||||
local bed_sbox = {
|
local bed_sbox = {
|
||||||
type = "fixed",
|
type = "wallmounted",
|
||||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
|
wall_side = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
|
||||||
}
|
}
|
||||||
|
|
||||||
local bed_cbox = {
|
local bed_cbox = {
|
||||||
type = "fixed",
|
type = "wallmounted",
|
||||||
fixed = {
|
wall_side = {
|
||||||
{ -0.5, -0.5, -0.5, 0.5, -0.05, 1.5 },
|
{ -0.5, -0.5, -0.5, 0.5, -0.05, 1.5 },
|
||||||
{ -0.5, -0.5, 1.44, 0.5, 0.5, 1.5 },
|
{ -0.5, -0.5, 1.44, 0.5, 0.5, 1.5 },
|
||||||
{ -0.5, -0.5, -0.5, 0.5, 0.18, -0.44 },
|
{ -0.5, -0.5, -0.5, 0.5, 0.18, -0.44 },
|
||||||
@ -36,125 +18,141 @@ local bed_cbox = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
local kbed_sbox = {
|
local kbed_sbox = {
|
||||||
type = "fixed",
|
type = "wallmounted",
|
||||||
fixed = { -0.5, -0.5, -0.5, 1.5, 0.5, 1.5 }
|
wall_side = { -0.5, -0.5, -0.5, 1.5, 0.5, 1.5 }
|
||||||
}
|
}
|
||||||
|
|
||||||
local kbed_cbox = {
|
local kbed_cbox = {
|
||||||
type = "fixed",
|
type = "wallmounted",
|
||||||
fixed = {
|
wall_side = {
|
||||||
{ -0.5, -0.5, -0.5, 1.5, -0.05, 1.5 },
|
{ -0.5, -0.5, -0.5, 1.5, -0.05, 1.5 },
|
||||||
{ -0.5, -0.5, 1.44, 1.5, 0.5, 1.5 },
|
{ -0.5, -0.5, 1.44, 1.5, 0.5, 1.5 },
|
||||||
{ -0.5, -0.5, -0.5, 1.5, 0.18, -0.44 },
|
{ -0.5, -0.5, -0.5, 1.5, 0.18, -0.44 },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, c in ipairs(bedcolors) do
|
homedecor.register("bed_regular", {
|
||||||
local colordesc, color, hue = unpack(c)
|
mesh = "homedecor_bed_regular.obj",
|
||||||
local color2=color
|
tiles = {
|
||||||
|
{ name = "homedecor_bed_frame.png", color = 0xffffffff },
|
||||||
if color == "darkgrey" then
|
{ name = "default_wood.png", color = 0xffffffff },
|
||||||
color2 = "dark_grey"
|
{ name = "wool_white.png", color = 0xffffffff },
|
||||||
|
"wool_white.png",
|
||||||
|
{ name = "homedecor_bed_bottom.png", color = 0xffffffff },
|
||||||
|
"wool_white.png^[brighten", -- pillow
|
||||||
|
},
|
||||||
|
inventory_image = "homedecor_bed_inv.png",
|
||||||
|
paramtype2 = "colorwallmounted",
|
||||||
|
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||||
|
description = S("Bed"),
|
||||||
|
groups = {snappy=3},
|
||||||
|
selection_box = bed_sbox,
|
||||||
|
node_box = bed_cbox,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
on_rotate = screwdriver.disallow,
|
||||||
|
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
||||||
|
homedecor.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
|
||||||
|
if not placer:get_player_control().sneak then
|
||||||
|
return homedecor.bed_expansion(pos, placer, itemstack, pointed_thing)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
after_dig_node = function(pos)
|
||||||
|
homedecor.unextend_bed(pos)
|
||||||
|
end,
|
||||||
|
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||||
|
local itemname = itemstack:get_name()
|
||||||
|
if string.find(itemname, "dye:") or string.find(itemname, "unifieddyes:") then
|
||||||
|
unifieddyes.on_rightclick(pos, node, clicker,
|
||||||
|
itemstack, pointed_thing, "homedecor:bed_regular", "wallmounted")
|
||||||
|
elseif itemname == "homedecor:bed_regular" then
|
||||||
|
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
|
||||||
|
return itemstack
|
||||||
|
else
|
||||||
|
if minetest.get_modpath("beds") then
|
||||||
|
beds.on_rightclick(pos, clicker)
|
||||||
|
end
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
end
|
end
|
||||||
homedecor.register("bed_"..color.."_regular", {
|
})
|
||||||
mesh = "homedecor_bed_regular.obj",
|
|
||||||
tiles = {
|
homedecor.register("bed_extended", {
|
||||||
"homedecor_bed_frame.png",
|
mesh = "homedecor_bed_extended.obj",
|
||||||
"default_wood.png",
|
tiles = {
|
||||||
"wool_white.png",
|
{ name = "homedecor_bed_frame.png", color = 0xffffffff },
|
||||||
"wool_"..color2..".png",
|
{ name = "default_wood.png", color = 0xffffffff },
|
||||||
"homedecor_bed_bottom.png",
|
{ name = "wool_white.png", color = 0xffffffff },
|
||||||
"wool_"..color2..".png^[brighten", -- pillow
|
"wool_white.png",
|
||||||
},
|
{ name = "homedecor_bed_bottom.png", color = 0xffffffff },
|
||||||
inventory_image = "homedecor_bed_inv.png^(homedecor_bed_overlay_inv.png^[colorize:"..hue..")",
|
"wool_white.png^[brighten",
|
||||||
description = S("Bed (@1)", colordesc),
|
},
|
||||||
groups = {snappy=3},
|
paramtype2 = "colorwallmounted",
|
||||||
selection_box = bed_sbox,
|
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||||
collision_box = bed_cbox,
|
selection_box = bed_sbox,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
node_box = bed_cbox,
|
||||||
on_rotate = screwdriver.disallow,
|
groups = {snappy=3},
|
||||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
sounds = default.node_sound_wood_defaults(),
|
||||||
if not placer:get_player_control().sneak then
|
expand = { forward = "air" },
|
||||||
return homedecor.bed_expansion(pos, placer, itemstack, pointed_thing, color)
|
on_rotate = screwdriver.disallow,
|
||||||
end
|
after_dig_node = function(pos)
|
||||||
end,
|
homedecor.unextend_bed(pos)
|
||||||
after_dig_node = function(pos)
|
end,
|
||||||
homedecor.unextend_bed(pos, color)
|
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||||
end,
|
local itemname = itemstack:get_name()
|
||||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
if string.find(itemname, "dye:") or string.find(itemname, "unifieddyes:") then
|
||||||
|
unifieddyes.on_rightclick(pos, node, clicker,
|
||||||
|
itemstack, pointed_thing, "homedecor:bed_extended", "wallmounted")
|
||||||
|
else
|
||||||
if minetest.get_modpath("beds") then
|
if minetest.get_modpath("beds") then
|
||||||
beds.on_rightclick(pos, clicker)
|
beds.on_rightclick(pos, clicker)
|
||||||
end
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
})
|
end,
|
||||||
|
drop = "homedecor:bed_regular"
|
||||||
|
})
|
||||||
|
|
||||||
homedecor.register("bed_"..color.."_extended", {
|
homedecor.register("bed_kingsize", {
|
||||||
mesh = "homedecor_bed_extended.obj",
|
mesh = "homedecor_bed_kingsize.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
"homedecor_bed_frame.png",
|
{ name = "homedecor_bed_frame.png", color = 0xffffffff },
|
||||||
"default_wood.png",
|
{ name = "default_wood.png", color = 0xffffffff },
|
||||||
"wool_white.png",
|
{ name = "wool_white.png", color = 0xffffffff },
|
||||||
"wool_"..color2..".png",
|
"wool_white.png",
|
||||||
"homedecor_bed_bottom.png",
|
{ name = "homedecor_bed_bottom.png", color = 0xffffffff },
|
||||||
"wool_"..color2..".png^[brighten",
|
"wool_white.png^[brighten",
|
||||||
},
|
},
|
||||||
selection_box = bed_sbox,
|
paramtype2 = "colorwallmounted",
|
||||||
collision_box = bed_cbox,
|
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||||
sounds = default.node_sound_wood_defaults(),
|
inventory_image = "homedecor_bed_kingsize_inv.png",
|
||||||
expand = { forward = "air" },
|
groups = {snappy=3, not_in_creative_inventory=1},
|
||||||
on_rotate = screwdriver.disallow,
|
description = S("Bed (king sized)"),
|
||||||
after_dig_node = function(pos)
|
groups = {snappy=3, not_in_creative_inventory=1},
|
||||||
homedecor.unextend_bed(pos, color)
|
selection_box = kbed_sbox,
|
||||||
end,
|
node_box = kbed_cbox,
|
||||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
sounds = default.node_sound_wood_defaults(),
|
||||||
if minetest.get_modpath("beds") then
|
on_rotate = screwdriver.disallow,
|
||||||
beds.on_rightclick(pos, clicker)
|
after_place_node = homedecor.fix_rotation_nsew,
|
||||||
end
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
return itemstack
|
local inv = digger:get_inventory()
|
||||||
end,
|
if digger:get_player_control().sneak and inv:room_for_item("main", "bed_regular 1") then
|
||||||
drop = "homedecor:bed_"..color.."_regular"
|
inv:remove_item("main", "homedecor:bed_kingsize 1")
|
||||||
})
|
inv:add_item("main", "homedecor:bed_regular 2")
|
||||||
|
end
|
||||||
homedecor.register("bed_"..color.."_kingsize", {
|
end,
|
||||||
mesh = "homedecor_bed_kingsize.obj",
|
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||||
tiles = {
|
local itemname = itemstack:get_name()
|
||||||
"homedecor_bed_frame.png",
|
if string.find(itemname, "dye:") or string.find(itemname, "unifieddyes:") then
|
||||||
"default_wood.png",
|
unifieddyes.on_rightclick(pos, node, clicker,
|
||||||
"wool_white.png",
|
itemstack, pointed_thing, "homedecor:bed_kingsize", "wallmounted")
|
||||||
"wool_"..color2..".png",
|
else
|
||||||
"homedecor_bed_bottom.png",
|
|
||||||
"wool_"..color2..".png^[brighten",
|
|
||||||
},
|
|
||||||
inventory_image = "homedecor_bed_kingsize_inv.png^(homedecor_bed_kingsize_overlay_inv.png^[colorize:"..hue..")",
|
|
||||||
groups = {snappy=3, not_in_creative_inventory=1},
|
|
||||||
description = S("Bed (@1, king sized)", colordesc),
|
|
||||||
groups = {snappy=3, not_in_creative_inventory=1},
|
|
||||||
selection_box = kbed_sbox,
|
|
||||||
collision_box = kbed_cbox,
|
|
||||||
sounds = default.node_sound_wood_defaults(),
|
|
||||||
on_rotate = screwdriver.disallow,
|
|
||||||
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
|
||||||
local inv = digger:get_inventory()
|
|
||||||
if digger:get_player_control().sneak and inv:room_for_item("main", "bed_"..color.."_regular 1") then
|
|
||||||
inv:remove_item("main", "homedecor:bed_"..color.."_kingsize 1")
|
|
||||||
inv:add_item("main", "homedecor:bed_"..color.."_regular 2")
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
|
||||||
if minetest.get_modpath("beds") then
|
if minetest.get_modpath("beds") then
|
||||||
beds.on_rightclick(pos, clicker)
|
beds.on_rightclick(pos, clicker)
|
||||||
end
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
})
|
end
|
||||||
|
})
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
for _, w in pairs({ N_("mahogany"), N_("oak") }) do
|
for _, w in pairs({ N_("mahogany"), N_("oak") }) do
|
||||||
homedecor.register("nightstand_"..w.."_one_drawer", {
|
homedecor.register("nightstand_"..w.."_one_drawer", {
|
||||||
@ -212,3 +210,75 @@ for _, w in pairs({ N_("mahogany"), N_("oak") }) do
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- convert to param2 colorization
|
||||||
|
|
||||||
|
local bedcolors = {
|
||||||
|
"black",
|
||||||
|
"brown",
|
||||||
|
"blue",
|
||||||
|
"cyan",
|
||||||
|
"darkgrey",
|
||||||
|
"dark_green",
|
||||||
|
"green",
|
||||||
|
"grey",
|
||||||
|
"magenta",
|
||||||
|
"orange",
|
||||||
|
"pink",
|
||||||
|
"red",
|
||||||
|
"violet",
|
||||||
|
"white",
|
||||||
|
"yellow"
|
||||||
|
}
|
||||||
|
|
||||||
|
homedecor.old_bed_nodes = {}
|
||||||
|
|
||||||
|
for _, color in ipairs(bedcolors) do
|
||||||
|
table.insert(homedecor.old_bed_nodes, "homedecor:bed_"..color.."_regular")
|
||||||
|
table.insert(homedecor.old_bed_nodes, "homedecor:bed_"..color.."_extended")
|
||||||
|
table.insert(homedecor.old_bed_nodes, "homedecor:bed_"..color.."_kingsize")
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_lbm({
|
||||||
|
name = "homedecor:convert_beds",
|
||||||
|
label = "Convert homedecor static bed nodes to use param2 color",
|
||||||
|
run_at_every_load = true,
|
||||||
|
nodenames = homedecor.old_bed_nodes,
|
||||||
|
action = function(pos, node)
|
||||||
|
local name = node.name
|
||||||
|
local color = string.sub(name, string.find(name, "_") + 1)
|
||||||
|
local color = string.sub(color, 1, string.find(color, "_", -10) - 1) -- -10 puts us near the end of the color field
|
||||||
|
|
||||||
|
if color == "darkgrey" then
|
||||||
|
color = "dark_grey"
|
||||||
|
end
|
||||||
|
|
||||||
|
local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
|
||||||
|
local old_fdir = math.floor(node.param2 % 32)
|
||||||
|
local new_fdir = 3
|
||||||
|
|
||||||
|
if old_fdir == 0 then
|
||||||
|
new_fdir = 3
|
||||||
|
elseif old_fdir == 1 then
|
||||||
|
new_fdir = 4
|
||||||
|
elseif old_fdir == 2 then
|
||||||
|
new_fdir = 2
|
||||||
|
elseif old_fdir == 3 then
|
||||||
|
new_fdir = 5
|
||||||
|
end
|
||||||
|
|
||||||
|
local param2 = paletteidx + new_fdir
|
||||||
|
|
||||||
|
if string.find(name, "regular") then
|
||||||
|
new_name = "homedecor:bed_regular"
|
||||||
|
elseif string.find(name, "extended") then
|
||||||
|
new_name = "homedecor:bed_extended"
|
||||||
|
else
|
||||||
|
new_name = "homedecor:bed_kingsize"
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.set_node(pos, { name = new_name, param2 = param2 })
|
||||||
|
local meta = minetest.get_meta(pos)
|
||||||
|
meta:set_string("dye", "unifieddyes:"..color)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
@ -22,6 +22,35 @@ homedecor.fdir_to_fwd = {
|
|||||||
{ -1, 0 },
|
{ -1, 0 },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- special case for wallmounted nodes
|
||||||
|
|
||||||
|
homedecor.wall_fdir_to_right = {
|
||||||
|
nil,
|
||||||
|
nil,
|
||||||
|
{ -1, 0 },
|
||||||
|
{ 1, 0 },
|
||||||
|
{ 0, -1 },
|
||||||
|
{ 0, 1 },
|
||||||
|
}
|
||||||
|
|
||||||
|
homedecor.wall_fdir_to_left = {
|
||||||
|
nil,
|
||||||
|
nil,
|
||||||
|
{ 1, 0 },
|
||||||
|
{ -1, 0 },
|
||||||
|
{ 0, 1 },
|
||||||
|
{ 0, -1 },
|
||||||
|
}
|
||||||
|
|
||||||
|
homedecor.wall_fdir_to_fwd = {
|
||||||
|
nil,
|
||||||
|
nil,
|
||||||
|
{ 0, -1 },
|
||||||
|
{ 0, 1 },
|
||||||
|
{ 1, 0 },
|
||||||
|
{ -1, 0 },
|
||||||
|
}
|
||||||
|
|
||||||
local placeholder_node = "homedecor:expansion_placeholder"
|
local placeholder_node = "homedecor:expansion_placeholder"
|
||||||
minetest.register_node(placeholder_node, {
|
minetest.register_node(placeholder_node, {
|
||||||
description = "Expansion placeholder (you hacker you!)",
|
description = "Expansion placeholder (you hacker you!)",
|
||||||
@ -125,7 +154,7 @@ function homedecor.stack_wing(itemstack, placer, pointed_thing, node1, node2, no
|
|||||||
local forceright = placer:get_player_control()["sneak"]
|
local forceright = placer:get_player_control()["sneak"]
|
||||||
local fdir = minetest.dir_to_facedir(placer:get_look_dir())
|
local fdir = minetest.dir_to_facedir(placer:get_look_dir())
|
||||||
|
|
||||||
local is_right_wing = node1 == minetest.get_node({ x = pos.x + homedecor.fdir_to_left[fdir+1][1], y=pos.y, z = pos.z + homedecor.fdir_to_left[fdir+1][2] }).name
|
local is_right_wing = node1 == minetest.get_node({ x = pos.x + homedecor.wall_fdir_to_left[fdir+1][1], y=pos.y, z = pos.z + homedecor.fdir_to_left[fdir+1][2] }).name
|
||||||
if forceright or is_right_wing then
|
if forceright or is_right_wing then
|
||||||
node1, node2 = node1_right, node2_right
|
node1, node2 = node1_right, node2_right
|
||||||
end
|
end
|
||||||
@ -142,20 +171,20 @@ function homedecor.stack_sideways(itemstack, placer, pointed_thing, node1, node2
|
|||||||
if not pos then return itemstack end
|
if not pos then return itemstack end
|
||||||
|
|
||||||
local fdir = minetest.dir_to_facedir(placer:get_look_dir())
|
local fdir = minetest.dir_to_facedir(placer:get_look_dir())
|
||||||
local fdir_transform = dir and homedecor.fdir_to_right or homedecor.fdir_to_fwd
|
local fdir_transform = dir and homedecor.wall_fdir_to_right or homedecor.wall_dir_to_fwd
|
||||||
|
|
||||||
local pos2 = { x = pos.x + fdir_transform[fdir+1][1], y=pos.y, z = pos.z + fdir_transform[fdir+1][2] }
|
local pos2 = { x = pos.x + fdir_transform[fdir+1][1], y=pos.y, z = pos.z + fdir_transform[fdir+1][2] }
|
||||||
|
|
||||||
return stack(itemstack, placer, fdir, pos, def, pos2, node1, node2)
|
return stack(itemstack, placer, fdir, pos, def, pos2, node1, node2)
|
||||||
end
|
end
|
||||||
|
|
||||||
function homedecor.bed_expansion(pos, placer, itemstack, pointed_thing, color)
|
function homedecor.bed_expansion(pos, placer, itemstack, pointed_thing, trybunks)
|
||||||
|
|
||||||
local thisnode = minetest.get_node(pos)
|
local thisnode = minetest.get_node(pos)
|
||||||
local fdir = thisnode.param2
|
local fdir = thisnode.param2
|
||||||
|
|
||||||
local fxd = homedecor.fdir_to_fwd[fdir+1][1]
|
local fxd = homedecor.wall_fdir_to_fwd[fdir+1][1]
|
||||||
local fzd = homedecor.fdir_to_fwd[fdir+1][2]
|
local fzd = homedecor.wall_fdir_to_fwd[fdir+1][2]
|
||||||
|
|
||||||
local forwardpos = {x=pos.x+fxd, y=pos.y, z=pos.z+fzd}
|
local forwardpos = {x=pos.x+fxd, y=pos.y, z=pos.z+fzd}
|
||||||
local forwardnode = minetest.get_node(forwardpos)
|
local forwardnode = minetest.get_node(forwardpos)
|
||||||
@ -176,48 +205,50 @@ function homedecor.bed_expansion(pos, placer, itemstack, pointed_thing, color)
|
|||||||
|
|
||||||
minetest.set_node(forwardpos, {name = "air"})
|
minetest.set_node(forwardpos, {name = "air"})
|
||||||
|
|
||||||
local lxd = homedecor.fdir_to_left[fdir+1][1]
|
local lxd = homedecor.wall_fdir_to_left[fdir+1][1]
|
||||||
local lzd = homedecor.fdir_to_left[fdir+1][2]
|
local lzd = homedecor.wall_fdir_to_left[fdir+1][2]
|
||||||
local leftpos = {x=pos.x+lxd, y=pos.y, z=pos.z+lzd}
|
local leftpos = {x=pos.x+lxd, y=pos.y, z=pos.z+lzd}
|
||||||
local leftnode = minetest.get_node(leftpos)
|
local leftnode = minetest.get_node(leftpos)
|
||||||
|
|
||||||
local rxd = homedecor.fdir_to_right[fdir+1][1]
|
local rxd = homedecor.wall_fdir_to_right[fdir+1][1]
|
||||||
local rzd = homedecor.fdir_to_right[fdir+1][2]
|
local rzd = homedecor.wall_fdir_to_right[fdir+1][2]
|
||||||
local rightpos = {x=pos.x+rxd, y=pos.y, z=pos.z+rzd}
|
local rightpos = {x=pos.x+rxd, y=pos.y, z=pos.z+rzd}
|
||||||
local rightnode = minetest.get_node(rightpos)
|
local rightnode = minetest.get_node(rightpos)
|
||||||
|
|
||||||
if leftnode.name == "homedecor:bed_"..color.."_regular" then
|
if leftnode.name == "homedecor:bed_regular" then
|
||||||
local newname = string.gsub(thisnode.name, "_regular", "_kingsize")
|
local newname = string.gsub(thisnode.name, "_regular", "_kingsize")
|
||||||
minetest.set_node(pos, {name = "air"})
|
minetest.set_node(pos, {name = "air"})
|
||||||
minetest.set_node(leftpos, { name = newname, param2 = fdir})
|
minetest.set_node(leftpos, { name = newname, param2 = fdir})
|
||||||
elseif rightnode.name == "homedecor:bed_"..color.."_regular" then
|
elseif rightnode.name == "homedecor:bed_regular" then
|
||||||
local newname = string.gsub(thisnode.name, "_regular", "_kingsize")
|
local newname = string.gsub(thisnode.name, "_regular", "_kingsize")
|
||||||
minetest.set_node(rightpos, {name = "air"})
|
minetest.set_node(rightpos, {name = "air"})
|
||||||
minetest.set_node(pos, { name = newname, param2 = fdir})
|
minetest.set_node(pos, { name = newname, param2 = fdir})
|
||||||
end
|
end
|
||||||
|
|
||||||
local topnode = minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z})
|
local toppos = {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 botpos = {x=pos.x, y=pos.y-1.0, z=pos.z}
|
||||||
|
|
||||||
if string.find(topnode.name, "homedecor:bed_.*_regular$") then
|
local topposfwd = {x=toppos.x+fxd, y=toppos.y, z=toppos.z+fzd}
|
||||||
if fdir == topnode.param2 then
|
local topnodefwd = minetest.get_node(topposfwd)
|
||||||
local newname = string.gsub(thisnode.name, "_regular", "_extended")
|
|
||||||
minetest.set_node(pos, { name = newname, param2 = fdir})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if string.find(bottomnode.name, "homedecor:bed_.*_regular$") then
|
local topnode = minetest.get_node(toppos)
|
||||||
if fdir == bottomnode.param2 then
|
local bottomnode = minetest.get_node(botpos)
|
||||||
local newname = string.gsub(bottomnode.name, "_regular", "_extended")
|
|
||||||
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newname, param2 = fdir})
|
print(topnode.name, thisnode.name, bottomnode.name, itemstack:get_name(), dump(trybunks))
|
||||||
end
|
|
||||||
|
if trybunks and is_buildable_to(placer_name, toppos, topposfwd) then
|
||||||
|
print("want to stack beds, top seems to be clear")
|
||||||
|
local newname = string.gsub(thisnode.name, "_regular", "_extended")
|
||||||
|
minetest.set_node(toppos, { name = thisnode.name, param2 = fdir})
|
||||||
|
minetest.set_node(pos, { name = newname, param2 = fdir})
|
||||||
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function homedecor.unextend_bed(pos, color)
|
function homedecor.unextend_bed(pos)
|
||||||
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_.*_extended$") then
|
if bottomnode.name == "homedecor:bed_extended" then
|
||||||
local newname = string.gsub(bottomnode.name, "_extended", "_regular")
|
local newname = string.gsub(bottomnode.name, "_extended", "_regular")
|
||||||
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newname, param2 = fdir})
|
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newname, param2 = fdir})
|
||||||
end
|
end
|
||||||
|
@ -1,158 +1,158 @@
|
|||||||
# Blender v2.73 (sub 0) OBJ File: 'bed-extended.blend'
|
# Blender v2.72 (sub 0) OBJ File: 'bed-extended.blend'
|
||||||
# www.blender.org
|
# www.blender.org
|
||||||
o Cube
|
o Cube
|
||||||
v -0.500000 -0.375000 1.437500
|
v -1.437500 0.500000 -0.375000
|
||||||
v -0.500000 -0.375000 -0.437500
|
v 0.437500 0.500000 -0.375000
|
||||||
v 0.500000 -0.375000 -0.437500
|
v 0.437500 -0.500000 -0.375000
|
||||||
v 0.500000 -0.375000 1.437500
|
v -1.437500 -0.500000 -0.375000
|
||||||
v -0.500000 -0.125000 1.437500
|
v -1.437500 0.500000 -0.125000
|
||||||
v -0.500000 -0.125000 -0.437500
|
v 0.437500 0.500000 -0.125000
|
||||||
v 0.500000 -0.125000 -0.437500
|
v 0.437500 -0.500000 -0.125000
|
||||||
v 0.500000 -0.125000 1.437500
|
v -1.437500 -0.500000 -0.125000
|
||||||
v -0.437500 -0.125000 1.437500
|
v -1.437500 0.437500 -0.125000
|
||||||
v -0.437500 -0.125000 -0.437500
|
v 0.437500 0.437500 -0.125000
|
||||||
v 0.437500 -0.125000 -0.437500
|
v 0.437500 -0.437500 -0.125000
|
||||||
v 0.437500 -0.125000 1.437500
|
v -1.437500 -0.437500 -0.125000
|
||||||
v 0.375000 -0.500000 -0.437500
|
v 0.437500 -0.375000 -0.500000
|
||||||
v 0.375000 -0.500000 -0.500000
|
v 0.500000 -0.375000 -0.500000
|
||||||
v 0.500000 -0.500000 -0.500000
|
v 0.500000 -0.500000 -0.500000
|
||||||
v 0.500000 -0.500000 -0.437500
|
v 0.437500 -0.500000 -0.500000
|
||||||
v 0.375000 0.500000 -0.437500
|
v 0.437500 -0.375000 0.500000
|
||||||
v 0.375000 0.500000 -0.500000
|
v 0.500000 -0.375000 0.500000
|
||||||
|
v 0.500000 -0.500000 0.500000
|
||||||
|
v 0.437500 -0.500000 0.500000
|
||||||
|
v 0.437500 0.500000 -0.500000
|
||||||
v 0.500000 0.500000 -0.500000
|
v 0.500000 0.500000 -0.500000
|
||||||
v 0.500000 0.500000 -0.437500
|
v 0.500000 0.375000 -0.500000
|
||||||
v -0.500000 -0.500000 -0.437500
|
v 0.437500 0.375000 -0.500000
|
||||||
v -0.500000 -0.500000 -0.500000
|
v 0.437500 0.500000 0.500000
|
||||||
v -0.375000 -0.500000 -0.500000
|
v 0.500000 0.500000 0.500000
|
||||||
v -0.375000 -0.500000 -0.437500
|
v 0.500000 0.375000 0.500000
|
||||||
v -0.500000 0.500000 -0.437500
|
v 0.437500 0.375000 0.500000
|
||||||
v -0.500000 0.500000 -0.500000
|
v 0.437500 0.375000 -0.375000
|
||||||
v -0.375000 0.500000 -0.500000
|
v 0.500000 0.375000 -0.375000
|
||||||
v -0.375000 0.500000 -0.437500
|
v 0.500000 -0.375000 -0.375000
|
||||||
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.078125 1.437500
|
|
||||||
v -0.437500 -0.078125 -0.437500
|
|
||||||
v 0.437500 -0.078125 -0.437500
|
|
||||||
v 0.437500 -0.078125 1.437500
|
|
||||||
v -0.406250 -0.046875 1.437500
|
|
||||||
v -0.406250 -0.046875 -0.437500
|
|
||||||
v 0.406250 -0.046875 -0.437500
|
|
||||||
v 0.406250 -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.406250 -0.046875 0.500000
|
|
||||||
v -0.437500 -0.078125 0.500000
|
|
||||||
v 0.406250 -0.046875 0.500000
|
|
||||||
v 0.437500 -0.078125 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.375000 -0.375000
|
||||||
v -0.437500 -0.312500 1.375000
|
v 0.437500 0.375000 -0.125000
|
||||||
v 0.437500 -0.312500 1.375000
|
v 0.500000 0.375000 -0.125000
|
||||||
v -0.437500 -0.312500 -0.375000
|
v 0.500000 -0.375000 -0.125000
|
||||||
v 0.437500 -0.312500 -0.375000
|
v 0.437500 -0.375000 -0.125000
|
||||||
v -0.437500 -0.125000 1.000000
|
v 0.437500 0.375000 0.000000
|
||||||
v 0.437500 -0.125000 1.000000
|
v 0.500000 0.375000 0.000000
|
||||||
v -0.437500 -0.078125 1.000000
|
v 0.500000 -0.375000 0.000000
|
||||||
v 0.406250 -0.046875 1.000000
|
v 0.437500 -0.375000 0.000000
|
||||||
v -0.406250 -0.046875 1.000000
|
v 0.437500 0.375000 0.125000
|
||||||
v 0.437500 -0.078125 1.000000
|
v 0.500000 0.375000 0.125000
|
||||||
v -0.437500 -0.312500 0.500000
|
v 0.500000 -0.375000 0.125000
|
||||||
v 0.437500 -0.312500 0.500000
|
v 0.437500 -0.375000 0.125000
|
||||||
v -0.500000 -0.375000 -0.437500
|
v -1.437500 -0.375000 -0.500000
|
||||||
v 0.500000 -0.375000 -0.437500
|
v -1.500000 -0.375000 -0.500000
|
||||||
v -0.500000 -0.375000 0.500000
|
v -1.500000 -0.500000 -0.500000
|
||||||
v 0.500000 -0.375000 0.500000
|
v -1.437500 -0.500000 -0.500000
|
||||||
v -0.437500 -0.375000 0.500000
|
v -1.437500 -0.375000 0.500000
|
||||||
v -0.437500 -0.375000 -0.437500
|
v -1.500000 -0.375000 0.500000
|
||||||
v 0.437500 -0.375000 -0.437500
|
v -1.500000 -0.500000 0.500000
|
||||||
v 0.437500 -0.375000 0.500000
|
v -1.437500 -0.500000 0.500000
|
||||||
v -0.437500 -0.375000 -0.375000
|
v -1.437500 0.500000 -0.500000
|
||||||
v 0.437500 -0.375000 -0.375000
|
v -1.500000 0.500000 -0.500000
|
||||||
v -0.375000 0.250000 -0.437500
|
v -1.500000 0.375000 -0.500000
|
||||||
v -0.375000 0.250000 -0.500000
|
v -1.437500 0.375000 -0.500000
|
||||||
v 0.375000 0.250000 -0.500000
|
v -1.437500 0.500000 0.500000
|
||||||
v 0.375000 0.250000 -0.437500
|
v -1.500000 0.500000 0.500000
|
||||||
v -0.375000 0.375000 -0.437500
|
v -1.500000 0.375000 0.500000
|
||||||
v -0.375000 0.375000 -0.500000
|
v -1.437500 0.375000 0.500000
|
||||||
v 0.375000 0.375000 -0.500000
|
v -1.437500 0.375000 -0.375000
|
||||||
v 0.375000 0.375000 -0.437500
|
v -1.500000 0.375000 -0.375000
|
||||||
|
v -1.500000 -0.375000 -0.375000
|
||||||
|
v -1.437500 -0.375000 -0.375000
|
||||||
|
v -1.437500 0.375000 -0.125000
|
||||||
|
v -1.500000 0.375000 -0.125000
|
||||||
|
v -1.500000 -0.375000 -0.125000
|
||||||
|
v -1.437500 -0.375000 -0.125000
|
||||||
|
v -1.437500 0.375000 -0.062500
|
||||||
|
v -1.500000 0.375000 -0.062500
|
||||||
|
v -1.500000 -0.375000 -0.062500
|
||||||
|
v -1.437500 -0.375000 -0.062500
|
||||||
|
v -1.437500 0.375000 0.187500
|
||||||
|
v -1.500000 0.375000 0.187500
|
||||||
|
v -1.500000 -0.375000 0.187500
|
||||||
|
v -1.437500 -0.375000 0.187500
|
||||||
|
v -1.437500 0.375000 0.250000
|
||||||
|
v -1.500000 0.375000 0.250000
|
||||||
|
v -1.500000 -0.375000 0.250000
|
||||||
|
v -1.437500 -0.375000 0.250000
|
||||||
|
v -1.437500 0.375000 0.437500
|
||||||
|
v -1.500000 0.375000 0.437500
|
||||||
|
v -1.500000 -0.375000 0.437500
|
||||||
|
v -1.437500 -0.375000 0.437500
|
||||||
|
v -0.500000 0.500000 -0.125000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 -0.500000 -0.125000
|
||||||
|
v -0.500000 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.437500 -0.125000
|
||||||
|
v -0.500000 -0.437500 -0.125000
|
||||||
|
v -0.500000 0.437500 -0.375000
|
||||||
|
v -1.437500 0.437500 -0.375000
|
||||||
|
v -1.437500 0.437500 -0.078125
|
||||||
|
v 0.437500 0.437500 -0.078125
|
||||||
|
v 0.437500 -0.437500 -0.078125
|
||||||
|
v -1.437500 -0.437500 -0.078125
|
||||||
|
v -1.437500 0.406250 -0.046875
|
||||||
|
v 0.437500 0.406250 -0.046875
|
||||||
|
v 0.437500 -0.406250 -0.046875
|
||||||
|
v -1.437500 -0.406250 -0.046875
|
||||||
|
v -1.437500 0.312500 -0.046875
|
||||||
|
v -1.062500 0.312500 -0.046875
|
||||||
|
v -1.062500 -0.312500 -0.046875
|
||||||
|
v -1.437500 -0.312500 -0.046875
|
||||||
|
v -0.500000 0.406250 -0.046875
|
||||||
|
v -0.500000 0.437500 -0.078125
|
||||||
|
v -0.500000 -0.406250 -0.046875
|
||||||
|
v -0.500000 -0.437500 -0.078125
|
||||||
|
v -1.437500 0.312500 -0.031250
|
||||||
|
v -1.062500 0.312500 -0.031250
|
||||||
|
v -1.062500 -0.312500 -0.031250
|
||||||
|
v -1.437500 -0.312500 -0.031250
|
||||||
|
v -1.375000 0.250000 0.031250
|
||||||
|
v -1.125000 0.250000 0.031250
|
||||||
|
v -1.125000 -0.250000 0.031250
|
||||||
|
v -1.375000 -0.250000 0.031250
|
||||||
|
v -1.437500 -0.437500 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.375000
|
||||||
|
v -1.375000 -0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v 0.375000 -0.437500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.312500
|
||||||
|
v -1.375000 -0.437500 -0.312500
|
||||||
|
v 0.375000 0.437500 -0.312500
|
||||||
|
v 0.375000 -0.437500 -0.312500
|
||||||
|
v -1.000000 0.437500 -0.125000
|
||||||
|
v -1.000000 -0.437500 -0.125000
|
||||||
|
v -1.000000 0.437500 -0.078125
|
||||||
|
v -1.000000 -0.406250 -0.046875
|
||||||
|
v -1.000000 0.406250 -0.046875
|
||||||
|
v -1.000000 -0.437500 -0.078125
|
||||||
|
v -0.500000 0.437500 -0.312500
|
||||||
|
v -0.500000 -0.437500 -0.312500
|
||||||
|
v 0.437500 0.500000 -0.375000
|
||||||
|
v 0.437500 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.437500 -0.375000
|
||||||
|
v 0.437500 0.437500 -0.375000
|
||||||
|
v 0.437500 -0.437500 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v 0.375000 -0.437500 -0.375000
|
||||||
|
v 0.437500 0.375000 0.250000
|
||||||
|
v 0.500000 0.375000 0.250000
|
||||||
|
v 0.500000 -0.375000 0.250000
|
||||||
|
v 0.437500 -0.375000 0.250000
|
||||||
|
v 0.437500 0.375000 0.375000
|
||||||
|
v 0.500000 0.375000 0.375000
|
||||||
|
v 0.500000 -0.375000 0.375000
|
||||||
|
v 0.437500 -0.375000 0.375000
|
||||||
vt 1.000000 0.250000
|
vt 1.000000 0.250000
|
||||||
vt 0.062500 0.250000
|
vt 0.062500 0.250000
|
||||||
vt 0.062500 -0.000000
|
vt 0.062500 -0.000000
|
||||||
@ -233,16 +233,16 @@ vt 0.750000 0.125000
|
|||||||
vt 0.812500 0.062500
|
vt 0.812500 0.062500
|
||||||
vt 0.812500 0.500000
|
vt 0.812500 0.500000
|
||||||
vt 0.187500 0.500000
|
vt 0.187500 0.500000
|
||||||
vn -1.000000 0.000000 0.000000
|
vn -0.000000 1.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 -1.000000 0.000000
|
||||||
vn 0.000000 0.000000 -1.000000
|
|
||||||
vn 0.000000 0.000000 1.000000
|
vn 0.000000 0.000000 1.000000
|
||||||
vn 0.707100 0.707100 0.000000
|
vn 0.000000 0.000000 -1.000000
|
||||||
vn -0.707100 0.707100 0.000000
|
vn 1.000000 0.000000 0.000000
|
||||||
vn 0.000000 0.707100 -0.707100
|
vn -1.000000 0.000000 0.000000
|
||||||
vn 0.000000 0.707100 0.707100
|
vn 0.000000 -0.707100 0.707100
|
||||||
|
vn -0.000000 0.707100 0.707100
|
||||||
|
vn 0.707100 0.000000 0.707100
|
||||||
|
vn -0.707100 0.000000 0.707100
|
||||||
g Cube_Cube_frame-metal
|
g Cube_Cube_frame-metal
|
||||||
s off
|
s off
|
||||||
f 85/1/1 6/2/1 2/3/1 86/4/1
|
f 85/1/1 6/2/1 2/3/1 86/4/1
|
||||||
|
@ -1,260 +1,260 @@
|
|||||||
# Blender v2.73 (sub 0) OBJ File: 'bed-kingsize.blend'
|
# Blender v2.72 (sub 0) OBJ File: 'bed-kingsize.blend'
|
||||||
# www.blender.org
|
# www.blender.org
|
||||||
o Cube
|
o Cube
|
||||||
v -0.500000 -0.375000 1.437500
|
v -1.437500 0.500000 -0.375000
|
||||||
v 0.500000 -0.375000 -0.437500
|
v 0.437500 -0.500000 -0.375000
|
||||||
v 0.500000 -0.375000 1.437500
|
v -1.437500 -0.500000 -0.375000
|
||||||
v 0.500000 -0.125000 -0.437500
|
v 0.437500 -0.500000 -0.125000
|
||||||
v 0.500000 -0.125000 1.437500
|
v -1.437500 -0.500000 -0.125000
|
||||||
v 0.437500 -0.125000 -0.437500
|
v 0.437500 -0.437500 -0.125000
|
||||||
v 0.437500 -0.125000 1.437500
|
v -1.437500 -0.437500 -0.125000
|
||||||
v 0.375000 -0.500000 -0.437500
|
v 0.437500 -0.375000 -0.500000
|
||||||
v 0.375000 -0.500000 -0.500000
|
v 0.500000 -0.375000 -0.500000
|
||||||
v 0.500000 -0.500000 -0.500000
|
v 0.500000 -0.500000 -0.500000
|
||||||
v 0.500000 -0.500000 -0.437500
|
v 0.437500 -0.500000 -0.500000
|
||||||
v 0.375000 0.187500 -0.437500
|
v 0.437500 -0.375000 0.187500
|
||||||
v 0.375000 0.187500 -0.500000
|
v 0.500000 -0.375000 0.187500
|
||||||
v 0.500000 0.187500 -0.500000
|
v 0.500000 -0.500000 0.187500
|
||||||
v 0.500000 0.187500 -0.437500
|
v 0.437500 -0.500000 0.187500
|
||||||
v -0.500000 -0.375000 -0.437500
|
v 0.437500 0.500000 -0.375000
|
||||||
v -0.500000 -0.375000 -0.500000
|
v 0.500000 0.500000 -0.375000
|
||||||
v 0.375000 -0.375000 -0.500000
|
v 0.500000 -0.375000 -0.375000
|
||||||
v 0.375000 -0.375000 -0.437500
|
|
||||||
v -0.500000 -0.125000 -0.437500
|
|
||||||
v -0.500000 -0.125000 -0.500000
|
|
||||||
v 0.375000 -0.125000 -0.500000
|
|
||||||
v 0.375000 -0.125000 -0.437500
|
|
||||||
v -0.500000 0.000000 -0.437500
|
|
||||||
v -0.500000 0.000000 -0.500000
|
|
||||||
v 0.375000 0.000000 -0.500000
|
|
||||||
v 0.375000 0.000000 -0.437500
|
|
||||||
v -0.500000 0.125000 -0.437500
|
|
||||||
v -0.500000 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.375000 1.437500
|
|
||||||
v -0.500000 -0.375000 1.500000
|
|
||||||
v 0.375000 -0.375000 1.500000
|
|
||||||
v 0.375000 -0.375000 1.437500
|
|
||||||
v -0.500000 -0.125000 1.437500
|
|
||||||
v -0.500000 -0.125000 1.500000
|
|
||||||
v 0.375000 -0.125000 1.500000
|
|
||||||
v 0.375000 -0.125000 1.437500
|
|
||||||
v -0.500000 -0.062500 1.437500
|
|
||||||
v -0.500000 -0.062500 1.500000
|
|
||||||
v 0.375000 -0.062500 1.500000
|
|
||||||
v 0.375000 -0.062500 1.437500
|
|
||||||
v -0.500000 0.187500 1.437500
|
|
||||||
v -0.500000 0.187500 1.500000
|
|
||||||
v 0.375000 0.187500 1.500000
|
|
||||||
v 0.375000 0.187500 1.437500
|
|
||||||
v -0.500000 0.250000 1.437500
|
|
||||||
v -0.500000 0.250000 1.500000
|
|
||||||
v 0.375000 0.250000 1.500000
|
|
||||||
v 0.375000 0.250000 1.437500
|
|
||||||
v -0.500000 0.437500 1.437500
|
|
||||||
v -0.500000 0.437500 1.500000
|
|
||||||
v 0.375000 0.437500 1.500000
|
|
||||||
v 0.375000 0.437500 1.437500
|
|
||||||
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.375000 0.500000
|
|
||||||
v -0.437500 -0.375000 1.437500
|
|
||||||
v 0.437500 -0.078125 -0.437500
|
|
||||||
v 0.437500 -0.078125 1.437500
|
|
||||||
v -0.500000 -0.046875 1.437500
|
|
||||||
v -0.500000 -0.046875 -0.437500
|
|
||||||
v 0.406250 -0.046875 -0.437500
|
|
||||||
v 0.406250 -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.500000 -0.046875 0.500000
|
|
||||||
v 0.406250 -0.046875 0.500000
|
|
||||||
v 0.437500 -0.078125 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.375000 -0.375000
|
||||||
v -0.437500 -0.312500 1.375000
|
v 0.437500 0.500000 -0.125000
|
||||||
v 0.437500 -0.312500 1.375000
|
v 0.500000 0.500000 -0.125000
|
||||||
v -0.437500 -0.312500 -0.375000
|
v 0.500000 -0.375000 -0.125000
|
||||||
v 0.437500 -0.312500 -0.375000
|
v 0.437500 -0.375000 -0.125000
|
||||||
v 0.437500 -0.125000 1.000000
|
v 0.437500 0.500000 0.000000
|
||||||
v 0.406250 -0.046875 1.000000
|
v 0.500000 0.500000 0.000000
|
||||||
v -0.500000 -0.046875 1.000000
|
v 0.500000 -0.375000 0.000000
|
||||||
v 0.437500 -0.078125 1.000000
|
v 0.437500 -0.375000 0.000000
|
||||||
v -0.437500 -0.312500 0.500000
|
v 0.437500 0.500000 0.125000
|
||||||
v 0.437500 -0.312500 0.500000
|
v 0.500000 0.500000 0.125000
|
||||||
v -0.500000 -0.375000 -0.437500
|
v 0.500000 -0.375000 0.125000
|
||||||
v 0.500000 -0.375000 -0.437500
|
v 0.437500 -0.375000 0.125000
|
||||||
v -0.500000 -0.375000 0.500000
|
v -1.437500 -0.375000 -0.500000
|
||||||
v 0.500000 -0.375000 0.500000
|
v -1.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 -1.500000 -0.375000 1.437500
|
|
||||||
v -1.500000 -0.375000 -0.437500
|
|
||||||
v -0.500000 -0.375000 1.437500
|
|
||||||
v -1.500000 -0.125000 1.437500
|
|
||||||
v -1.500000 -0.125000 -0.437500
|
|
||||||
v -1.437500 -0.125000 1.437500
|
|
||||||
v -1.437500 -0.125000 -0.437500
|
|
||||||
v -1.500000 -0.500000 -0.437500
|
|
||||||
v -1.500000 -0.500000 -0.500000
|
v -1.500000 -0.500000 -0.500000
|
||||||
v -1.375000 -0.500000 -0.500000
|
v -1.437500 -0.500000 -0.500000
|
||||||
v -1.375000 -0.500000 -0.437500
|
|
||||||
v -1.500000 0.187500 -0.437500
|
|
||||||
v -1.500000 0.187500 -0.500000
|
|
||||||
v -1.375000 0.187500 -0.500000
|
|
||||||
v -1.375000 0.187500 -0.437500
|
|
||||||
v -1.375000 -0.375000 -0.437500
|
|
||||||
v -1.375000 -0.375000 -0.500000
|
|
||||||
v -0.500000 -0.375000 -0.500000
|
|
||||||
v -0.500000 -0.375000 -0.437500
|
|
||||||
v -1.375000 -0.125000 -0.437500
|
|
||||||
v -1.375000 -0.125000 -0.500000
|
|
||||||
v -0.500000 -0.125000 -0.500000
|
|
||||||
v -0.500000 -0.125000 -0.437500
|
|
||||||
v -1.375000 0.000000 -0.437500
|
|
||||||
v -1.375000 0.000000 -0.500000
|
|
||||||
v -0.500000 0.000000 -0.500000
|
|
||||||
v -0.500000 0.000000 -0.437500
|
|
||||||
v -1.375000 0.125000 -0.437500
|
|
||||||
v -1.375000 0.125000 -0.500000
|
|
||||||
v -0.500000 0.125000 -0.500000
|
|
||||||
v -0.500000 0.125000 -0.437500
|
|
||||||
v -1.500000 -0.500000 1.437500
|
|
||||||
v -1.500000 -0.500000 1.500000
|
|
||||||
v -1.375000 -0.500000 1.500000
|
|
||||||
v -1.375000 -0.500000 1.437500
|
|
||||||
v -1.500000 0.500000 1.437500
|
|
||||||
v -1.500000 0.500000 1.500000
|
|
||||||
v -1.375000 0.500000 1.500000
|
|
||||||
v -1.375000 0.500000 1.437500
|
|
||||||
v -1.375000 -0.375000 1.437500
|
|
||||||
v -1.375000 -0.375000 1.500000
|
|
||||||
v -0.500000 -0.375000 1.500000
|
|
||||||
v -0.500000 -0.375000 1.437500
|
|
||||||
v -1.375000 -0.125000 1.437500
|
|
||||||
v -1.375000 -0.125000 1.500000
|
|
||||||
v -0.500000 -0.125000 1.500000
|
|
||||||
v -0.500000 -0.125000 1.437500
|
|
||||||
v -1.375000 -0.062500 1.437500
|
|
||||||
v -1.375000 -0.062500 1.500000
|
|
||||||
v -0.500000 -0.062500 1.500000
|
|
||||||
v -0.500000 -0.062500 1.437500
|
|
||||||
v -1.375000 0.187500 1.437500
|
|
||||||
v -1.375000 0.187500 1.500000
|
|
||||||
v -0.500000 0.187500 1.500000
|
|
||||||
v -0.500000 0.187500 1.437500
|
|
||||||
v -1.375000 0.250000 1.437500
|
|
||||||
v -1.375000 0.250000 1.500000
|
|
||||||
v -0.500000 0.250000 1.500000
|
|
||||||
v -0.500000 0.250000 1.437500
|
|
||||||
v -1.375000 0.437500 1.437500
|
|
||||||
v -1.375000 0.437500 1.500000
|
|
||||||
v -0.500000 0.437500 1.500000
|
|
||||||
v -0.500000 0.437500 1.437500
|
|
||||||
v -1.500000 -0.125000 0.500000
|
|
||||||
v -1.500000 -0.375000 0.500000
|
|
||||||
v -0.500000 -0.375000 0.500000
|
|
||||||
v -1.437500 -0.125000 0.500000
|
|
||||||
v -1.437500 -0.375000 0.500000
|
v -1.437500 -0.375000 0.500000
|
||||||
v -1.437500 -0.375000 1.437500
|
|
||||||
v -1.437500 -0.078125 1.437500
|
|
||||||
v -1.437500 -0.078125 -0.437500
|
|
||||||
v -1.406250 -0.046875 1.437500
|
|
||||||
v -1.406250 -0.046875 -0.437500
|
|
||||||
v -0.500000 -0.046875 -0.437500
|
|
||||||
v -0.500000 -0.046875 1.437500
|
|
||||||
v -1.312500 -0.046875 1.437500
|
|
||||||
v -1.312500 -0.046875 1.062500
|
|
||||||
v -0.687500 -0.046875 1.062500
|
|
||||||
v -0.687500 -0.046875 1.437500
|
|
||||||
v -1.406250 -0.046875 0.500000
|
|
||||||
v -1.437500 -0.078125 0.500000
|
|
||||||
v -0.500000 -0.046875 0.500000
|
|
||||||
v -1.312500 -0.031250 1.437500
|
|
||||||
v -1.312500 -0.031250 1.062500
|
|
||||||
v -0.687500 -0.031250 1.062500
|
|
||||||
v -0.687500 -0.031250 1.437500
|
|
||||||
v -1.250000 0.031250 1.375000
|
|
||||||
v -1.250000 0.031250 1.125000
|
|
||||||
v -0.750000 0.031250 1.125000
|
|
||||||
v -0.750000 0.031250 1.375000
|
|
||||||
v -0.562500 -0.375000 1.437500
|
|
||||||
v -0.562500 -0.375000 0.500000
|
|
||||||
v -1.437500 -0.375000 1.375000
|
|
||||||
v -0.562500 -0.375000 1.375000
|
|
||||||
v -1.437500 -0.375000 -0.375000
|
|
||||||
v -0.562500 -0.375000 -0.375000
|
|
||||||
v -1.437500 -0.312500 1.375000
|
|
||||||
v -0.562500 -0.312500 1.375000
|
|
||||||
v -1.437500 -0.312500 -0.375000
|
|
||||||
v -0.562500 -0.312500 -0.375000
|
|
||||||
v -1.437500 -0.125000 1.000000
|
|
||||||
v -1.437500 -0.078125 1.000000
|
|
||||||
v -0.500000 -0.046875 1.000000
|
|
||||||
v -1.406250 -0.046875 1.000000
|
|
||||||
v -1.437500 -0.312500 0.500000
|
|
||||||
v -0.562500 -0.312500 0.500000
|
|
||||||
v -1.500000 -0.375000 -0.437500
|
|
||||||
v -0.500000 -0.375000 -0.437500
|
|
||||||
v -1.500000 -0.375000 0.500000
|
v -1.500000 -0.375000 0.500000
|
||||||
v -0.500000 -0.375000 0.500000
|
v -1.500000 -0.500000 0.500000
|
||||||
v -1.437500 -0.375000 0.500000
|
v -1.437500 -0.500000 0.500000
|
||||||
v -1.437500 -0.375000 -0.437500
|
v -1.437500 0.500000 -0.375000
|
||||||
v -0.562500 -0.375000 -0.437500
|
v -1.500000 0.500000 -0.375000
|
||||||
v -0.562500 -0.375000 0.500000
|
v -1.500000 -0.375000 -0.375000
|
||||||
v -1.437500 -0.375000 -0.375000
|
v -1.437500 -0.375000 -0.375000
|
||||||
v -0.562500 -0.375000 -0.375000
|
v -1.437500 0.500000 -0.125000
|
||||||
v -0.500000 -0.125000 -0.437500
|
v -1.500000 0.500000 -0.125000
|
||||||
v -0.500000 -0.046875 1.437500
|
v -1.500000 -0.375000 -0.125000
|
||||||
v -0.500000 -0.125000 1.437500
|
v -1.437500 -0.375000 -0.125000
|
||||||
v -0.500000 -0.078125 1.437500
|
v -1.437500 0.500000 -0.062500
|
||||||
v -0.500000 -0.046875 -0.437500
|
v -1.500000 0.500000 -0.062500
|
||||||
v -0.500000 -0.078125 -0.437500
|
v -1.500000 -0.375000 -0.062500
|
||||||
v -0.562500 -0.500000 -0.375000
|
v -1.437500 -0.375000 -0.062500
|
||||||
v -0.562500 -0.500000 -0.437500
|
v -1.437500 0.500000 0.187500
|
||||||
v -0.437500 -0.500000 -0.437500
|
v -1.500000 0.500000 0.187500
|
||||||
v -0.437500 -0.500000 -0.375000
|
v -1.500000 -0.375000 0.187500
|
||||||
v -0.562500 -0.375000 -0.375000
|
v -1.437500 -0.375000 0.187500
|
||||||
v -0.562500 -0.375000 -0.437500
|
v -1.437500 0.500000 0.250000
|
||||||
v -0.437500 -0.375000 -0.437500
|
v -1.500000 0.500000 0.250000
|
||||||
v -0.437500 -0.375000 -0.375000
|
v -1.500000 -0.375000 0.250000
|
||||||
v -0.562500 -0.500000 1.437500
|
v -1.437500 -0.375000 0.250000
|
||||||
v -0.562500 -0.500000 1.375000
|
v -1.437500 0.500000 0.437500
|
||||||
v -0.437500 -0.500000 1.375000
|
v -1.500000 0.500000 0.437500
|
||||||
v -0.437500 -0.500000 1.437500
|
v -1.500000 -0.375000 0.437500
|
||||||
v -0.562500 -0.375000 1.437500
|
v -1.437500 -0.375000 0.437500
|
||||||
v -0.562500 -0.375000 1.375000
|
v -0.500000 0.500000 -0.375000
|
||||||
v -0.437500 -0.375000 1.375000
|
v -0.500000 -0.500000 -0.125000
|
||||||
v -0.437500 -0.375000 1.437500
|
v -0.500000 -0.500000 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.125000
|
||||||
|
v -0.500000 0.437500 -0.375000
|
||||||
|
v -1.437500 0.437500 -0.375000
|
||||||
|
v 0.437500 -0.437500 -0.078125
|
||||||
|
v -1.437500 -0.437500 -0.078125
|
||||||
|
v -1.437500 0.500000 -0.046875
|
||||||
|
v 0.437500 0.500000 -0.046875
|
||||||
|
v 0.437500 -0.406250 -0.046875
|
||||||
|
v -1.437500 -0.406250 -0.046875
|
||||||
|
v -1.437500 0.312500 -0.046875
|
||||||
|
v -1.062500 0.312500 -0.046875
|
||||||
|
v -1.062500 -0.312500 -0.046875
|
||||||
|
v -1.437500 -0.312500 -0.046875
|
||||||
|
v -0.500000 0.500000 -0.046875
|
||||||
|
v -0.500000 -0.406250 -0.046875
|
||||||
|
v -0.500000 -0.437500 -0.078125
|
||||||
|
v -1.437500 0.312500 -0.031250
|
||||||
|
v -1.062500 0.312500 -0.031250
|
||||||
|
v -1.062500 -0.312500 -0.031250
|
||||||
|
v -1.437500 -0.312500 -0.031250
|
||||||
|
v -1.375000 0.250000 0.031250
|
||||||
|
v -1.125000 0.250000 0.031250
|
||||||
|
v -1.125000 -0.250000 0.031250
|
||||||
|
v -1.375000 -0.250000 0.031250
|
||||||
|
v -1.437500 -0.437500 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.375000
|
||||||
|
v -1.375000 -0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v 0.375000 -0.437500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.312500
|
||||||
|
v -1.375000 -0.437500 -0.312500
|
||||||
|
v 0.375000 0.437500 -0.312500
|
||||||
|
v 0.375000 -0.437500 -0.312500
|
||||||
|
v -1.000000 -0.437500 -0.125000
|
||||||
|
v -1.000000 -0.406250 -0.046875
|
||||||
|
v -1.000000 0.500000 -0.046875
|
||||||
|
v -1.000000 -0.437500 -0.078125
|
||||||
|
v -0.500000 0.437500 -0.312500
|
||||||
|
v -0.500000 -0.437500 -0.312500
|
||||||
|
v 0.437500 0.500000 -0.375000
|
||||||
|
v 0.437500 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.437500 -0.375000
|
||||||
|
v 0.437500 0.437500 -0.375000
|
||||||
|
v 0.437500 -0.437500 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v 0.375000 -0.437500 -0.375000
|
||||||
|
v -1.437500 1.500000 -0.375000
|
||||||
|
v 0.437500 1.500000 -0.375000
|
||||||
|
v -1.437500 0.500000 -0.375000
|
||||||
|
v -1.437500 1.500000 -0.125000
|
||||||
|
v 0.437500 1.500000 -0.125000
|
||||||
|
v -1.437500 1.437500 -0.125000
|
||||||
|
v 0.437500 1.437500 -0.125000
|
||||||
|
v 0.437500 1.500000 -0.500000
|
||||||
|
v 0.500000 1.500000 -0.500000
|
||||||
|
v 0.500000 1.375000 -0.500000
|
||||||
|
v 0.437500 1.375000 -0.500000
|
||||||
|
v 0.437500 1.500000 0.187500
|
||||||
|
v 0.500000 1.500000 0.187500
|
||||||
|
v 0.500000 1.375000 0.187500
|
||||||
|
v 0.437500 1.375000 0.187500
|
||||||
|
v 0.437500 1.375000 -0.375000
|
||||||
|
v 0.500000 1.375000 -0.375000
|
||||||
|
v 0.500000 0.500000 -0.375000
|
||||||
|
v 0.437500 0.500000 -0.375000
|
||||||
|
v 0.437500 1.375000 -0.125000
|
||||||
|
v 0.500000 1.375000 -0.125000
|
||||||
|
v 0.500000 0.500000 -0.125000
|
||||||
|
v 0.437500 0.500000 -0.125000
|
||||||
|
v 0.437500 1.375000 0.000000
|
||||||
|
v 0.500000 1.375000 0.000000
|
||||||
|
v 0.500000 0.500000 0.000000
|
||||||
|
v 0.437500 0.500000 0.000000
|
||||||
|
v 0.437500 1.375000 0.125000
|
||||||
|
v 0.500000 1.375000 0.125000
|
||||||
|
v 0.500000 0.500000 0.125000
|
||||||
|
v 0.437500 0.500000 0.125000
|
||||||
|
v -1.437500 1.500000 -0.500000
|
||||||
|
v -1.500000 1.500000 -0.500000
|
||||||
|
v -1.500000 1.375000 -0.500000
|
||||||
|
v -1.437500 1.375000 -0.500000
|
||||||
|
v -1.437500 1.500000 0.500000
|
||||||
|
v -1.500000 1.500000 0.500000
|
||||||
|
v -1.500000 1.375000 0.500000
|
||||||
|
v -1.437500 1.375000 0.500000
|
||||||
|
v -1.437500 1.375000 -0.375000
|
||||||
|
v -1.500000 1.375000 -0.375000
|
||||||
|
v -1.500000 0.500000 -0.375000
|
||||||
|
v -1.437500 0.500000 -0.375000
|
||||||
|
v -1.437500 1.375000 -0.125000
|
||||||
|
v -1.500000 1.375000 -0.125000
|
||||||
|
v -1.500000 0.500000 -0.125000
|
||||||
|
v -1.437500 0.500000 -0.125000
|
||||||
|
v -1.437500 1.375000 -0.062500
|
||||||
|
v -1.500000 1.375000 -0.062500
|
||||||
|
v -1.500000 0.500000 -0.062500
|
||||||
|
v -1.437500 0.500000 -0.062500
|
||||||
|
v -1.437500 1.375000 0.187500
|
||||||
|
v -1.500000 1.375000 0.187500
|
||||||
|
v -1.500000 0.500000 0.187500
|
||||||
|
v -1.437500 0.500000 0.187500
|
||||||
|
v -1.437500 1.375000 0.250000
|
||||||
|
v -1.500000 1.375000 0.250000
|
||||||
|
v -1.500000 0.500000 0.250000
|
||||||
|
v -1.437500 0.500000 0.250000
|
||||||
|
v -1.437500 1.375000 0.437500
|
||||||
|
v -1.500000 1.375000 0.437500
|
||||||
|
v -1.500000 0.500000 0.437500
|
||||||
|
v -1.437500 0.500000 0.437500
|
||||||
|
v -0.500000 1.500000 -0.125000
|
||||||
|
v -0.500000 1.500000 -0.375000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 1.437500 -0.125000
|
||||||
|
v -0.500000 1.437500 -0.375000
|
||||||
|
v -1.437500 1.437500 -0.375000
|
||||||
|
v -1.437500 1.437500 -0.078125
|
||||||
|
v 0.437500 1.437500 -0.078125
|
||||||
|
v -1.437500 1.406250 -0.046875
|
||||||
|
v 0.437500 1.406250 -0.046875
|
||||||
|
v 0.437500 0.500000 -0.046875
|
||||||
|
v -1.437500 0.500000 -0.046875
|
||||||
|
v -1.437500 1.312500 -0.046875
|
||||||
|
v -1.062500 1.312500 -0.046875
|
||||||
|
v -1.062500 0.687500 -0.046875
|
||||||
|
v -1.437500 0.687500 -0.046875
|
||||||
|
v -0.500000 1.406250 -0.046875
|
||||||
|
v -0.500000 1.437500 -0.078125
|
||||||
|
v -0.500000 0.500000 -0.046875
|
||||||
|
v -1.437500 1.312500 -0.031250
|
||||||
|
v -1.062500 1.312500 -0.031250
|
||||||
|
v -1.062500 0.687500 -0.031250
|
||||||
|
v -1.437500 0.687500 -0.031250
|
||||||
|
v -1.375000 1.250000 0.031250
|
||||||
|
v -1.125000 1.250000 0.031250
|
||||||
|
v -1.125000 0.750000 0.031250
|
||||||
|
v -1.375000 0.750000 0.031250
|
||||||
|
v -1.437500 0.562500 -0.375000
|
||||||
|
v -0.500000 0.562500 -0.375000
|
||||||
|
v -1.375000 1.437500 -0.375000
|
||||||
|
v -1.375000 0.562500 -0.375000
|
||||||
|
v 0.375000 1.437500 -0.375000
|
||||||
|
v 0.375000 0.562500 -0.375000
|
||||||
|
v -1.375000 1.437500 -0.312500
|
||||||
|
v -1.375000 0.562500 -0.312500
|
||||||
|
v 0.375000 1.437500 -0.312500
|
||||||
|
v 0.375000 0.562500 -0.312500
|
||||||
|
v -1.000000 1.437500 -0.125000
|
||||||
|
v -1.000000 1.437500 -0.078125
|
||||||
|
v -1.000000 0.500000 -0.046875
|
||||||
|
v -1.000000 1.406250 -0.046875
|
||||||
|
v -0.500000 1.437500 -0.312500
|
||||||
|
v -0.500000 0.562500 -0.312500
|
||||||
|
v 0.437500 1.500000 -0.375000
|
||||||
|
v 0.437500 0.500000 -0.375000
|
||||||
|
v -0.500000 1.500000 -0.375000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 1.437500 -0.375000
|
||||||
|
v 0.437500 1.437500 -0.375000
|
||||||
|
v 0.437500 0.562500 -0.375000
|
||||||
|
v -0.500000 0.562500 -0.375000
|
||||||
|
v 0.375000 1.437500 -0.375000
|
||||||
|
v 0.375000 0.562500 -0.375000
|
||||||
|
v 0.437500 0.500000 -0.125000
|
||||||
|
v -1.437500 0.500000 -0.046875
|
||||||
|
v -1.437500 0.500000 -0.125000
|
||||||
|
v -1.437500 0.500000 -0.078125
|
||||||
|
v 0.437500 0.500000 -0.046875
|
||||||
|
v 0.437500 0.500000 -0.078125
|
||||||
|
v 0.375000 0.562500 -0.500000
|
||||||
|
v 0.437500 0.562500 -0.500000
|
||||||
|
v 0.437500 0.437500 -0.500000
|
||||||
|
v 0.375000 0.437500 -0.500000
|
||||||
|
v 0.375000 0.562500 -0.375000
|
||||||
|
v 0.437500 0.562500 -0.375000
|
||||||
|
v 0.437500 0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v -1.437500 0.562500 -0.500000
|
||||||
|
v -1.375000 0.562500 -0.500000
|
||||||
|
v -1.375000 0.437500 -0.500000
|
||||||
|
v -1.437500 0.437500 -0.500000
|
||||||
|
v -1.437500 0.562500 -0.375000
|
||||||
|
v -1.375000 0.562500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.375000
|
||||||
|
v -1.437500 0.437500 -0.375000
|
||||||
vt 1.000000 0.250000
|
vt 1.000000 0.250000
|
||||||
vt 0.062500 0.250000
|
vt 0.062500 0.250000
|
||||||
vt 0.062500 -0.000000
|
vt 0.062500 -0.000000
|
||||||
@ -361,16 +361,16 @@ vt 0.750000 0.125000
|
|||||||
vt 0.812500 0.062500
|
vt 0.812500 0.062500
|
||||||
vt 0.812500 0.500000
|
vt 0.812500 0.500000
|
||||||
vt 0.187500 0.500000
|
vt 0.187500 0.500000
|
||||||
vn 1.000000 0.000000 0.000000
|
|
||||||
vn 0.000000 1.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.000000 0.000000 1.000000
|
||||||
|
vn 0.000000 0.000000 -1.000000
|
||||||
|
vn 1.000000 0.000000 0.000000
|
||||||
vn -1.000000 0.000000 0.000000
|
vn -1.000000 0.000000 0.000000
|
||||||
vn 0.707100 0.707100 0.000000
|
vn -0.000000 1.000000 0.000000
|
||||||
vn -0.707100 0.707100 0.000000
|
vn 0.000000 -0.707100 0.707100
|
||||||
vn 0.000000 0.707100 -0.707100
|
|
||||||
vn 0.000000 0.707100 0.707100
|
vn 0.000000 0.707100 0.707100
|
||||||
|
vn 0.707100 0.000000 0.707100
|
||||||
|
vn -0.707100 0.000000 0.707100
|
||||||
g Cube_Cube_frame-metal
|
g Cube_Cube_frame-metal
|
||||||
s off
|
s off
|
||||||
f 65/1/1 5/2/1 3/3/1 66/4/1
|
f 65/1/1 5/2/1 3/3/1 66/4/1
|
||||||
|
@ -1,150 +1,150 @@
|
|||||||
# Blender v2.73 (sub 0) OBJ File: 'bed.blend'
|
# Blender v2.72 (sub 0) OBJ File: 'bed.blend'
|
||||||
# www.blender.org
|
# www.blender.org
|
||||||
o Cube
|
o Cube
|
||||||
v -0.500000 -0.375000 1.437500
|
v -1.437500 0.500000 -0.375000
|
||||||
v -0.500000 -0.375000 -0.437500
|
v 0.437500 0.500000 -0.375000
|
||||||
v 0.500000 -0.375000 -0.437500
|
v 0.437500 -0.500000 -0.375000
|
||||||
v 0.500000 -0.375000 1.437500
|
v -1.437500 -0.500000 -0.375000
|
||||||
v -0.500000 -0.125000 1.437500
|
v -1.437500 0.500000 -0.125000
|
||||||
v -0.500000 -0.125000 -0.437500
|
v 0.437500 0.500000 -0.125000
|
||||||
v 0.500000 -0.125000 -0.437500
|
v 0.437500 -0.500000 -0.125000
|
||||||
v 0.500000 -0.125000 1.437500
|
v -1.437500 -0.500000 -0.125000
|
||||||
v -0.437500 -0.125000 1.437500
|
v -1.437500 0.437500 -0.125000
|
||||||
v -0.437500 -0.125000 -0.437500
|
v 0.437500 0.437500 -0.125000
|
||||||
v 0.437500 -0.125000 -0.437500
|
v 0.437500 -0.437500 -0.125000
|
||||||
v 0.437500 -0.125000 1.437500
|
v -1.437500 -0.437500 -0.125000
|
||||||
v 0.375000 -0.500000 -0.437500
|
v 0.437500 -0.375000 -0.500000
|
||||||
v 0.375000 -0.500000 -0.500000
|
v 0.500000 -0.375000 -0.500000
|
||||||
v 0.500000 -0.500000 -0.500000
|
v 0.500000 -0.500000 -0.500000
|
||||||
v 0.500000 -0.500000 -0.437500
|
v 0.437500 -0.500000 -0.500000
|
||||||
v 0.375000 0.187500 -0.437500
|
v 0.437500 -0.375000 0.187500
|
||||||
v 0.375000 0.187500 -0.500000
|
v 0.500000 -0.375000 0.187500
|
||||||
v 0.500000 0.187500 -0.500000
|
v 0.500000 -0.500000 0.187500
|
||||||
v 0.500000 0.187500 -0.437500
|
v 0.437500 -0.500000 0.187500
|
||||||
v -0.500000 -0.500000 -0.437500
|
v 0.437500 0.500000 -0.500000
|
||||||
v -0.500000 -0.500000 -0.500000
|
v 0.500000 0.500000 -0.500000
|
||||||
v -0.375000 -0.500000 -0.500000
|
v 0.500000 0.375000 -0.500000
|
||||||
v -0.375000 -0.500000 -0.437500
|
v 0.437500 0.375000 -0.500000
|
||||||
v -0.500000 0.187500 -0.437500
|
v 0.437500 0.500000 0.187500
|
||||||
v -0.500000 0.187500 -0.500000
|
v 0.500000 0.500000 0.187500
|
||||||
v -0.375000 0.187500 -0.500000
|
v 0.500000 0.375000 0.187500
|
||||||
v -0.375000 0.187500 -0.437500
|
v 0.437500 0.375000 0.187500
|
||||||
v -0.375000 -0.375000 -0.437500
|
v 0.437500 0.375000 -0.375000
|
||||||
v -0.375000 -0.375000 -0.500000
|
v 0.500000 0.375000 -0.375000
|
||||||
v 0.375000 -0.375000 -0.500000
|
v 0.500000 -0.375000 -0.375000
|
||||||
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.078125 1.437500
|
|
||||||
v -0.437500 -0.078125 -0.437500
|
|
||||||
v 0.437500 -0.078125 -0.437500
|
|
||||||
v 0.437500 -0.078125 1.437500
|
|
||||||
v -0.406250 -0.046875 1.437500
|
|
||||||
v -0.406250 -0.046875 -0.437500
|
|
||||||
v 0.406250 -0.046875 -0.437500
|
|
||||||
v 0.406250 -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.406250 -0.046875 0.500000
|
|
||||||
v -0.437500 -0.078125 0.500000
|
|
||||||
v 0.406250 -0.046875 0.500000
|
|
||||||
v 0.437500 -0.078125 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.078125 1.000000
|
|
||||||
v 0.406250 -0.046875 1.000000
|
|
||||||
v -0.406250 -0.046875 1.000000
|
|
||||||
v 0.437500 -0.078125 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.437500 -0.375000 -0.375000
|
||||||
|
v 0.437500 0.375000 -0.125000
|
||||||
|
v 0.500000 0.375000 -0.125000
|
||||||
|
v 0.500000 -0.375000 -0.125000
|
||||||
|
v 0.437500 -0.375000 -0.125000
|
||||||
|
v 0.437500 0.375000 0.000000
|
||||||
|
v 0.500000 0.375000 0.000000
|
||||||
|
v 0.500000 -0.375000 0.000000
|
||||||
|
v 0.437500 -0.375000 0.000000
|
||||||
|
v 0.437500 0.375000 0.125000
|
||||||
|
v 0.500000 0.375000 0.125000
|
||||||
|
v 0.500000 -0.375000 0.125000
|
||||||
|
v 0.437500 -0.375000 0.125000
|
||||||
|
v -1.437500 -0.375000 -0.500000
|
||||||
|
v -1.500000 -0.375000 -0.500000
|
||||||
|
v -1.500000 -0.500000 -0.500000
|
||||||
|
v -1.437500 -0.500000 -0.500000
|
||||||
|
v -1.437500 -0.375000 0.500000
|
||||||
|
v -1.500000 -0.375000 0.500000
|
||||||
|
v -1.500000 -0.500000 0.500000
|
||||||
|
v -1.437500 -0.500000 0.500000
|
||||||
|
v -1.437500 0.500000 -0.500000
|
||||||
|
v -1.500000 0.500000 -0.500000
|
||||||
|
v -1.500000 0.375000 -0.500000
|
||||||
|
v -1.437500 0.375000 -0.500000
|
||||||
|
v -1.437500 0.500000 0.500000
|
||||||
|
v -1.500000 0.500000 0.500000
|
||||||
|
v -1.500000 0.375000 0.500000
|
||||||
|
v -1.437500 0.375000 0.500000
|
||||||
|
v -1.437500 0.375000 -0.375000
|
||||||
|
v -1.500000 0.375000 -0.375000
|
||||||
|
v -1.500000 -0.375000 -0.375000
|
||||||
|
v -1.437500 -0.375000 -0.375000
|
||||||
|
v -1.437500 0.375000 -0.125000
|
||||||
|
v -1.500000 0.375000 -0.125000
|
||||||
|
v -1.500000 -0.375000 -0.125000
|
||||||
|
v -1.437500 -0.375000 -0.125000
|
||||||
|
v -1.437500 0.375000 -0.062500
|
||||||
|
v -1.500000 0.375000 -0.062500
|
||||||
|
v -1.500000 -0.375000 -0.062500
|
||||||
|
v -1.437500 -0.375000 -0.062500
|
||||||
|
v -1.437500 0.375000 0.187500
|
||||||
|
v -1.500000 0.375000 0.187500
|
||||||
|
v -1.500000 -0.375000 0.187500
|
||||||
|
v -1.437500 -0.375000 0.187500
|
||||||
|
v -1.437500 0.375000 0.250000
|
||||||
|
v -1.500000 0.375000 0.250000
|
||||||
|
v -1.500000 -0.375000 0.250000
|
||||||
|
v -1.437500 -0.375000 0.250000
|
||||||
|
v -1.437500 0.375000 0.437500
|
||||||
|
v -1.500000 0.375000 0.437500
|
||||||
|
v -1.500000 -0.375000 0.437500
|
||||||
|
v -1.437500 -0.375000 0.437500
|
||||||
|
v -0.500000 0.500000 -0.125000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 -0.500000 -0.125000
|
||||||
|
v -0.500000 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.437500 -0.125000
|
||||||
|
v -0.500000 -0.437500 -0.125000
|
||||||
|
v -0.500000 0.437500 -0.375000
|
||||||
|
v -1.437500 0.437500 -0.375000
|
||||||
|
v -1.437500 0.437500 -0.078125
|
||||||
|
v 0.437500 0.437500 -0.078125
|
||||||
|
v 0.437500 -0.437500 -0.078125
|
||||||
|
v -1.437500 -0.437500 -0.078125
|
||||||
|
v -1.437500 0.406250 -0.046875
|
||||||
|
v 0.437500 0.406250 -0.046875
|
||||||
|
v 0.437500 -0.406250 -0.046875
|
||||||
|
v -1.437500 -0.406250 -0.046875
|
||||||
|
v -1.437500 0.312500 -0.046875
|
||||||
|
v -1.062500 0.312500 -0.046875
|
||||||
|
v -1.062500 -0.312500 -0.046875
|
||||||
|
v -1.437500 -0.312500 -0.046875
|
||||||
|
v -0.500000 0.406250 -0.046875
|
||||||
|
v -0.500000 0.437500 -0.078125
|
||||||
|
v -0.500000 -0.406250 -0.046875
|
||||||
|
v -0.500000 -0.437500 -0.078125
|
||||||
|
v -1.437500 0.312500 -0.031250
|
||||||
|
v -1.062500 0.312500 -0.031250
|
||||||
|
v -1.062500 -0.312500 -0.031250
|
||||||
|
v -1.437500 -0.312500 -0.031250
|
||||||
|
v -1.375000 0.250000 0.031250
|
||||||
|
v -1.125000 0.250000 0.031250
|
||||||
|
v -1.125000 -0.250000 0.031250
|
||||||
|
v -1.375000 -0.250000 0.031250
|
||||||
|
v -1.437500 -0.437500 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.375000
|
||||||
|
v -1.375000 -0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v 0.375000 -0.437500 -0.375000
|
||||||
|
v -1.375000 0.437500 -0.312500
|
||||||
|
v -1.375000 -0.437500 -0.312500
|
||||||
|
v 0.375000 0.437500 -0.312500
|
||||||
|
v 0.375000 -0.437500 -0.312500
|
||||||
|
v -1.000000 0.437500 -0.125000
|
||||||
|
v -1.000000 -0.437500 -0.125000
|
||||||
|
v -1.000000 0.437500 -0.078125
|
||||||
|
v -1.000000 -0.406250 -0.046875
|
||||||
|
v -1.000000 0.406250 -0.046875
|
||||||
|
v -1.000000 -0.437500 -0.078125
|
||||||
|
v -0.500000 0.437500 -0.312500
|
||||||
|
v -0.500000 -0.437500 -0.312500
|
||||||
|
v 0.437500 0.500000 -0.375000
|
||||||
|
v 0.437500 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.500000 -0.375000
|
||||||
|
v -0.500000 -0.500000 -0.375000
|
||||||
|
v -0.500000 0.437500 -0.375000
|
||||||
|
v 0.437500 0.437500 -0.375000
|
||||||
|
v 0.437500 -0.437500 -0.375000
|
||||||
|
v -0.500000 -0.437500 -0.375000
|
||||||
|
v 0.375000 0.437500 -0.375000
|
||||||
|
v 0.375000 -0.437500 -0.375000
|
||||||
vt 1.000000 0.250000
|
vt 1.000000 0.250000
|
||||||
vt 0.062500 0.250000
|
vt 0.062500 0.250000
|
||||||
vt 0.062500 -0.000000
|
vt 0.062500 -0.000000
|
||||||
@ -227,16 +227,16 @@ vt 0.750000 0.125000
|
|||||||
vt 0.812500 0.062500
|
vt 0.812500 0.062500
|
||||||
vt 0.812500 0.500000
|
vt 0.812500 0.500000
|
||||||
vt 0.187500 0.500000
|
vt 0.187500 0.500000
|
||||||
vn -1.000000 0.000000 0.000000
|
vn -0.000000 1.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 -1.000000 0.000000
|
||||||
vn 0.000000 0.000000 -1.000000
|
|
||||||
vn 0.000000 0.000000 1.000000
|
vn 0.000000 0.000000 1.000000
|
||||||
vn 0.707100 0.707100 0.000000
|
vn 0.000000 0.000000 -1.000000
|
||||||
vn -0.707100 0.707100 0.000000
|
vn 1.000000 0.000000 0.000000
|
||||||
vn 0.000000 0.707100 -0.707100
|
vn -1.000000 0.000000 0.000000
|
||||||
vn 0.000000 0.707100 0.707100
|
vn 0.000000 -0.707100 0.707100
|
||||||
|
vn -0.000000 0.707100 0.707100
|
||||||
|
vn 0.707100 0.000000 0.707100
|
||||||
|
vn -0.707100 0.000000 0.707100
|
||||||
g Cube_Cube_frame-metal
|
g Cube_Cube_frame-metal
|
||||||
s off
|
s off
|
||||||
f 85/1/1 6/2/1 2/3/1 86/4/1
|
f 85/1/1 6/2/1 2/3/1 86/4/1
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue
Block a user