diff --git a/init.lua b/init.lua index 52ab759..3d6081f 100644 --- a/init.lua +++ b/init.lua @@ -109,7 +109,7 @@ minetest.override_item("default:coral_skeleton", { drawtype = "mesh", tiles = {"nodeboxtrees_scoral.png"}, wield_scale = {x = 0.5, y = 0.5, z = 0.5}, - mesh = "leaf.obj", + mesh = "coral.obj", paramtype = "light", }) @@ -117,7 +117,7 @@ minetest.override_item("default:coral_brown", { drawtype = "mesh", tiles = {"nodeboxtrees_bcoral.png"}, wield_scale = {x = 0.5, y = 0.5, z = 0.5}, - mesh = "leaf.obj", + mesh = "coral.obj", paramtype = "light", }) @@ -125,7 +125,7 @@ minetest.override_item("default:coral_orange", { drawtype = "mesh", tiles = {"nodeboxtrees_ocoral.png"}, wield_scale = {x = 0.5, y = 0.5, z = 0.5}, - mesh = "leaf.obj", + mesh = "coral.obj", paramtype = "light", }) diff --git a/models/coral.obj b/models/coral.obj new file mode 100644 index 0000000..32cdf3d --- /dev/null +++ b/models/coral.obj @@ -0,0 +1,62 @@ +# Blender v2.78 (sub 0) OBJ File: '' +# www.blender.org +mtllib coral.mtl +o Cube_Cube.001_Material +v -0.503011 -0.495549 0.503027 +v -0.503011 0.508055 0.503027 +v -0.503011 0.508055 -0.505619 +v -0.503011 -0.495549 -0.505619 +v 0.505635 0.508055 -0.505619 +v 0.505635 -0.495549 -0.505619 +v 0.505635 0.508055 0.503027 +v 0.505635 -0.495549 0.503027 +v 0.777020 -0.805439 -0.777488 +v -0.767223 -0.801221 0.776037 +v -0.764616 0.822957 0.774218 +v 0.779626 0.818737 -0.779307 +v -0.776395 -0.802946 -0.777352 +v 0.777132 -0.803710 0.766896 +v 0.779739 0.820467 0.765077 +v -0.773788 0.821231 -0.779171 +vt 0.2500 0.2500 +vt 0.2500 0.7500 +vt 0.7500 0.7500 +vt 0.7500 0.2500 +vt 0.2500 0.2500 +vt 0.2500 0.7500 +vt 0.7500 0.7500 +vt 0.7500 0.2500 +vt 0.2500 0.7500 +vt 0.2500 0.2500 +vt 0.7500 0.2500 +vt 0.7500 0.7500 +vt 0.7500 0.7500 +vt 0.2500 0.7500 +vt 0.7500 0.2500 +vt 0.2500 0.2500 +vt 1.0000 0.0000 +vt -0.0000 -0.0000 +vt -0.0000 1.0000 +vt 1.0000 1.0000 +vt 1.0000 0.0000 +vt 0.0000 0.0000 +vt 0.0000 1.0000 +vt 1.0000 1.0000 +vn -1.0000 -0.0000 0.0000 +vn 0.0000 0.0000 -1.0000 +vn 1.0000 0.0000 0.0000 +vn 0.0000 -0.0000 1.0000 +vn 0.0000 -1.0000 -0.0000 +vn 0.0000 1.0000 0.0000 +vn -0.7092 0.0003 -0.7050 +vn -0.7050 0.0019 0.7092 +usemtl None +s 1 +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 4/5/2 3/6/2 5/7/2 6/8/2 +f 6/8/3 5/7/3 7/9/3 8/10/3 +f 8/11/4 7/12/4 2/2/4 1/1/4 +f 4/4/5 6/13/5 8/14/5 1/1/5 +f 5/7/6 3/15/6 2/16/6 7/9/6 +f 9/17/7 10/18/7 11/19/7 12/20/7 +f 13/21/8 14/22/8 15/23/8 16/24/8