Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
465
mods/morelights/morelights_modern/init.lua
Normal file
|
@ -0,0 +1,465 @@
|
|||
local S = minetest.get_translator("morelights_modern")
|
||||
|
||||
|
||||
minetest.register_node("morelights_modern:block", {
|
||||
description = S("Modern Light Block"),
|
||||
tiles = {"morelights_metal_dark.png^morelights_modern_block.png"},
|
||||
paramtype = "light",
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:smallblock", {
|
||||
description = S("Modern Light Block (small)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png^morelights_modern_smallblock.png",
|
||||
"morelights_metal_dark.png^morelights_modern_smallblock.png",
|
||||
"[combine:16x16:0,0=morelights_metal_dark.png" ..
|
||||
":0,4=morelights_modern_smallblock.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing)
|
||||
end
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:post_d",
|
||||
description = S("Modern Post Light (@1)", S("dark")),
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_metal_dark.png^morelights_modern_post.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:post_l",
|
||||
description = S("Modern Post Light (@1)", S("light")),
|
||||
tiles = {
|
||||
"morelights_metal_light.png",
|
||||
"morelights_metal_light.png",
|
||||
"morelights_metal_light.png^morelights_modern_post.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:streetpost_d",
|
||||
description = S("Street Lamp Post (@1) - connects to bar lights",
|
||||
S("dark")),
|
||||
tiles = {"morelights_metal_dark.png"}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:streetpost_l",
|
||||
description = S("Street Lamp Post (@1) - connects to bar lights",
|
||||
S("light")),
|
||||
tiles = {"morelights_metal_light.png"}
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16},
|
||||
connect_front = {-1/16, 3/8, -1/2, 1/16, 7/16, -1/16},
|
||||
connect_left = {-1/2, 3/8, -1/16, -1/16, 7/16, 1/16},
|
||||
connect_back = {-1/16, 3/8, 1/16, 1/16, 7/16, 1/2},
|
||||
connect_right = {1/16, 3/8, -1/16, 1/2, 7/16, 1/16},
|
||||
},
|
||||
connects_to = {
|
||||
"morelights_modern:barlight_c",
|
||||
"morelights_modern:barlight_s"
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:barlight_c", {
|
||||
description = S("Ceiling Bar Light (connecting)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {-1/8, 3/8, -1/8, 1/8, 1/2, 1/8},
|
||||
connect_front = {-1/8, 3/8, -1/2, 1/8, 1/2, -1/8},
|
||||
connect_left = {-1/2, 3/8, -1/8, -1/8, 1/2, 1/8},
|
||||
connect_back = {-1/8, 3/8, 1/8, 1/8, 1/2, 1/2},
|
||||
connect_right = {1/8, 3/8, -1/8, 1/2, 1/2, 1/8},
|
||||
},
|
||||
connects_to = {
|
||||
"morelights_modern:barlight_c",
|
||||
"morelights_modern:barlight_s",
|
||||
"morelights_modern:streetpost_d",
|
||||
"morelights_modern:streetpost_l"
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_modern_barlight.png",
|
||||
"morelights_metal_dark.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
|
||||
_mcl_hardness = 0.15,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
-- TODO: Determine orientation of bar lights from nearby nodes.
|
||||
minetest.register_node("morelights_modern:barlight_s", {
|
||||
description = S("Ceiling Bar Light (straight)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, 3/8, -1/8, 1/2, 1/2, 1/8},
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_modern_barlight.png",
|
||||
"morelights_metal_dark.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
|
||||
_mcl_hardness = 0.15,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:ceilinglight", {
|
||||
description = S("Modern Ceiling Light"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, 3/8, -1/4, 1/4, 1/2, 1/4}
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_metal_dark.png^morelights_modern_block.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing,
|
||||
{[0] = 0, 20, 12, 16, 4, 8})
|
||||
end
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:canlight_d",
|
||||
description = S("Modern Can Light (@1)", S("dark")),
|
||||
tiles = {"morelights_metal_dark.png^morelights_modern_canlight.png"}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:canlight_l",
|
||||
description = S("Modern Can Light (@1)", S("light")),
|
||||
tiles = {"morelights_metal_light.png^morelights_modern_canlight.png"}
|
||||
},
|
||||
},
|
||||
{
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_modern_canlight.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:walllamp", {
|
||||
description = S("Modern Wall Lamp"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_modern_walllamp.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2}
|
||||
},
|
||||
tiles = {"morelights_metal_dark_32.png^morelights_modern_walllamp.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing,
|
||||
{[0] = 6, 4, 1, 3, 0, 2})
|
||||
end
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:tablelamp_d",
|
||||
description = S("Modern Table Lamp (@1)", S("dark")),
|
||||
tiles = {
|
||||
"morelights_metal_light_32.png^morelights_modern_tablelamp_o.png",
|
||||
"morelights_modern_tablelamp_d.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:tablelamp_l",
|
||||
description = S("Modern Table Lamp (@1)", S("light")),
|
||||
tiles = {
|
||||
"morelights_metal_dark_32.png^morelights_modern_tablelamp_o.png",
|
||||
"morelights_modern_tablelamp_l.png"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_modern_tablelamp.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 10,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.default
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:pathlight_d",
|
||||
description = S("Modern Path Light (@1)", S("dark")),
|
||||
tiles = {
|
||||
"morelights_metal_dark_32.png^morelights_modern_pathlight.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:pathlight_l",
|
||||
description = S("Modern Path Light (@1)", S("light")),
|
||||
tiles = {
|
||||
"morelights_metal_light_32.png^morelights_modern_pathlight.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-1/32, -8/16, -1/32, 1/32, 1/8, 1/32},
|
||||
{-1/16, 1/8, -1/16, 1/16, 5/16, 1/16},
|
||||
{-1/8, 5/16, -1/8, 1/8, 3/8, 1/8}
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 3/8, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 8,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
--
|
||||
-- Craft recipes
|
||||
--
|
||||
|
||||
local a = morelights.craft_items
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:block",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.glass_pane, "morelights:bulb", a.glass_pane},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:smallblock",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{a.steel, "morelights:bulb", a.steel}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:post_d",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:post_l",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:streetpost_d 2",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, a.steel},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:streetpost_l 2",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, a.steel},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:barlight_c 4",
|
||||
recipe = {
|
||||
{a.steel, a.steel, a.steel},
|
||||
{a.copper, a.glass, a.copper}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:barlight_c",
|
||||
type = "shapeless",
|
||||
recipe = {"morelights_modern:barlight_s"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:barlight_s",
|
||||
type = "shapeless",
|
||||
recipe = {"morelights_modern:barlight_c"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:ceilinglight",
|
||||
recipe = {
|
||||
{a.steel, "morelights:bulb", a.steel},
|
||||
{"", a.glass_pane, ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:canlight_d",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, ""},
|
||||
{a.steel, "morelights:bulb", a.steel},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:canlight_l",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, ""},
|
||||
{a.steel, "morelights:bulb", a.steel},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:walllamp",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{a.glass_pane, "morelights:bulb", a.steel},
|
||||
{"", a.dye_dark, a.steel}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:tablelamp_d",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.wool_dark, "morelights:bulb", a.wool_dark},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:tablelamp_l",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.wool_light, "morelights:bulb", a.wool_light},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:pathlight_d",
|
||||
recipe = {
|
||||
{a.dye_dark, "morelights:bulb", ""},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:pathlight_l",
|
||||
recipe = {
|
||||
{a.dye_light, "morelights:bulb", ""},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
15
mods/morelights/morelights_modern/locale/template.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
# textdomain:morelights_modern
|
||||
|
||||
dark=
|
||||
light=
|
||||
Modern Light Block=
|
||||
Modern Light Block (small)=
|
||||
Modern Post Light (@1)=
|
||||
Street Lamp Post (@1) - connects to bar lights=
|
||||
Ceiling Bar Light (connecting)=
|
||||
Ceiling Bar Light (straight)=
|
||||
Modern Ceiling Light=
|
||||
Modern Can Light (@1)=
|
||||
Modern Wall Lamp=
|
||||
Modern Table Lamp (@1)=
|
||||
Modern Path Light (@1)=
|
3
mods/morelights/morelights_modern/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = morelights_modern
|
||||
description = Provides modern-style lighting nodes.
|
||||
depends = morelights
|
|
@ -0,0 +1,140 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T18:42:48Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.79 (sub 0) OBJ File: 'modern_can_2.blend'
|
||||
# www.blender.org
|
||||
|
||||
# vertices [32]
|
||||
|
||||
v -0.051777 0 -0.125
|
||||
v -0.051777 0.5 -0.125
|
||||
v 0.051777 0.5 -0.125
|
||||
v 0.051777 0 -0.125
|
||||
v 0.125 0 0.051777
|
||||
v 0.051777 0 0.125
|
||||
v -0.051777 0 0.125
|
||||
v -0.125 0 0.051777
|
||||
v -0.125 0 -0.051777
|
||||
v -0.1 0 -0.041421
|
||||
v -0.1 0 0.041421
|
||||
v -0.041421 0 0.1
|
||||
v 0.041421 0 0.1
|
||||
v 0.1 0 0.041421
|
||||
v 0.125 0 -0.051777
|
||||
v 0.1 0 -0.041421
|
||||
v 0.041421 0 -0.1
|
||||
v -0.041421 0 -0.1
|
||||
v -0.125 0.5 -0.051777
|
||||
v -0.125 0.5 0.051777
|
||||
v -0.051777 0.5 0.125
|
||||
v 0.051777 0.5 0.125
|
||||
v 0.125 0.5 0.051777
|
||||
v 0.125 0.5 -0.051777
|
||||
v 0.041421 0.125 -0.1
|
||||
v -0.041421 0.125 -0.1
|
||||
v -0.1 0.125 -0.041421
|
||||
v 0.1 0.125 -0.041421
|
||||
v 0.1 0.125 0.041421
|
||||
v 0.041421 0.125 0.1
|
||||
v -0.041421 0.125 0.1
|
||||
v -0.1 0.125 0.041421
|
||||
|
||||
# normals [10]
|
||||
|
||||
vn 0 0 -1
|
||||
vn -0.7071 0 -0.7071
|
||||
vn 0 1 0
|
||||
vn 0.7071 0 -0.7071
|
||||
vn 1 0 0
|
||||
vn 0.7071 0 0.7071
|
||||
vn 0 0 1
|
||||
vn -0.7071 0 0.7071
|
||||
vn -1 0 0
|
||||
vn 0 -1 0
|
||||
|
||||
# uvs [52]
|
||||
|
||||
vt 0.375 0.5
|
||||
vt 0.375 1
|
||||
vt 0.25 1
|
||||
vt 0.25 0.5
|
||||
vt 0.5 0.5
|
||||
vt 0.5 1
|
||||
vt 0.239277 0.9375
|
||||
vt 0.135723 0.9375
|
||||
vt 0.0625 0.864257
|
||||
vt 0.0625 0.760704
|
||||
vt 0.135723 0.6875
|
||||
vt 0.239277 0.6875
|
||||
vt 0.3125 0.760704
|
||||
vt 0.3125 0.864257
|
||||
vt 0.125 1
|
||||
vt 0.125 0.5
|
||||
vt 0 1
|
||||
vt 0 0.5
|
||||
vt 1 0.5
|
||||
vt 1 1
|
||||
vt 0.875 1
|
||||
vt 0.875 0.5
|
||||
vt 0.75 1
|
||||
vt 0.75 0.5
|
||||
vt 0.625 1
|
||||
vt 0.625 0.5
|
||||
vt 0.375 0.4375
|
||||
vt 0.25 0.4375
|
||||
vt 0.25 0.3125
|
||||
vt 0.375 0.3125
|
||||
vt 0.5 0.4375
|
||||
vt 0.5 0.3125
|
||||
vt 0.176777 0
|
||||
vt 0.25 0.073223
|
||||
vt 0.25 0.176777
|
||||
vt 0.176777 0.25
|
||||
vt 0.073223 0.25
|
||||
vt 0 0.176777
|
||||
vt 0 0.073223
|
||||
vt 0.073223 0
|
||||
vt 0.125 0.4375
|
||||
vt 0.125 0.3125
|
||||
vt 0.625 0.4375
|
||||
vt 0.625 0.3125
|
||||
vt 0.75 0.4375
|
||||
vt 0.75 0.3125
|
||||
vt 0.875 0.4375
|
||||
vt 0.875 0.3125
|
||||
vt 1 0.4375
|
||||
vt 1 0.3125
|
||||
vt 0 0.4375
|
||||
vt 0 0.3125
|
||||
|
||||
# objects [1]
|
||||
|
||||
o CanLight
|
||||
|
||||
s off
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 9/5/2 19/6/2 2/2/2 1/1/2
|
||||
f 3/7/3 2/8/3 19/9/3 20/10/3 21/11/3 22/12/3 23/13/3 24/14/3
|
||||
f 4/4/4 3/3/4 24/15/4 15/16/4
|
||||
f 15/16/5 24/15/5 23/17/5 5/18/5
|
||||
f 5/19/6 23/20/6 22/21/6 6/22/6
|
||||
f 6/22/7 22/21/7 21/23/7 7/24/7
|
||||
f 7/24/8 21/23/8 20/25/8 8/26/8
|
||||
f 8/26/9 20/25/9 19/6/9 9/5/9
|
||||
f 18/27/7 17/28/7 25/29/7 26/30/7
|
||||
f 10/31/6 18/27/6 26/30/6 27/32/6
|
||||
f 25/33/10 28/34/10 29/35/10 30/36/10 31/37/10 32/38/10 27/39/10 26/40/10
|
||||
f 17/28/8 16/41/8 28/42/8 25/29/8
|
||||
f 11/43/5 10/31/5 27/32/5 32/44/5
|
||||
f 12/45/4 11/43/4 32/44/4 31/46/4
|
||||
f 13/47/1 12/45/1 31/46/1 30/48/1
|
||||
f 14/49/2 13/47/2 30/48/2 29/50/2
|
||||
f 16/41/9 14/51/9 29/52/9 28/42/9
|
||||
f 10/31/10 9/5/10 1/1/10 18/27/10
|
||||
f 1/1/10 4/4/10 17/28/10 18/27/10
|
||||
f 4/4/10 15/16/10 16/41/10 17/28/10
|
||||
f 14/51/10 16/41/10 15/16/10 5/18/10
|
||||
f 14/49/10 5/19/10 6/22/10 13/47/10
|
||||
f 13/47/10 6/22/10 7/24/10 12/45/10
|
||||
f 7/24/10 8/26/10 11/43/10 12/45/10
|
||||
f 11/43/10 8/26/10 9/5/10 10/31/10
|
||||
|
|
@ -0,0 +1,146 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T06:56:07Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [44]
|
||||
|
||||
v -0.1875 -0.5 0.1875
|
||||
v -0.1875 -0.4375 0.1875
|
||||
v -0.1875 -0.4375 -0.1875
|
||||
v -0.1875 -0.5 -0.1875
|
||||
v 0.1875 -0.4375 -0.1875
|
||||
v 0.1875 -0.5 -0.1875
|
||||
v 0.1875 -0.4375 0.1875
|
||||
v 0.1875 -0.5 0.1875
|
||||
v 0.03125 0.3125 0.03125
|
||||
v 0.21875 0.3125 0.03125
|
||||
v 0.21875 0.34375 0
|
||||
v 0.03125 0.34375 0
|
||||
v 0.21875 0.3125 -0.03125
|
||||
v 0.03125 0.3125 -0.03125
|
||||
v -0.21875 0.3125 0.03125
|
||||
v -0.03125 0.3125 0.03125
|
||||
v -0.03125 0.34375 0
|
||||
v -0.21875 0.34375 0
|
||||
v -0.03125 0.3125 -0.03125
|
||||
v -0.21875 0.3125 -0.03125
|
||||
v -0.03125 -0.4375 0.03125
|
||||
v -0.03125 0.375 0.03125
|
||||
v -0.03125 0.375 -0.03125
|
||||
v -0.03125 -0.4375 -0.03125
|
||||
v 0.03125 0.375 -0.03125
|
||||
v 0.03125 -0.4375 -0.03125
|
||||
v 0.03125 0.375 0.03125
|
||||
v 0.03125 -0.4375 0.03125
|
||||
v -0.25 -0.0625 0.25
|
||||
v -0.25 0.4375 0.25
|
||||
v -0.25 0.4375 -0.25
|
||||
v -0.25 -0.0625 -0.25
|
||||
v 0.25 0.4375 -0.25
|
||||
v 0.25 -0.0625 -0.25
|
||||
v 0.25 0.4375 0.25
|
||||
v 0.25 -0.0625 0.25
|
||||
v -0.21875 -0.0625 -0.21875
|
||||
v -0.21875 0.4375 -0.21875
|
||||
v 0.21875 0.4375 -0.21875
|
||||
v 0.21875 -0.0625 -0.21875
|
||||
v -0.21875 -0.0625 0.21875
|
||||
v -0.21875 0.4375 0.21875
|
||||
v 0.21875 0.4375 0.21875
|
||||
v 0.21875 -0.0625 0.21875
|
||||
|
||||
# normals [8]
|
||||
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
vn 0 0.7071 0.7071
|
||||
vn 0 0.7071 -0.7071
|
||||
|
||||
# uvs [39]
|
||||
|
||||
vt 0.3125 0.0625
|
||||
vt 0.3125 0
|
||||
vt 0.6875 0
|
||||
vt 0.6875 0.0625
|
||||
vt 0.6875 0.3125
|
||||
vt 0.6875 0.6875
|
||||
vt 0.3125 0.6875
|
||||
vt 0.3125 0.3125
|
||||
vt 0.53125 0.46875
|
||||
vt 0.71875 0.46875
|
||||
vt 0.71875 0.5
|
||||
vt 0.53125 0.5
|
||||
vt 0.71875 0.53125
|
||||
vt 0.53125 0.53125
|
||||
vt 0.28125 0.46875
|
||||
vt 0.46875 0.46875
|
||||
vt 0.46875 0.5
|
||||
vt 0.28125 0.5
|
||||
vt 0.46875 0.53125
|
||||
vt 0.28125 0.53125
|
||||
vt 0.3125 0.875
|
||||
vt 0.25 0.875
|
||||
vt 0.25 0.0625
|
||||
vt 0.3125 0.53125
|
||||
vt 0.25 0.53125
|
||||
vt 0.25 0.46875
|
||||
vt 0.3125 0.46875
|
||||
vt 0 0
|
||||
vt 0 1
|
||||
vt 1 1
|
||||
vt 1 0
|
||||
vt 0.0625 0
|
||||
vt 0.0625 1
|
||||
vt 0.9375 1
|
||||
vt 0.9375 0
|
||||
vt 0.9375 0.0625
|
||||
vt 0.0625 0.0625
|
||||
vt 0.0625 0.9375
|
||||
vt 0.9375 0.9375
|
||||
|
||||
# objects [2]
|
||||
|
||||
g LampBase
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/1/2 3/2/2 5/3/2 6/4/2
|
||||
f 6/3/3 5/4/3 7/1/3 8/2/3
|
||||
f 8/3/4 7/4/4 2/1/4 1/2/4
|
||||
f 4/5/5 6/6/5 8/7/5 1/8/5
|
||||
f 5/5/6 3/6/6 2/7/6 7/8/6
|
||||
f 9/9/7 10/10/7 11/11/7 12/12/7
|
||||
f 12/12/8 11/11/8 13/13/8 14/14/8
|
||||
f 15/15/7 16/16/7 17/17/7 18/18/7
|
||||
f 18/18/8 17/17/8 19/19/8 20/20/8
|
||||
f 21/1/1 22/21/1 23/22/1 24/23/1
|
||||
f 24/1/2 23/21/2 25/22/2 26/23/2
|
||||
f 26/1/3 25/21/3 27/22/3 28/23/3
|
||||
f 28/1/4 27/21/4 22/22/4 21/23/4
|
||||
f 25/24/6 23/25/6 22/26/6 27/27/6
|
||||
|
||||
g LampShade
|
||||
|
||||
s 1
|
||||
f 29/28/1 30/29/1 31/30/1 32/31/1
|
||||
f 32/28/2 31/29/2 33/30/2 34/31/2
|
||||
f 34/31/3 33/30/3 35/29/3 36/28/3
|
||||
f 36/31/4 35/30/4 30/29/4 29/28/4
|
||||
f 37/32/2 38/33/2 39/34/2 40/35/2
|
||||
f 41/32/1 42/33/1 38/34/1 37/35/1
|
||||
f 40/32/3 39/33/3 43/34/3 44/35/3
|
||||
f 44/32/4 43/33/4 42/34/4 41/35/4
|
||||
f 30/28/6 35/31/6 43/36/6 42/37/6
|
||||
f 31/29/6 30/28/6 42/37/6 38/38/6
|
||||
f 33/30/6 31/29/6 38/38/6 39/39/6
|
||||
f 35/31/6 33/30/6 39/39/6 43/36/6
|
||||
f 29/29/5 32/28/5 37/37/5 41/38/5
|
||||
f 32/28/5 34/31/5 40/36/5 37/37/5
|
||||
f 34/31/5 36/30/5 44/39/5 40/36/5
|
||||
f 36/30/5 29/29/5 41/38/5 44/39/5
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:07:59Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [28]
|
||||
|
||||
v 0.125 -0.25 0.375
|
||||
v 0.125 0.25 0.375
|
||||
v -0.125 0.25 0.375
|
||||
v -0.125 -0.25 0.375
|
||||
v -0.125 0.25 0.125
|
||||
v -0.125 -0.25 0.125
|
||||
v 0.125 0.25 0.125
|
||||
v 0.125 -0.25 0.125
|
||||
v -0.03125 -0.34375 0.4375
|
||||
v -0.03125 -0.28125 0.4375
|
||||
v -0.03125 -0.28125 0.28125
|
||||
v -0.03125 -0.34375 0.21875
|
||||
v -0.03125 -0.25 0.28125
|
||||
v -0.03125 -0.25 0.21875
|
||||
v 0.03125 -0.34375 0.21875
|
||||
v 0.03125 -0.28125 0.28125
|
||||
v 0.03125 -0.28125 0.4375
|
||||
v 0.03125 -0.34375 0.4375
|
||||
v 0.03125 -0.25 0.21875
|
||||
v 0.03125 -0.25 0.28125
|
||||
v 0.125 -0.375 0.5
|
||||
v 0.125 0.125 0.5
|
||||
v -0.125 0.125 0.5
|
||||
v -0.125 -0.375 0.5
|
||||
v -0.125 0.125 0.4375
|
||||
v -0.125 -0.375 0.4375
|
||||
v 0.125 0.125 0.4375
|
||||
v 0.125 -0.375 0.4375
|
||||
|
||||
# normals [6]
|
||||
|
||||
vn 0 0 1
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [41]
|
||||
|
||||
vt 1 0.5
|
||||
vt 1 1
|
||||
vt 0.75 1
|
||||
vt 0.75 0.5
|
||||
vt 0.5 1
|
||||
vt 0.5 0.5
|
||||
vt 0.25 1
|
||||
vt 0.25 0.5
|
||||
vt 0 1
|
||||
vt 0 0.5
|
||||
vt 0 0.25
|
||||
vt 0.25 0.25
|
||||
vt 0.03125 0.0625
|
||||
vt 0.03125 0.125
|
||||
vt 0.1875 0.125
|
||||
vt 0.25 0.0625
|
||||
vt 0.1875 0.15625
|
||||
vt 0.25 0.15625
|
||||
vt 0.25 0
|
||||
vt 0.03125 0
|
||||
vt 0.1875 0.25
|
||||
vt 0.03125 0.25
|
||||
vt 0.03125 0.1875
|
||||
vt 0.1875 0.1875
|
||||
vt 0.34375 0.0625
|
||||
vt 0.34375 0
|
||||
vt 0.21875 0.1875
|
||||
vt 0.21875 0.25
|
||||
vt 0.9375 0
|
||||
vt 0.9375 0.5
|
||||
vt 0.6875 0.5
|
||||
vt 0.6875 0
|
||||
vt 0.625 0.5
|
||||
vt 0.625 0
|
||||
vt 0.375 0.5
|
||||
vt 0.375 0
|
||||
vt 0.3125 0.5
|
||||
vt 0.3125 0
|
||||
vt 0.9375 0.25
|
||||
vt 1 0.25
|
||||
vt 1 0
|
||||
|
||||
# objects [1]
|
||||
|
||||
o WallLamp
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/4/2 3/3/2 5/5/2 6/6/2
|
||||
f 6/6/3 5/5/3 7/7/3 8/8/3
|
||||
f 8/8/4 7/7/4 2/9/4 1/10/4
|
||||
f 4/8/5 6/10/5 8/11/5 1/12/5
|
||||
f 5/8/6 3/10/6 2/11/6 7/12/6
|
||||
f 9/13/2 10/14/2 11/15/2 12/16/2
|
||||
f 12/16/2 11/15/2 13/17/2 14/18/2
|
||||
f 15/16/4 16/15/4 17/14/4 18/13/4
|
||||
f 9/13/5 12/16/5 15/19/5 18/20/5
|
||||
f 11/21/6 10/22/6 17/23/6 16/24/6
|
||||
f 16/15/4 15/16/4 19/18/4 20/17/4
|
||||
f 15/19/3 12/16/3 14/25/3 19/26/3
|
||||
f 11/21/1 16/24/1 20/27/1 13/28/1
|
||||
f 21/29/1 22/30/1 23/31/1 24/32/1
|
||||
f 24/32/2 23/31/2 25/33/2 26/34/2
|
||||
f 26/34/3 25/33/3 27/35/3 28/36/3
|
||||
f 28/36/4 27/35/4 22/37/4 21/38/4
|
||||
f 24/39/5 26/40/5 28/1/5 21/30/5
|
||||
f 25/29/6 23/41/6 22/40/6 27/39/6
|
||||
|
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 118 B |
After Width: | Height: | Size: 183 B |
After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 126 B |
After Width: | Height: | Size: 275 B |