Use mesh node for dartboard

also delete a couple of excess files
This commit is contained in:
Vanessa Ezekowitz 2014-12-13 20:55:19 -05:00
parent 3b0e6ad95d
commit e7367558ab
7 changed files with 241 additions and 15 deletions

View File

@ -1207,10 +1207,11 @@ minetest.register_abm({
minetest.register_node("homedecor:dartboard", {
description = "Dartboard",
drawtype = "signlike",
tiles = {"homedecor_dartboard.png"},
inventory_image = "homedecor_dartboard.png",
wield_image = "homedecor_dartboard.png",
drawtype = "mesh",
mesh = "homedecor_dartboard.obj",
tiles = { "homedecor_dartboard.png" },
inventory_image = "homedecor_dartboard_inv.png",
wield_image = "homedecor_dartboard_inv.png",
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,

View File

@ -0,0 +1,236 @@
# Blender v2.69 (sub 0) OBJ File: 'dartboard.blend'
# www.blender.org
mtllib homedecor_dartboard.mtl
o Cylinder
v -0.000000 -0.500000 -0.500000
v -0.000000 -0.437500 -0.500000
v 0.097545 -0.500000 -0.490393
v 0.097545 -0.437500 -0.490393
v 0.191342 -0.500000 -0.461940
v 0.191342 -0.437500 -0.461940
v 0.277785 -0.500000 -0.415735
v 0.277785 -0.437500 -0.415735
v 0.353553 -0.500000 -0.353553
v 0.353553 -0.437500 -0.353553
v 0.415735 -0.500000 -0.277785
v 0.415735 -0.437500 -0.277785
v 0.461940 -0.500000 -0.191342
v 0.461940 -0.437500 -0.191342
v 0.490393 -0.500000 -0.097545
v 0.490393 -0.437500 -0.097545
v 0.500000 -0.500000 0.000000
v 0.500000 -0.437500 0.000000
v 0.490393 -0.500000 0.097545
v 0.490393 -0.437500 0.097545
v 0.461940 -0.500000 0.191342
v 0.461940 -0.437500 0.191342
v 0.415735 -0.500000 0.277785
v 0.415735 -0.437500 0.277785
v 0.353553 -0.500000 0.353553
v 0.353553 -0.437500 0.353553
v 0.277785 -0.500000 0.415735
v 0.277785 -0.437500 0.415735
v 0.191342 -0.500000 0.461940
v 0.191342 -0.437500 0.461940
v 0.097545 -0.500000 0.490393
v 0.097545 -0.437500 0.490393
v -0.000000 -0.500000 0.500000
v -0.000000 -0.437500 0.500000
v -0.097545 -0.500000 0.490393
v -0.097545 -0.437500 0.490393
v -0.191342 -0.500000 0.461940
v -0.191342 -0.437500 0.461940
v -0.277785 -0.500000 0.415735
v -0.277785 -0.437500 0.415735
v -0.353554 -0.500000 0.353553
v -0.353554 -0.437500 0.353553
v -0.415735 -0.500000 0.277785
v -0.415735 -0.437500 0.277785
v -0.461940 -0.500000 0.191341
v -0.461940 -0.437500 0.191341
v -0.490393 -0.500000 0.097545
v -0.490393 -0.437500 0.097545
v -0.500000 -0.500000 -0.000000
v -0.500000 -0.437500 -0.000000
v -0.490393 -0.500000 -0.097546
v -0.490393 -0.437500 -0.097546
v -0.461940 -0.500000 -0.191342
v -0.461940 -0.437500 -0.191342
v -0.415734 -0.500000 -0.277786
v -0.415734 -0.437500 -0.277786
v -0.353553 -0.500000 -0.353554
v -0.353553 -0.437500 -0.353554
v -0.277785 -0.500000 -0.415735
v -0.277785 -0.437500 -0.415735
v -0.191341 -0.500000 -0.461940
v -0.191341 -0.437500 -0.461940
v -0.097544 -0.500000 -0.490393
v -0.097544 -0.437500 -0.490393
vt 0.500000 0.411765
vt 0.500000 0.397059
vt 0.544118 0.397059
vt 0.544118 0.411765
vt 0.588235 0.397059
vt 0.588235 0.411765
vt 0.632353 0.397059
vt 0.632353 0.411765
vt 0.676471 0.397059
vt 0.676471 0.411765
vt 0.720588 0.397059
vt 0.720588 0.411765
vt 0.764706 0.397059
vt 0.764706 0.411765
vt 0.808824 0.397059
vt 0.808824 0.411765
vt 0.852941 0.397059
vt 0.852941 0.411765
vt 0.147059 0.455882
vt 0.147059 0.441176
vt 0.191176 0.441176
vt 0.191176 0.455882
vt 0.235294 0.441176
vt 0.235294 0.455882
vt 0.279412 0.441176
vt 0.279412 0.455882
vt 0.323529 0.441176
vt 0.323529 0.455882
vt 0.367647 0.441176
vt 0.367647 0.455882
vt 0.411765 0.441176
vt 0.411765 0.455882
vt 0.455882 0.441176
vt 0.455882 0.455882
vt 0.500000 0.441176
vt 0.500000 0.455882
vt 0.544118 0.441176
vt 0.544118 0.455882
vt 0.588235 0.441176
vt 0.588235 0.455882
vt 0.632353 0.441176
vt 0.632353 0.455882
vt 0.676471 0.441176
vt 0.676471 0.455882
vt 0.720588 0.441176
vt 0.720588 0.455882
vt 0.764706 0.441176
vt 0.764706 0.455882
vt 0.808824 0.441176
vt 0.808824 0.455882
vt 0.852941 0.441176
vt 0.852941 0.455882
vt 0.147059 0.411765
vt 0.147059 0.397059
vt 0.191176 0.397059
vt 0.191176 0.411765
vt 0.235294 0.397059
vt 0.235294 0.411765
vt 0.279412 0.397059
vt 0.279412 0.411765
vt 0.323529 0.397059
vt 0.323529 0.411765
vt 0.367647 0.397059
vt 0.367647 0.411765
vt 0.411765 0.397059
vt 0.411765 0.411765
vt 0.203606 0.517361
vt 0.249900 0.512801
vt 0.296194 0.517361
vt 0.340710 0.530865
vt 0.381735 0.552793
vt 0.417695 0.582304
vt 0.447206 0.618264
vt 0.469135 0.659290
vt 0.482638 0.703805
vt 0.487198 0.750100
vt 0.482639 0.796394
vt 0.469135 0.840910
vt 0.447206 0.881935
vt 0.417695 0.917895
vt 0.381736 0.947406
vt 0.340710 0.969335
vt 0.296195 0.982838
vt 0.249899 0.987398
vt 0.203605 0.982838
vt 0.159090 0.969335
vt 0.118064 0.947406
vt 0.082105 0.917895
vt 0.052594 0.881936
vt 0.030665 0.840910
vt 0.017162 0.796394
vt 0.012602 0.750100
vt 0.017161 0.703805
vt 0.030665 0.659290
vt 0.052594 0.618264
vt 0.082105 0.582304
vt 0.118065 0.552793
vt 0.159090 0.530864
vt 0.455882 0.411765
vt 0.455882 0.397059
vt 0.750099 0.512802
vt 0.796394 0.517361
vt 0.840910 0.530865
vt 0.881935 0.552793
vt 0.917895 0.582304
vt 0.947406 0.618264
vt 0.969335 0.659290
vt 0.982839 0.703805
vt 0.987398 0.750100
vt 0.982839 0.796395
vt 0.969335 0.840910
vt 0.947406 0.881936
vt 0.917895 0.917895
vt 0.881935 0.947406
vt 0.840911 0.969335
vt 0.796395 0.982838
vt 0.750100 0.987398
vt 0.703805 0.982838
vt 0.659288 0.969334
vt 0.618263 0.947405
vt 0.582304 0.917894
vt 0.552793 0.881934
vt 0.530864 0.840908
vt 0.517361 0.796392
vt 0.512801 0.750098
vt 0.517361 0.703803
vt 0.530865 0.659288
vt 0.552794 0.618263
vt 0.582304 0.582304
vt 0.618264 0.552794
vt 0.659289 0.530865
vt 0.703805 0.517361
usemtl None
s off
f 1/1 2/2 4/3 3/4
f 3/4 4/3 6/5 5/6
f 5/6 6/5 8/7 7/8
f 7/8 8/7 10/9 9/10
f 9/10 10/9 12/11 11/12
f 11/12 12/11 14/13 13/14
f 13/14 14/13 16/15 15/16
f 15/16 16/15 18/17 17/18
f 17/19 18/20 20/21 19/22
f 19/22 20/21 22/23 21/24
f 21/24 22/23 24/25 23/26
f 23/26 24/25 26/27 25/28
f 25/28 26/27 28/29 27/30
f 27/30 28/29 30/31 29/32
f 29/32 30/31 32/33 31/34
f 31/34 32/33 34/35 33/36
f 33/36 34/35 36/37 35/38
f 35/38 36/37 38/39 37/40
f 37/40 38/39 40/41 39/42
f 39/42 40/41 42/43 41/44
f 41/44 42/43 44/45 43/46
f 43/46 44/45 46/47 45/48
f 45/48 46/47 48/49 47/50
f 47/50 48/49 50/51 49/52
f 49/53 50/54 52/55 51/56
f 51/56 52/55 54/57 53/58
f 53/58 54/57 56/59 55/60
f 55/60 56/59 58/61 57/62
f 57/62 58/61 60/63 59/64
f 59/64 60/63 62/65 61/66
f 4/67 2/68 64/69 62/70 60/71 58/72 56/73 54/74 52/75 50/76 48/77 46/78 44/79 42/80 40/81 38/82 36/83 34/84 32/85 30/86 28/87 26/88 24/89 22/90 20/91 18/92 16/93 14/94 12/95 10/96 8/97 6/98
f 63/99 64/100 2/2 1/1
f 61/66 62/65 64/100 63/99
f 1/101 3/102 5/103 7/104 9/105 11/106 13/107 15/108 17/109 19/110 21/111 23/112 25/113 27/114 29/115 31/116 33/117 35/118 37/119 39/120 41/121 43/122 45/123 47/124 49/125 51/126 53/127 55/128 57/129 59/130 61/131 63/132

View File

@ -1,11 +0,0 @@
# Blender MTL File: 'table_small_round.blend'
# 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/vanessa/Minetest-related/mods/my_mods/homedecor_modpack/homedecor/textures/homedecor_glass_table_small_round.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB