forked from mtcontrib/homedecor_modpack
use mesh node for kitchen sink
This commit is contained in:
parent
200bfeff4e
commit
26dd190226
BIN
homedecor/blends/kitchen_sink.blend
Normal file
BIN
homedecor/blends/kitchen_sink.blend
Normal file
Binary file not shown.
|
@ -125,12 +125,9 @@ minetest.register_node('homedecor:kitchen_cabinet_half', {
|
||||||
|
|
||||||
minetest.register_node('homedecor:kitchen_cabinet_with_sink', {
|
minetest.register_node('homedecor:kitchen_cabinet_with_sink', {
|
||||||
description = S("Kitchen Cabinet with sink"),
|
description = S("Kitchen Cabinet with sink"),
|
||||||
tiles = { 'homedecor_kitchen_cabinet_sinktop.png',
|
drawtype = "mesh",
|
||||||
'homedecor_kitchen_cabinet_bottom.png',
|
mesh = "homedecor_kitchen_sink.obj",
|
||||||
'homedecor_kitchen_cabinet_sides.png',
|
tiles = { "homedecor_kitchen_sink.png" },
|
||||||
'homedecor_kitchen_cabinet_sides.png',
|
|
||||||
'homedecor_kitchen_cabinet_sides.png',
|
|
||||||
'homedecor_kitchen_cabinet_front.png'},
|
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
|
108
homedecor/models/homedecor_kitchen_sink.obj
Normal file
108
homedecor/models/homedecor_kitchen_sink.obj
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
# Blender v2.69 (sub 0) OBJ File: 'kitchen_sink.blend'
|
||||||
|
# www.blender.org
|
||||||
|
mtllib homedecor_kitchen_sink.mtl
|
||||||
|
o Cube
|
||||||
|
v -0.500000 -0.500000 -0.500000
|
||||||
|
v 0.500000 -0.500000 -0.500000
|
||||||
|
v 0.500000 -0.500000 0.500000
|
||||||
|
v -0.500000 -0.500000 0.500000
|
||||||
|
v -0.500000 0.500000 0.500000
|
||||||
|
v -0.500000 0.500000 -0.500000
|
||||||
|
v 0.500000 0.500000 -0.500000
|
||||||
|
v 0.500000 0.500000 0.500000
|
||||||
|
v -0.387500 0.500000 0.387500
|
||||||
|
v -0.387500 0.500000 -0.387500
|
||||||
|
v 0.387500 0.500000 -0.387500
|
||||||
|
v 0.387500 0.500000 0.387500
|
||||||
|
v -0.387500 0.400000 0.387500
|
||||||
|
v -0.387500 0.400000 -0.387500
|
||||||
|
v 0.387500 0.400000 -0.387500
|
||||||
|
v 0.387500 0.400000 0.387500
|
||||||
|
v 0.062500 0.400000 -0.062500
|
||||||
|
v 0.062500 0.400000 0.062500
|
||||||
|
v -0.062500 0.400000 -0.062500
|
||||||
|
v -0.062500 0.400000 0.062500
|
||||||
|
v 0.062500 0.312500 0.062500
|
||||||
|
v 0.062500 0.312500 -0.062500
|
||||||
|
v -0.062500 0.312500 0.062500
|
||||||
|
v -0.062500 0.312500 -0.062500
|
||||||
|
vt 0.020833 0.270833
|
||||||
|
vt 0.354167 0.270833
|
||||||
|
vt 0.354167 0.604167
|
||||||
|
vt 0.020833 0.604167
|
||||||
|
vt 0.312500 0.937500
|
||||||
|
vt 0.312500 0.687500
|
||||||
|
vt 0.354167 0.645833
|
||||||
|
vt 0.354167 0.979167
|
||||||
|
vt 0.020833 0.979167
|
||||||
|
vt 0.062500 0.937500
|
||||||
|
vt 0.020833 0.645833
|
||||||
|
vt 0.062500 0.687500
|
||||||
|
vt 0.395833 0.270833
|
||||||
|
vt 0.729167 0.270833
|
||||||
|
vt 0.729167 0.604167
|
||||||
|
vt 0.395833 0.604167
|
||||||
|
vt 0.395833 0.645833
|
||||||
|
vt 0.729167 0.645833
|
||||||
|
vt 0.729167 0.979167
|
||||||
|
vt 0.395833 0.979167
|
||||||
|
vt 0.916667 0.666667
|
||||||
|
vt 0.916667 0.958333
|
||||||
|
vt 0.895833 0.958333
|
||||||
|
vt 0.895833 0.666667
|
||||||
|
vt 0.833333 0.666667
|
||||||
|
vt 0.854167 0.666667
|
||||||
|
vt 0.854167 0.958333
|
||||||
|
vt 0.833333 0.958333
|
||||||
|
vt 0.979167 0.666667
|
||||||
|
vt 0.979167 0.958333
|
||||||
|
vt 0.958333 0.958333
|
||||||
|
vt 0.958333 0.666667
|
||||||
|
vt 0.770833 0.666667
|
||||||
|
vt 0.791667 0.666667
|
||||||
|
vt 0.791667 0.958333
|
||||||
|
vt 0.770833 0.958333
|
||||||
|
vt 0.207755 0.832755
|
||||||
|
vt 0.207755 0.792245
|
||||||
|
vt 0.167245 0.792245
|
||||||
|
vt 0.167245 0.832755
|
||||||
|
vt 0.770833 0.604167
|
||||||
|
vt 0.770833 0.562500
|
||||||
|
vt 0.791667 0.562500
|
||||||
|
vt 0.791667 0.604167
|
||||||
|
vt 0.791667 0.625000
|
||||||
|
vt 0.833333 0.604167
|
||||||
|
vt 0.833333 0.625000
|
||||||
|
vt 0.833333 0.562500
|
||||||
|
vt 0.854167 0.562500
|
||||||
|
vt 0.854167 0.604167
|
||||||
|
vt 0.791667 0.541667
|
||||||
|
vt 0.833333 0.541667
|
||||||
|
vt 0.166667 0.791667
|
||||||
|
vt 0.208333 0.791667
|
||||||
|
vt 0.208333 0.833333
|
||||||
|
vt 0.166667 0.833333
|
||||||
|
usemtl Material
|
||||||
|
s off
|
||||||
|
f 1/1 2/2 3/3 4/4
|
||||||
|
f 9/5 10/6 6/7 5/8
|
||||||
|
f 5/8 8/9 12/10 9/5
|
||||||
|
f 7/11 6/7 10/6 11/12
|
||||||
|
f 8/9 7/11 11/12 12/10
|
||||||
|
f 1/13 4/14 5/15 6/16
|
||||||
|
f 2/17 1/18 6/19 7/20
|
||||||
|
f 2/14 7/15 8/16 3/13
|
||||||
|
f 4/13 3/14 8/15 5/16
|
||||||
|
f 15/21 16/22 12/23 11/24
|
||||||
|
f 16/25 13/26 9/27 12/28
|
||||||
|
f 13/29 14/30 10/31 9/32
|
||||||
|
f 14/33 15/34 11/35 10/36
|
||||||
|
f 13/6 16/5 18/37 20/38
|
||||||
|
f 19/39 14/12 13/6 20/38
|
||||||
|
f 17/40 15/10 14/12 19/39
|
||||||
|
f 16/5 15/10 17/40 18/37
|
||||||
|
f 17/41 22/42 21/43 18/44
|
||||||
|
f 18/45 21/44 23/46 20/47
|
||||||
|
f 20/46 23/48 24/49 19/50
|
||||||
|
f 19/43 24/51 22/52 17/48
|
||||||
|
f 24/53 23/54 21/55 22/56
|
Binary file not shown.
Before Width: | Height: | Size: 297 B |
BIN
homedecor/textures/homedecor_kitchen_sink.png
Normal file
BIN
homedecor/textures/homedecor_kitchen_sink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user