summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--depends.txt3
-rw-r--r--init.lua121
-rw-r--r--models/si_frame_quartered.mtl19
-rw-r--r--models/si_frame_quartered.obj247
-rw-r--r--models/si_frame_quartered_diagonal.mtl35
-rw-r--r--models/si_frame_quartered_diagonal.obj247
-rw-r--r--models/si_frame_simple.mtl11
-rw-r--r--models/si_frame_simple.obj108
8 files changed, 791 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
new file mode 100644
index 0000000..4e69b05
--- /dev/null
+++ b/depends.txt
@@ -0,0 +1,3 @@
+default
+maple?
+ethereal? \ No newline at end of file
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..e9e195e
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,121 @@
+local materials = {
+ ["wood"] = "default",
+ ["junglewood"] = "default",
+ ["pine_wood"] = "default",
+ ["acacia_wood"] = "default",
+ ["aspen_wood"] = "default",
+ ["maple_wood"] = "maple",
+ ["banana_wood"] = "ethereal",
+ ["birch_wood"] = "ethereal",
+ ["frost_wood"] = "ethereal",
+ ["palm_wood"] = "ethereal",
+ ["willow_wood"] = "ethereal",
+ ["yellow_wood"] = "ethereal",
+ ["redwood_wood"] = "ethereal",
+}
+
+
+local frametypes = {
+ {
+ name = "Simple window frame",
+ node = "window_frame_simple",
+ model = "si_frame_simple.obj"
+ },
+ {
+ name = "Quartered window frame",
+ node = "window_frame_quartered",
+ model = "si_frame_quartered.obj"
+ },
+ {
+ name = "Quartered (diagonal) window frame",
+ node = "window_frame_quartered_diagonal",
+ model = "si_frame_quartered_diagonal.obj"
+ },
+}
+
+for material, modname in pairs(materials) do
+ if minetest.get_modpath(modname) then
+ local nodedef = minetest.registered_nodes[modname .. ":" .. material]
+ if nodedef then
+
+ local texture = nodedef.tiles[1]
+
+ if texture then
+ for _,f in ipairs(frametypes) do
+
+ minetest.register_node ("si_frames:" .. f.node .. "_" .. material, {
+ description = f.name,
+ drawtype = "mesh",
+ mesh = f.model,
+ tiles = {texture},
+ paramtype = "light",
+ paramtype2 = "facedir",
+ is_ground_content = false,
+ sunlight_propagates = true,
+ groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1 },
+ sounds = default.node_sound_stone_defaults(),
+ walkable = false,
+ selection_box = { type = "fixed",
+ fixed = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}}
+ },
+ collisionbox = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}},
+ })
+
+
+ end
+ end
+ end
+ end
+end
+
+--[[
+
+minetest.register_node ("si_frames:window_frame_simple", {
+ description = "Simple window frame",
+ drawtype = "mesh",
+ mesh = "si_frame_simple.obj",
+ tiles = {"maple_wood.png"},
+ paramtype2 = "facedir",
+ is_ground_content = false,
+ groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1 },
+ sounds = default.node_sound_stone_defaults(),
+ walkable = false,
+ selection_box = { type = "fixed",
+ fixed = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}}
+ },
+ collisionbox = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}},
+})
+
+minetest.register_node ("si_frames:window_frame_quartered", {
+ description = "Quartered window frame",
+ drawtype = "mesh",
+ mesh = "si_frame_quartered.obj",
+ tiles = {"maple_wood.png"},
+ paramtype2 = "facedir",
+ is_ground_content = false,
+ groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1 },
+ sounds = default.node_sound_stone_defaults(),
+ walkable = false,
+ selection_box = { type = "fixed",
+ fixed = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}}
+ },
+ collisionbox = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}},
+})
+
+minetest.register_node ("si_frames:window_frame_quartered_diagonal", {
+ description = "Quartered (diagonal) window frame",
+ drawtype = "mesh",
+ mesh = "si_frame_quartered_diagonal.obj",
+ tiles = {"maple_wood.png"},
+ paramtype2 = "facedir",
+ is_ground_content = false,
+ groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1 },
+ sounds = default.node_sound_stone_defaults(),
+ walkable = false,
+ selection_box = { type = "fixed",
+ fixed = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}}
+ },
+ collisionbox = {{-0.4, -0.45, 0.4, 0.4, 0.4, 0.5}},
+})
+
+]]--
diff --git a/models/si_frame_quartered.mtl b/models/si_frame_quartered.mtl
new file mode 100644
index 0000000..af6c24b
--- /dev/null
+++ b/models/si_frame_quartered.mtl
@@ -0,0 +1,19 @@
+# Blender MTL File: 'None'
+# Material Count: 2
+
+newmtl None
+Ns 0
+Ka 0.000000 0.000000 0.000000
+Kd 0.8 0.8 0.8
+Ks 0.8 0.8 0.8
+d 1
+illum 2
+map_Kd /home/smacker/Github/maple/textures/maple_wood.png
+
+newmtl None_NONE
+Ns 0
+Ka 0.000000 0.000000 0.000000
+Kd 0.8 0.8 0.8
+Ks 0.8 0.8 0.8
+d 1
+illum 2
diff --git a/models/si_frame_quartered.obj b/models/si_frame_quartered.obj
new file mode 100644
index 0000000..e0d6704
--- /dev/null
+++ b/models/si_frame_quartered.obj
@@ -0,0 +1,247 @@
+# Blender v2.79 (sub 0) OBJ File: ''
+# www.blender.org
+mtllib si_frame_quartered.mtl
+o Cube_Cube.003
+v -0.500000 -0.500000 1.125000
+v -0.500000 0.500000 1.125000
+v -0.500000 -0.500000 0.875000
+v -0.500000 0.500000 0.875000
+v 0.500000 -0.500000 1.125000
+v 0.500000 0.500000 1.125000
+v 0.500000 -0.500000 0.875000
+v 0.500000 0.500000 0.875000
+v 0.437500 0.437500 0.875000
+v 0.437500 0.437500 1.125000
+v 0.437500 -0.437500 0.875000
+v 0.437500 -0.437500 1.125000
+v -0.437500 -0.437500 0.875000
+v -0.437500 -0.437500 1.125000
+v -0.437500 0.437500 0.875000
+v -0.437500 0.437500 1.125000
+v -0.041600 -0.041600 1.041600
+v -0.041600 0.041600 1.041600
+v -0.041600 -0.041600 0.958400
+v -0.041600 0.041600 0.958400
+v 0.041600 -0.041600 1.041600
+v 0.041600 0.041600 1.041600
+v 0.041600 -0.041600 0.958400
+v 0.041600 0.041600 0.958400
+v 0.491600 0.041600 0.958400
+v 0.491600 -0.041600 0.958400
+v 0.491600 -0.041600 1.041600
+v 0.491600 0.041600 1.041600
+v -0.491600 -0.041600 0.958400
+v -0.491600 -0.041600 1.041600
+v -0.491600 0.041600 1.041600
+v -0.491600 0.041600 0.958400
+v -0.041600 -0.041600 0.958400
+v -0.041600 -0.041600 1.041600
+v 0.041600 -0.041600 0.958400
+v 0.041600 -0.041600 1.041600
+v -0.041600 -0.491600 0.958400
+v -0.041600 -0.491600 1.041600
+v 0.041600 -0.491600 0.958400
+v 0.041600 -0.491600 1.041600
+v -0.041600 0.491600 1.041600
+v -0.041600 0.491600 0.958400
+v 0.041600 0.491600 0.958400
+v 0.041600 0.491600 1.041600
+vt 0.000000 0.514541
+vt 0.999163 0.514541
+vt 0.999163 0.745055
+vt 0.000000 0.745055
+vt 0.997859 0.928100
+vt -0.002141 0.928100
+vt 0.060359 0.865600
+vt 0.935359 0.865600
+vt 0.000000 0.506774
+vt 0.996063 0.506774
+vt 0.996063 0.267734
+vt 0.000000 0.267734
+vt 0.998450 0.781791
+vt -0.001550 0.781791
+vt 0.060950 0.719291
+vt 0.935950 0.719291
+vt 0.994448 1.000000
+vt -0.001432 1.000000
+vt -0.001432 0.751132
+vt 0.994448 0.751132
+vt 1.000000 0.256963
+vt 0.002317 0.256963
+vt 0.002317 0.001207
+vt 1.000000 0.001207
+vt 0.000000 0.000000
+vt 0.000000 0.235714
+vt 0.996094 0.235714
+vt 0.996094 0.000000
+vt 0.000000 0.483879
+vt 0.000000 0.240861
+vt 0.996094 0.240860
+vt 0.996094 0.483879
+vt 0.006792 0.855241
+vt 0.069292 0.792741
+vt 0.944292 0.792741
+vt 1.006792 0.855241
+vt 1.000000 1.000000
+vt 0.000000 1.000000
+vt 0.062500 0.937500
+vt 0.937500 0.937500
+vt 0.000000 1.000000
+vt -0.000000 0.750000
+vt 0.999340 0.750000
+vt 0.999341 1.000000
+vt 0.995538 0.743923
+vt 0.995538 0.489166
+vt 0.000000 0.489166
+vt 0.000000 0.743923
+vt -0.000591 0.855241
+vt 0.061909 0.792741
+vt 0.936909 0.792741
+vt 0.999409 0.855241
+vt 0.000000 1.000000
+vt 0.062500 0.937500
+vt 0.937500 0.937500
+vt 1.000000 1.000000
+vt 0.999040 0.926550
+vt -0.000959 0.926550
+vt 0.061541 0.864050
+vt 0.936540 0.864050
+vt 0.004651 0.784892
+vt 0.067150 0.722392
+vt 0.942150 0.722391
+vt 1.004650 0.784891
+vt 0.364768 0.540790
+vt 0.364768 0.810398
+vt 0.000214 0.810398
+vt 0.000214 0.540790
+vt 0.457663 0.974384
+vt 0.457663 0.837210
+vt 0.542279 0.837210
+vt 0.542279 0.974384
+vt 0.542279 0.983324
+vt 0.542279 0.840204
+vt 0.999942 0.840204
+vt 0.999942 0.983324
+vt 0.457663 0.983324
+vt 0.457663 0.840204
+vt 0.364861 0.270628
+vt 0.364768 0.540236
+vt 0.000214 0.540110
+vt 0.000307 0.270502
+vt 0.365196 0.810398
+vt 0.365196 0.540790
+vt 0.729750 0.540790
+vt 0.729750 0.810398
+vt 0.729415 0.270754
+vt 0.729321 0.540361
+vt 0.999942 0.837209
+vt 0.999942 0.974384
+vt 0.000000 0.974384
+vt 0.000000 0.837210
+vt 0.000000 0.983324
+vt 0.000000 0.840204
+vt 0.364861 0.000340
+vt 0.364768 0.269948
+vt 0.000214 0.269822
+vt 0.000307 0.000214
+vt 0.948238 0.017026
+vt 0.948238 0.286634
+vt 0.583685 0.286634
+vt 0.583685 0.017026
+vt 0.407663 0.017361
+vt 0.407663 0.286969
+vt 0.043109 0.286969
+vt 0.043109 0.017361
+vt 1.000000 0.815143
+vt 1.000000 1.000000
+vt 0.500086 1.000000
+vt 0.500086 0.815143
+vt 1.000000 0.812043
+vt 1.000000 0.996900
+vt 0.500086 0.996900
+vt 0.500086 0.812043
+vt 0.729415 0.000466
+vt 0.729321 0.270074
+vt 0.000000 1.000000
+vt 0.000000 0.815143
+vt 0.499914 0.815143
+vt 0.499914 1.000000
+vt 0.000000 0.996533
+vt 0.000000 0.811675
+vt 0.499914 0.811675
+vt 0.499914 0.996532
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vn -1.0000 0.0000 0.0000
+vn 0.0000 0.0000 1.0000
+vn 1.0000 0.0000 0.0000
+vn 0.0000 -1.0000 0.0000
+vn 0.0000 1.0000 0.0000
+vn 0.0000 0.0000 -1.0000
+usemtl None
+s off
+f 1/1/1 2/2/1 4/3/1 3/4/1
+f 5/5/2 6/6/2 10/7/2 12/8/2
+f 7/9/3 8/10/3 6/11/3 5/12/3
+f 6/13/2 2/14/2 16/15/2 10/16/2
+f 3/17/4 7/18/4 5/19/4 1/20/4
+f 8/21/5 4/22/5 2/23/5 6/24/5
+f 11/25/1 12/26/1 10/27/1 9/28/1
+f 14/29/3 13/30/3 15/31/3 16/32/3
+f 1/33/2 14/34/2 16/35/2 2/36/2
+f 1/37/2 5/38/2 12/39/2 14/40/2
+f 13/41/5 14/42/5 12/43/5 11/44/5
+f 9/45/4 10/46/4 16/47/4 15/48/4
+f 7/49/6 11/50/6 9/51/6 8/52/6
+f 8/53/6 9/54/6 15/55/6 4/56/6
+f 3/57/6 4/58/6 15/59/6 13/60/6
+f 3/61/6 13/62/6 11/63/6 7/64/6
+f 19/65/4 17/66/4 30/67/4 29/68/4
+f 19/69/6 20/70/6 24/71/6 23/72/6
+f 22/73/2 21/74/2 27/75/2 28/76/2
+f 21/74/2 22/73/2 18/77/2 17/78/2
+f 22/79/3 24/80/3 43/81/3 44/82/3
+f 21/83/4 23/84/4 26/85/4 27/86/4
+f 24/80/5 22/79/5 28/87/5 25/88/5
+f 23/72/6 24/71/6 25/89/6 26/90/6
+f 20/70/6 19/69/6 29/91/6 32/92/6
+f 17/78/2 18/77/2 31/93/2 30/94/2
+f 18/95/5 20/96/5 32/97/5 31/98/5
+f 35/99/3 36/100/3 40/101/3 39/102/3
+f 34/103/1 33/104/1 37/105/1 38/106/1
+f 36/107/2 34/108/2 38/109/2 40/110/2
+f 33/111/6 35/112/6 39/113/6 37/114/6
+f 20/96/1 18/95/1 41/115/1 42/116/1
+f 18/117/2 22/118/2 44/119/2 41/120/2
+f 24/121/6 20/122/6 42/123/6 43/124/6
+usemtl None_NONE
+f 17/125/2 19/126/2 33/127/2 34/128/2
+f 26/129/3 25/130/3 28/131/3 27/132/3
+f 30/133/1 31/134/1 32/135/1 29/136/1
+f 23/137/2 21/138/2 36/139/2 35/140/2
+f 21/138/2 17/125/2 34/128/2 36/139/2
+f 19/126/2 23/137/2 35/140/2 33/127/2
+f 37/141/4 39/142/4 40/143/4 38/144/4
+f 43/145/5 42/146/5 41/147/5 44/148/5
diff --git a/models/si_frame_quartered_diagonal.mtl b/models/si_frame_quartered_diagonal.mtl
new file mode 100644
index 0000000..b35baea
--- /dev/null
+++ b/models/si_frame_quartered_diagonal.mtl
@@ -0,0 +1,35 @@
+# Blender MTL File: 'None'
+# Material Count: 3
+
+newmtl None
+Ns 0.000000
+Ka 0.000000 0.000000 0.000000
+Kd 0.800000 0.800000 0.800000
+Ks 0.800000 0.800000 0.800000
+Ke 0.000000 0.000000 0.000000
+Ni 1.000000
+d 1.000000
+illum 2
+map_Kd /home/smacker/Github/maple/textures/maple_wood.png
+
+newmtl None_NONE
+Ns 0.000000
+Ka 0.000000 0.000000 0.000000
+Kd 0.800000 0.800000 0.800000
+Ks 0.800000 0.800000 0.800000
+Ke 0.000000 0.000000 0.000000
+Ni 1.000000
+d 1.000000
+illum 2
+map_Kd /home/smacker/Github/maple/textures/maple_wood.png
+
+newmtl None_maple_wood.png
+Ns 0.000000
+Ka 0.000000 0.000000 0.000000
+Kd 0.800000 0.800000 0.800000
+Ks 0.800000 0.800000 0.800000
+Ke 0.000000 0.000000 0.000000
+Ni 1.000000
+d 1.000000
+illum 2
+map_Kd /home/smacker/Github/maple/textures/maple_wood.png
diff --git a/models/si_frame_quartered_diagonal.obj b/models/si_frame_quartered_diagonal.obj
new file mode 100644
index 0000000..028a910
--- /dev/null
+++ b/models/si_frame_quartered_diagonal.obj
@@ -0,0 +1,247 @@
+# Blender v2.79 (sub 0) OBJ File: ''
+# www.blender.org
+mtllib si_frame_quartered_diagonal.mtl
+o Cube_Cube.007
+v -0.058831 0.000000 1.041600
+v 0.000000 0.058831 1.041600
+v -0.058831 0.000000 0.958400
+v 0.000000 0.058831 0.958400
+v 0.000000 -0.058831 1.041600
+v 0.058831 0.000000 1.041600
+v 0.000000 -0.058831 0.958400
+v 0.058831 0.000000 0.958400
+v -0.483095 0.424264 0.958400
+v -0.483095 0.424264 1.041600
+v -0.424264 0.483095 1.041600
+v -0.424264 0.483095 0.958400
+v 0.483095 -0.424264 0.958400
+v 0.424264 -0.483095 0.958400
+v 0.424264 -0.483095 1.041600
+v 0.483095 -0.424264 1.041600
+v 0.424264 0.483095 1.041600
+v 0.424264 0.483095 0.958400
+v 0.483095 0.424264 0.958400
+v 0.483095 0.424264 1.041600
+v -0.483095 -0.424264 0.958400
+v -0.483095 -0.424264 1.041600
+v -0.424264 -0.483095 0.958400
+v -0.424264 -0.483095 1.041600
+v -0.500000 -0.500000 1.125000
+v -0.500000 0.500000 1.125000
+v -0.500000 0.500000 0.875000
+v -0.500000 -0.500000 0.875000
+v 0.500000 -0.500000 1.125000
+v 0.500000 0.500000 1.125000
+v 0.437500 0.437500 1.125000
+v 0.437500 -0.437500 1.125000
+v 0.500000 -0.500000 0.875000
+v 0.500000 0.500000 0.875000
+v -0.437500 0.437500 1.125000
+v 0.437500 -0.437500 0.875000
+v 0.437500 0.437500 0.875000
+v -0.437500 -0.437500 1.125000
+v -0.437500 -0.437500 0.875000
+v -0.437500 0.437500 0.875000
+vt 0.000000 0.514541
+vt 0.999163 0.514541
+vt 0.999163 0.745055
+vt 0.000000 0.745055
+vt 0.997859 0.928100
+vt -0.002141 0.928100
+vt 0.060359 0.865600
+vt 0.935359 0.865600
+vt 0.000000 0.506774
+vt 0.996063 0.506774
+vt 0.996063 0.267734
+vt 0.000000 0.267734
+vt 0.998450 0.781791
+vt -0.001550 0.781791
+vt 0.060950 0.719291
+vt 0.935950 0.719291
+vt 0.994448 1.000000
+vt -0.001432 1.000000
+vt -0.001432 0.751132
+vt 0.994448 0.751132
+vt 1.000000 0.256963
+vt 0.002317 0.256963
+vt 0.002317 0.001207
+vt 1.000000 0.001207
+vt 0.000000 0.000000
+vt 0.000000 0.235714
+vt 0.996094 0.235714
+vt 0.996094 0.000000
+vt 0.000000 0.483879
+vt 0.000000 0.240861
+vt 0.996094 0.240860
+vt 0.996094 0.483879
+vt 0.006792 0.855241
+vt 0.069292 0.792741
+vt 0.944292 0.792741
+vt 1.006792 0.855241
+vt 1.000000 1.000000
+vt 0.000000 1.000000
+vt 0.062500 0.937500
+vt 0.937500 0.937500
+vt 0.000000 1.000000
+vt -0.000000 0.750000
+vt 0.999340 0.750000
+vt 0.999341 1.000000
+vt 0.995538 0.743923
+vt 0.995538 0.489166
+vt 0.000000 0.489166
+vt 0.000000 0.743923
+vt -0.000591 0.855241
+vt 0.061909 0.792741
+vt 0.936909 0.792741
+vt 0.999409 0.855241
+vt 0.000000 1.000000
+vt 0.062500 0.937500
+vt 0.937500 0.937500
+vt 1.000000 1.000000
+vt 0.999040 0.926550
+vt -0.000959 0.926550
+vt 0.061541 0.864050
+vt 0.936540 0.864050
+vt 0.004651 0.784892
+vt 0.067150 0.722392
+vt 0.942150 0.722391
+vt 1.004650 0.784891
+vt 0.498400 0.345024
+vt 0.498400 0.463882
+vt 0.000000 0.463882
+vt 0.000000 0.345024
+vt 0.467557 0.977298
+vt 0.467557 0.833681
+vt 0.532392 0.833681
+vt 0.532392 0.977298
+vt 1.000000 0.596609
+vt 1.000000 0.716192
+vt 0.499828 0.716193
+vt 0.499828 0.596609
+vt 0.532392 0.838388
+vt 0.532392 0.968918
+vt 0.467557 0.968918
+vt 0.467557 0.838388
+vt 1.000000 0.861354
+vt 1.000000 1.000000
+vt 0.500074 1.000000
+vt 0.500074 0.861354
+vt 0.000000 0.714233
+vt 0.000000 0.598311
+vt 0.498401 0.598311
+vt 0.498401 0.714232
+vt 0.498398 0.969961
+vt 0.498398 0.837811
+vt -0.000000 0.837811
+vt 0.000000 0.969961
+vt 0.000000 0.977298
+vt 0.000000 0.833682
+vt 0.000000 0.968918
+vt 0.000000 0.838388
+vt 0.999949 0.833681
+vt 0.999949 0.977297
+vt 0.999949 0.838388
+vt 0.999949 0.968918
+vt 0.498400 0.217641
+vt 0.498400 0.098500
+vt 0.996801 0.098500
+vt 0.996801 0.217641
+vt 0.996801 0.345024
+vt 0.996801 0.463882
+vt 0.500075 1.000000
+vt 0.500074 0.861354
+vt 1.000000 0.861354
+vt 1.000000 1.000000
+vt 0.000000 1.000000
+vt 0.000000 0.861354
+vt 0.499926 0.861354
+vt 0.499926 1.000000
+vt 0.996900 0.970162
+vt 0.996900 0.838012
+vt 0.000000 0.217641
+vt 0.000000 0.098500
+vt 0.499926 0.861354
+vt 0.499926 1.000000
+vt 0.000000 1.000000
+vt 0.000000 0.861354
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vt 0.000000 0.000000
+vn -0.5773 -0.5773 0.5773
+vn -0.5773 0.5773 0.5773
+vn -0.5773 0.5773 -0.5773
+vn -0.5773 -0.5773 -0.5773
+vn 0.5773 -0.5773 0.5773
+vn 0.5773 0.5773 0.5773
+vn -0.3015 -0.3015 0.9045
+vn -0.3015 0.3015 0.9045
+vn 0.5773 -0.5773 -0.5773
+vn 0.5773 0.5773 -0.5773
+vn 0.3015 -0.3015 0.9045
+vn -0.3015 0.3015 -0.9045
+vn -0.3015 -0.3015 -0.9045
+vn 0.3015 0.3015 0.9045
+vn 0.3015 0.3015 -0.9045
+vn 0.3015 -0.3015 -0.9045
+vn 0.7071 0.7071 0.0000
+vn 0.0000 0.0000 -1.0000
+vn 0.0000 0.0000 1.0000
+vn 0.7071 -0.7071 0.0000
+vn -0.7071 -0.7071 0.0000
+vn -0.7071 0.7071 0.0000
+usemtl None
+s 1
+f 25/1/1 26/2/2 27/3/3 28/4/4
+f 29/5/5 30/6/6 31/7/7 32/8/8
+f 33/9/9 34/10/10 30/11/6 29/12/5
+f 30/13/6 26/14/2 35/15/11 31/16/7
+f 28/17/4 33/18/9 29/19/5 25/20/1
+f 34/21/10 27/22/3 26/23/2 30/24/6
+f 36/25/12 32/26/8 31/27/7 37/28/13
+f 38/29/14 39/30/15 40/31/16 35/32/11
+f 25/33/1 38/34/14 35/35/11 26/36/2
+f 25/37/1 29/38/5 32/39/8 38/40/14
+f 39/41/15 38/42/14 32/43/8 36/44/12
+f 37/45/13 31/46/7 35/47/11 40/48/16
+f 33/49/9 36/50/12 37/51/13 34/52/10
+f 34/53/10 37/54/13 40/55/16 27/56/3
+f 28/57/4 27/58/3 40/59/16 39/60/15
+f 28/61/4 39/62/15 36/63/12 33/64/9
+usemtl None_maple_wood.png
+s off
+f 2/65/17 4/66/17 12/67/17 11/68/17
+f 3/69/18 4/70/18 8/71/18 7/72/18
+f 8/73/17 6/74/17 16/75/17 13/76/17
+f 5/77/19 6/78/19 2/79/19 1/80/19
+f 3/81/18 7/82/18 23/83/18 21/84/18
+f 6/85/20 8/86/20 19/87/20 20/88/20
+f 3/89/21 1/90/21 10/91/21 9/92/21
+f 4/70/18 3/69/18 9/93/18 12/94/18
+f 1/80/19 2/79/19 11/95/19 10/96/19
+f 7/72/18 8/71/18 13/97/18 14/98/18
+f 6/78/19 5/77/19 15/99/19 16/100/19
+f 5/101/21 7/102/21 14/103/21 15/104/21
+f 4/66/22 2/65/22 17/105/22 18/106/22
+f 2/107/19 6/108/19 20/109/19 17/110/19
+f 8/111/18 4/112/18 18/113/18 19/114/18
+f 1/90/22 3/89/22 21/115/22 22/116/22
+f 7/102/20 5/101/20 24/117/20 23/118/20
+f 5/119/19 1/120/19 22/121/19 24/122/19
+usemtl None_NONE
+f 10/123/22 11/124/22 12/125/22 9/126/22
+f 14/127/20 13/128/20 16/129/20 15/130/20
+f 19/131/17 18/132/17 17/133/17 20/134/17
+f 21/135/21 23/136/21 24/137/21 22/138/21
diff --git a/models/si_frame_simple.mtl b/models/si_frame_simple.mtl
new file mode 100644
index 0000000..b4b604a
--- /dev/null
+++ b/models/si_frame_simple.mtl
@@ -0,0 +1,11 @@
+# Blender MTL File: 'None'
+# Material Count: 1
+
+newmtl None
+Ns 0
+Ka 0.000000 0.000000 0.000000
+Kd 0.8 0.8 0.8
+Ks 0.8 0.8 0.8
+d 1
+illum 2
+map_Kd /home/smacker/Github/maple/textures/maple_wood.png
diff --git a/models/si_frame_simple.obj b/models/si_frame_simple.obj
new file mode 100644
index 0000000..25d80d4
--- /dev/null
+++ b/models/si_frame_simple.obj
@@ -0,0 +1,108 @@
+# Blender v2.79 (sub 0) OBJ File: ''
+# www.blender.org
+mtllib si_frame_simple.mtl
+o Cube_Cube.003
+v -0.500000 -0.500000 1.125000
+v -0.500000 0.500000 1.125000
+v -0.500000 -0.500000 0.875000
+v -0.500000 0.500000 0.875000
+v 0.500000 -0.500000 1.125000
+v 0.500000 0.500000 1.125000
+v 0.500000 -0.500000 0.875000
+v 0.500000 0.500000 0.875000
+v 0.437500 0.437500 0.875000
+v 0.437500 0.437500 1.125000
+v 0.437500 -0.437500 0.875000
+v 0.437500 -0.437500 1.125000
+v -0.437500 -0.437500 0.875000
+v -0.437500 -0.437500 1.125000
+v -0.437500 0.437500 0.875000
+v -0.437500 0.437500 1.125000
+vt 0.000000 0.514541
+vt 0.999163 0.514541
+vt 0.999163 0.745055
+vt 0.000000 0.745055
+vt 0.997859 0.928100
+vt -0.002141 0.928100
+vt 0.060359 0.865600
+vt 0.935359 0.865600
+vt 0.000000 0.506774
+vt 0.996063 0.506774
+vt 0.996063 0.267734
+vt 0.000000 0.267734
+vt 0.998450 0.781791
+vt -0.001550 0.781791
+vt 0.060950 0.719291
+vt 0.935950 0.719291
+vt 0.994448 1.000000
+vt -0.001432 1.000000
+vt -0.001432 0.751132
+vt 0.994448 0.751132
+vt 1.000000 0.256963
+vt 0.002317 0.256963
+vt 0.002317 0.001207
+vt 1.000000 0.001207
+vt 0.000000 0.000000
+vt 0.000000 0.235714
+vt 0.996094 0.235714
+vt 0.996094 0.000000
+vt 0.000000 0.483879
+vt 0.000000 0.240861
+vt 0.996094 0.240860
+vt 0.996094 0.483879
+vt 0.006792 0.855241
+vt 0.069292 0.792741
+vt 0.944292 0.792741
+vt 1.006792 0.855241
+vt 1.000000 1.000000
+vt 0.000000 1.000000
+vt 0.062500 0.937500
+vt 0.937500 0.937500
+vt 0.000000 1.000000
+vt -0.000000 0.750000
+vt 0.999340 0.750000
+vt 0.999341 1.000000
+vt 0.995538 0.743923
+vt 0.995538 0.489166
+vt 0.000000 0.489166
+vt 0.000000 0.743923
+vt -0.000591 0.855241
+vt 0.061909 0.792741
+vt 0.936909 0.792741
+vt 0.999409 0.855241
+vt 0.000000 1.000000
+vt 0.062500 0.937500
+vt 0.937500 0.937500
+vt 1.000000 1.000000
+vt 0.999040 0.926550
+vt -0.000959 0.926550
+vt 0.061541 0.864050
+vt 0.936540 0.864050
+vt 0.004651 0.784892
+vt 0.067150 0.722392
+vt 0.942150 0.722391
+vt 1.004650 0.784891
+vn -1.0000 0.0000 0.0000
+vn 0.0000 0.0000 1.0000
+vn 1.0000 0.0000 0.0000
+vn 0.0000 -1.0000 0.0000
+vn 0.0000 1.0000 0.0000
+vn 0.0000 0.0000 -1.0000
+usemtl None
+s off
+f 1/1/1 2/2/1 4/3/1 3/4/1
+f 5/5/2 6/6/2 10/7/2 12/8/2
+f 7/9/3 8/10/3 6/11/3 5/12/3
+f 6/13/2 2/14/2 16/15/2 10/16/2
+f 3/17/4 7/18/4 5/19/4 1/20/4
+f 8/21/5 4/22/5 2/23/5 6/24/5
+f 11/25/1 12/26/1 10/27/1 9/28/1
+f 14/29/3 13/30/3 15/31/3 16/32/3
+f 1/33/2 14/34/2 16/35/2 2/36/2
+f 1/37/2 5/38/2 12/39/2 14/40/2
+f 13/41/5 14/42/5 12/43/5 11/44/5
+f 9/45/4 10/46/4 16/47/4 15/48/4
+f 7/49/6 11/50/6 9/51/6 8/52/6
+f 8/53/6 9/54/6 15/55/6 4/56/6
+f 3/57/6 4/58/6 15/59/6 13/60/6
+f 3/61/6 13/62/6 11/63/6 7/64/6