forked from Mirrorlandia_minetest/portalgun
do some stuff
This commit is contained in:
parent
1e6271579d
commit
ddf946f58a
12
models/turret1.mtl
Normal file
12
models/turret1.mtl
Normal file
@ -0,0 +1,12 @@
|
||||
# Blender MTL File: 'None'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material.001
|
||||
Ns 250.000000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.800000 0.800000 0.800000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
@ -1,179 +1,179 @@
|
||||
# Blender v2.79 (sub 0) OBJ File: 'torret2.blend'
|
||||
# Blender v3.1.2 OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib torret1.mtl
|
||||
mtllib turret1.mtl
|
||||
o Cube.003_Cube.006
|
||||
v 0.189895 0.163143 -0.372653
|
||||
v 0.189895 0.201097 -0.378580
|
||||
v 0.080336 0.159674 -0.394870
|
||||
v 0.080336 0.197628 -0.400796
|
||||
v 0.242297 0.123751 -0.624923
|
||||
v 0.242297 0.161705 -0.630850
|
||||
v 0.132738 0.120282 -0.647140
|
||||
v 0.132738 0.158236 -0.653066
|
||||
v -0.132041 0.120282 -0.647140
|
||||
v -0.241600 0.161705 -0.630850
|
||||
v -0.241600 0.123751 -0.624923
|
||||
v -0.079638 0.197628 -0.400796
|
||||
v -0.079638 0.159674 -0.394870
|
||||
v -0.189198 0.201097 -0.378580
|
||||
v -0.189198 0.163143 -0.372653
|
||||
v -0.132041 0.158236 -0.653066
|
||||
v 0.063142 0.001380 0.512074
|
||||
v 0.063142 0.035815 0.538953
|
||||
v -0.064046 0.001380 0.512074
|
||||
v -0.064046 0.035815 0.538953
|
||||
v 0.063142 0.183763 0.278415
|
||||
v 0.063142 0.218199 0.305294
|
||||
v -0.064046 0.183763 0.278415
|
||||
v -0.064046 0.218199 0.305294
|
||||
v -0.132739 0.274292 0.122505
|
||||
v -0.132738 0.815413 0.122505
|
||||
v -0.194069 0.274292 0.122505
|
||||
v -0.194069 0.815413 0.122505
|
||||
v -0.132739 0.274292 -0.191426
|
||||
v -0.132739 0.815413 -0.191426
|
||||
v -0.194069 0.274292 -0.191426
|
||||
v -0.194069 0.815413 -0.191426
|
||||
v 0.128914 0.144853 0.197599
|
||||
v 0.128914 0.944853 0.197599
|
||||
v -0.133743 0.144853 0.197599
|
||||
v -0.133743 0.944853 0.197599
|
||||
v 0.128913 0.144853 -0.266520
|
||||
v 0.128914 0.944853 -0.266520
|
||||
v -0.133743 0.144853 -0.266520
|
||||
v -0.133743 0.944853 -0.266520
|
||||
v 0.189656 0.274292 0.122505
|
||||
v 0.189656 0.815413 0.122505
|
||||
v 0.128325 0.274292 0.122505
|
||||
v 0.128325 0.815413 0.122505
|
||||
v 0.189656 0.274292 -0.191426
|
||||
v 0.189656 0.815413 -0.191426
|
||||
v 0.128325 0.274292 -0.191426
|
||||
v 0.128325 0.815413 -0.191426
|
||||
v -0.058777 0.548149 -0.265845
|
||||
v -0.058777 0.548149 -0.273879
|
||||
v -0.043146 0.510413 -0.265845
|
||||
v -0.043146 0.510413 -0.273879
|
||||
v -0.005410 0.494783 -0.265845
|
||||
v -0.005410 0.494783 -0.273879
|
||||
v 0.032325 0.510413 -0.265845
|
||||
v 0.032325 0.510413 -0.273879
|
||||
v 0.047956 0.548149 -0.265845
|
||||
v 0.047956 0.548149 -0.273879
|
||||
v 0.032325 0.585884 -0.265845
|
||||
v 0.032325 0.585884 -0.273879
|
||||
v -0.005410 0.601515 -0.265845
|
||||
v -0.005410 0.601515 -0.273879
|
||||
v -0.043146 0.585884 -0.265845
|
||||
v -0.043146 0.585884 -0.273879
|
||||
v -0.000109 0.149264 -0.268848
|
||||
v -0.000109 0.940441 -0.268848
|
||||
v -0.004799 0.149264 -0.268848
|
||||
v -0.004799 0.940441 -0.268848
|
||||
v -0.000109 0.149264 -0.260088
|
||||
v -0.000109 0.940441 -0.260088
|
||||
v -0.004799 0.149264 -0.260088
|
||||
v -0.004799 0.940441 -0.260088
|
||||
v 0.119911 0.086846 -0.114011
|
||||
v 0.111512 0.130445 -0.112341
|
||||
v 0.038877 0.064643 -0.136101
|
||||
v 0.030478 0.108242 -0.134431
|
||||
v 0.209056 0.123944 -0.552177
|
||||
v 0.200657 0.167543 -0.550507
|
||||
v 0.128022 0.101741 -0.574268
|
||||
v 0.138016 0.145340 -0.572597
|
||||
v 0.048662 0.033870 0.495340
|
||||
v 0.048662 0.022144 0.452483
|
||||
v -0.053491 0.033870 0.495340
|
||||
v -0.053491 0.022144 0.452483
|
||||
v 0.048662 -0.476361 0.634943
|
||||
v 0.048662 -0.488087 0.592086
|
||||
v -0.053491 -0.476361 0.634943
|
||||
v -0.053491 -0.488087 0.592086
|
||||
v 0.209056 0.123944 -0.552177
|
||||
v 0.128022 0.101741 -0.574268
|
||||
v 0.219790 0.123944 -0.595985
|
||||
v 0.211391 0.167543 -0.594315
|
||||
v 0.157149 0.101741 -0.618075
|
||||
v 0.148750 0.145340 -0.616405
|
||||
v 0.312716 -0.500601 -0.680111
|
||||
v 0.231681 -0.496988 -0.702201
|
||||
v 0.323449 -0.500601 -0.723919
|
||||
v 0.242415 -0.496988 -0.746009
|
||||
v 0.080352 0.075744 -0.125056
|
||||
v 0.094276 0.014385 -0.314219
|
||||
v 0.169496 0.112843 -0.563222
|
||||
v 0.175310 0.036588 -0.292129
|
||||
v 0.135751 0.025487 -0.303174
|
||||
v 0.071953 0.119343 -0.123386
|
||||
v 0.085877 0.057984 -0.312549
|
||||
v 0.161097 0.156442 -0.561552
|
||||
v 0.166911 0.080187 -0.290458
|
||||
v 0.127351 0.069086 -0.301503
|
||||
v -0.124589 0.086846 -0.114011
|
||||
v -0.116189 0.130445 -0.112341
|
||||
v -0.043554 0.064643 -0.136101
|
||||
v -0.035155 0.108242 -0.134431
|
||||
v -0.213733 0.123944 -0.552177
|
||||
v -0.205334 0.167543 -0.550507
|
||||
v -0.132699 0.101741 -0.574268
|
||||
v -0.124300 0.145340 -0.572597
|
||||
v -0.213733 0.123944 -0.552177
|
||||
v -0.132699 0.101741 -0.574268
|
||||
v -0.224467 0.123944 -0.595985
|
||||
v -0.216068 0.167543 -0.594315
|
||||
v -0.143433 0.101741 -0.618075
|
||||
v -0.135034 0.145340 -0.616405
|
||||
v -0.317393 -0.500601 -0.680111
|
||||
v -0.236359 -0.496988 -0.702201
|
||||
v -0.328127 -0.500601 -0.723919
|
||||
v -0.247093 -0.496988 -0.746009
|
||||
v -0.085029 0.075744 -0.125056
|
||||
v -0.098953 0.014385 -0.314219
|
||||
v -0.174174 0.112843 -0.563222
|
||||
v -0.179988 0.036588 -0.292129
|
||||
v -0.140428 0.025487 -0.303174
|
||||
v -0.076630 0.119343 -0.123386
|
||||
v -0.090554 0.057984 -0.312549
|
||||
v -0.165774 0.156442 -0.561552
|
||||
v -0.171588 0.080187 -0.290458
|
||||
v -0.132029 0.069086 -0.301504
|
||||
v 0.048662 0.269229 0.190763
|
||||
v 0.048662 0.257503 0.147906
|
||||
v -0.053491 0.269229 0.190763
|
||||
v -0.053491 0.257503 0.147906
|
||||
v 0.119911 0.086846 -0.114011
|
||||
v 0.111512 0.130445 -0.112341
|
||||
v 0.038877 0.064643 -0.136101
|
||||
v 0.030478 0.108242 -0.134431
|
||||
v -0.124589 0.086846 -0.114011
|
||||
v -0.116189 0.130445 -0.112341
|
||||
v -0.043554 0.064643 -0.136101
|
||||
v -0.035155 0.108242 -0.134431
|
||||
v 0.080352 0.075744 -0.125056
|
||||
v 0.071953 0.119343 -0.123386
|
||||
v -0.085029 0.075744 -0.125056
|
||||
v -0.076630 0.119343 -0.123386
|
||||
v 0.119911 0.086846 -0.114011
|
||||
v 0.111512 0.130445 -0.112341
|
||||
v 0.038877 0.064643 -0.136101
|
||||
v 0.030478 0.108242 -0.134431
|
||||
v -0.124589 0.086846 -0.114011
|
||||
v -0.116189 0.130445 -0.112341
|
||||
v -0.043554 0.064643 -0.136101
|
||||
v -0.035155 0.108242 -0.134431
|
||||
v -0.124589 0.171454 -0.009180
|
||||
v -0.116189 0.215053 -0.007510
|
||||
v -0.043554 0.149251 -0.031270
|
||||
v -0.035155 0.192850 -0.029600
|
||||
v -0.085029 0.160352 -0.020225
|
||||
v -0.076630 0.203951 -0.018555
|
||||
v 0.119911 0.157397 -0.053308
|
||||
v 0.111512 0.200996 -0.051637
|
||||
v 0.038877 0.135194 -0.075398
|
||||
v 0.030478 0.178793 -0.073728
|
||||
v 0.080352 0.146295 -0.064353
|
||||
v 0.071953 0.189894 -0.062682
|
||||
v 0.258257 -0.091714 -0.413941
|
||||
v 0.258257 -0.040096 -0.422001
|
||||
v 0.109257 -0.044814 -0.452215
|
||||
v 0.109257 -0.096431 -0.444156
|
||||
v 0.180524 -0.098387 -0.795302
|
||||
v 0.180524 -0.150004 -0.787243
|
||||
v 0.329524 -0.093669 -0.765089
|
||||
v 0.329524 -0.145287 -0.757028
|
||||
v -0.108308 -0.096431 -0.444156
|
||||
v -0.108308 -0.044814 -0.452215
|
||||
v -0.179576 -0.098387 -0.795302
|
||||
v -0.179576 -0.150004 -0.787243
|
||||
v -0.257309 -0.091714 -0.413941
|
||||
v -0.257309 -0.040096 -0.422001
|
||||
v -0.328576 -0.093669 -0.765089
|
||||
v -0.328576 -0.145287 -0.757028
|
||||
v 0.085873 -0.311711 0.789288
|
||||
v 0.085873 -0.264880 0.825844
|
||||
v -0.087103 -0.264880 0.825844
|
||||
v -0.087103 -0.311711 0.789288
|
||||
v -0.087103 -0.016837 0.508067
|
||||
v -0.087103 -0.063670 0.471512
|
||||
v 0.085873 -0.016837 0.508067
|
||||
v 0.085873 -0.063670 0.471512
|
||||
v -0.180525 0.059449 0.259474
|
||||
v -0.180524 0.795374 0.259474
|
||||
v -0.263934 0.795374 0.259474
|
||||
v -0.263934 0.059449 0.259474
|
||||
v -0.263934 0.795374 -0.167472
|
||||
v -0.263934 0.059449 -0.167472
|
||||
v -0.180525 0.795374 -0.167472
|
||||
v -0.180525 0.059449 -0.167472
|
||||
v 0.175323 -0.116588 0.361602
|
||||
v 0.175323 0.971412 0.361602
|
||||
v -0.181890 0.971412 0.361602
|
||||
v -0.181890 -0.116588 0.361602
|
||||
v -0.181890 0.971412 -0.269600
|
||||
v -0.181890 -0.116588 -0.269600
|
||||
v 0.175323 0.971412 -0.269600
|
||||
v 0.175322 -0.116588 -0.269600
|
||||
v 0.257932 0.059449 0.259474
|
||||
v 0.257932 0.795374 0.259474
|
||||
v 0.174522 0.795374 0.259474
|
||||
v 0.174522 0.059449 0.259474
|
||||
v 0.174522 0.795374 -0.167472
|
||||
v 0.174522 0.059449 -0.167472
|
||||
v 0.257932 0.795374 -0.167472
|
||||
v 0.257932 0.059449 -0.167472
|
||||
v -0.079937 0.431895 -0.268682
|
||||
v -0.079937 0.431895 -0.279608
|
||||
v -0.058679 0.380574 -0.279608
|
||||
v -0.058679 0.380574 -0.268682
|
||||
v -0.007358 0.359317 -0.279608
|
||||
v -0.007358 0.359317 -0.268682
|
||||
v 0.043962 0.380574 -0.279608
|
||||
v 0.043962 0.380574 -0.268682
|
||||
v 0.065220 0.431895 -0.279608
|
||||
v 0.065220 0.431895 -0.268682
|
||||
v 0.043962 0.483214 -0.279608
|
||||
v 0.043962 0.483214 -0.268682
|
||||
v -0.007358 0.504472 -0.279608
|
||||
v -0.007358 0.504472 -0.268682
|
||||
v -0.058679 0.483214 -0.279608
|
||||
v -0.058679 0.483214 -0.268682
|
||||
v -0.000148 -0.110589 -0.272766
|
||||
v -0.000148 0.965412 -0.272766
|
||||
v -0.006527 0.965412 -0.272766
|
||||
v -0.006527 -0.110589 -0.272766
|
||||
v -0.006527 0.965412 -0.260852
|
||||
v -0.006527 -0.110589 -0.260852
|
||||
v -0.000148 0.965412 -0.260852
|
||||
v -0.000148 -0.110589 -0.260852
|
||||
v 0.097856 -0.151282 -0.074938
|
||||
v 0.041450 -0.166379 -0.089959
|
||||
v 0.041450 -0.070430 -0.007403
|
||||
v 0.097856 -0.055332 0.007620
|
||||
v 0.052873 -0.225674 -0.092230
|
||||
v 0.116793 -0.234730 -0.332199
|
||||
v 0.187702 -0.115926 -0.685865
|
||||
v 0.174110 -0.175220 -0.688137
|
||||
v 0.128215 -0.294024 -0.334470
|
||||
v 0.272894 -0.085730 -0.655822
|
||||
v 0.284316 -0.145024 -0.658093
|
||||
v 0.298914 -0.145024 -0.717672
|
||||
v 0.287492 -0.085730 -0.715401
|
||||
v 0.226999 -0.204534 -0.302155
|
||||
v 0.151656 -0.136183 -0.059916
|
||||
v 0.163079 -0.195477 -0.062188
|
||||
v 0.238422 -0.263828 -0.304428
|
||||
v 0.184621 -0.278926 -0.319449
|
||||
v 0.230515 -0.160122 -0.673114
|
||||
v 0.173197 -0.219631 -0.317177
|
||||
v 0.066180 -0.267525 0.766530
|
||||
v 0.066180 -0.283472 0.708244
|
||||
v 0.066180 0.036616 0.294020
|
||||
v 0.066180 0.052563 0.352305
|
||||
v -0.072748 -0.267525 0.766530
|
||||
v -0.072748 -0.283472 0.708244
|
||||
v -0.072748 -0.977386 0.898104
|
||||
v -0.072748 -0.961439 0.956390
|
||||
v 0.066180 -0.977386 0.898104
|
||||
v 0.066180 -0.961439 0.956390
|
||||
v 0.174110 -0.175220 -0.688137
|
||||
v 0.284316 -0.145024 -0.658093
|
||||
v 0.213723 -0.175220 -0.747715
|
||||
v 0.202300 -0.115926 -0.745443
|
||||
v 0.329684 -0.989492 -0.921705
|
||||
v 0.315086 -0.989492 -0.862126
|
||||
v 0.219092 -0.100827 -0.670843
|
||||
v 0.425294 -0.994405 -0.832084
|
||||
v 0.439891 -0.994405 -0.891662
|
||||
v 0.109279 -0.210576 -0.077209
|
||||
v -0.059233 -0.225674 -0.092230
|
||||
v -0.115639 -0.210576 -0.077209
|
||||
v -0.115639 -0.095509 0.065361
|
||||
v -0.059233 -0.110607 0.050340
|
||||
v -0.047811 -0.166379 -0.089959
|
||||
v -0.123153 -0.234730 -0.332199
|
||||
v -0.169048 -0.115926 -0.685865
|
||||
v -0.180471 -0.175220 -0.688137
|
||||
v -0.134576 -0.294024 -0.334470
|
||||
v -0.279254 -0.085730 -0.655822
|
||||
v -0.290677 -0.145024 -0.658093
|
||||
v -0.305275 -0.145024 -0.717672
|
||||
v -0.293853 -0.085730 -0.715401
|
||||
v -0.233360 -0.204534 -0.302155
|
||||
v -0.158017 -0.136183 -0.059916
|
||||
v -0.169441 -0.195477 -0.062188
|
||||
v -0.244784 -0.263828 -0.304428
|
||||
v -0.190982 -0.278926 -0.319449
|
||||
v -0.236877 -0.160122 -0.673114
|
||||
v -0.179559 -0.219631 -0.317178
|
||||
v -0.104217 -0.151282 -0.074938
|
||||
v -0.180471 -0.175220 -0.688137
|
||||
v -0.290677 -0.145024 -0.658093
|
||||
v -0.195069 -0.175220 -0.747715
|
||||
v -0.183646 -0.115926 -0.745443
|
||||
v -0.336047 -0.989492 -0.921705
|
||||
v -0.321448 -0.989492 -0.862126
|
||||
v -0.225453 -0.100827 -0.670843
|
||||
v -0.431654 -0.994405 -0.832084
|
||||
v -0.446253 -0.994405 -0.891662
|
||||
v -0.072748 0.036616 0.294020
|
||||
v -0.072748 0.052563 0.352305
|
||||
v -0.059233 -0.225674 -0.092230
|
||||
v -0.047811 -0.166379 -0.089959
|
||||
v -0.158017 -0.136183 -0.059916
|
||||
v -0.169441 -0.195477 -0.062188
|
||||
v 0.052873 -0.225674 -0.092230
|
||||
v 0.041450 -0.166379 -0.089959
|
||||
v 0.151656 -0.136183 -0.059916
|
||||
v 0.163079 -0.195477 -0.062188
|
||||
v -0.059233 -0.225674 -0.092230
|
||||
v -0.047811 -0.166379 -0.089959
|
||||
v 0.052873 -0.225674 -0.092230
|
||||
v 0.041450 -0.166379 -0.089959
|
||||
v -0.158017 -0.136183 -0.059916
|
||||
v -0.169441 -0.195477 -0.062188
|
||||
v 0.151656 -0.136183 -0.059916
|
||||
v 0.163079 -0.195477 -0.062188
|
||||
v -0.169441 -0.080411 0.080383
|
||||
v -0.158017 -0.021116 0.082654
|
||||
v -0.104217 -0.036215 0.067633
|
||||
v -0.047811 -0.051312 0.052611
|
||||
v 0.163079 -0.099528 0.020369
|
||||
v 0.151656 -0.040233 0.022641
|
||||
v 0.052873 -0.129724 -0.009674
|
||||
v 0.109279 -0.114627 0.005347
|
||||
v -0.104217 -0.151282 -0.074938
|
||||
v 0.097856 -0.151282 -0.074938
|
||||
v -0.115639 -0.210576 -0.077209
|
||||
v 0.109279 -0.210576 -0.077209
|
||||
vt 0.489132 0.748949
|
||||
vt 0.489132 0.718137
|
||||
vt 0.519717 0.718145
|
||||
@ -577,7 +577,7 @@ vn -0.9796 -0.0310 -0.1986
|
||||
vn 0.2010 -0.1511 -0.9679
|
||||
vn 0.9796 0.0310 0.1986
|
||||
vn -0.0000 -0.9880 0.1543
|
||||
vn -0.0000 0.9880 -0.1543
|
||||
vn 0.0000 0.9880 -0.1543
|
||||
vn -0.9796 0.0310 0.1986
|
||||
vn -0.2010 -0.1511 -0.9679
|
||||
vn 0.2010 0.1511 0.9679
|
||||
@ -585,31 +585,35 @@ vn 0.9796 -0.0310 -0.1986
|
||||
vn 0.0000 -0.6153 0.7883
|
||||
vn -1.0000 -0.0000 0.0000
|
||||
vn 0.0000 0.6153 -0.7883
|
||||
vn 1.0000 0.0000 -0.0000
|
||||
vn 1.0000 -0.0000 0.0000
|
||||
vn 0.0000 -0.7883 -0.6153
|
||||
vn 0.0000 0.7883 0.6153
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -0.0000 -1.0000
|
||||
vn -0.0000 -1.0000 -0.0000
|
||||
vn -0.0000 1.0000 0.0000
|
||||
vn -0.9239 -0.3827 -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.9239 -0.3827 0.0000
|
||||
vn -0.3827 -0.9239 0.0000
|
||||
vn 0.3827 -0.9239 -0.0000
|
||||
vn 0.9239 -0.3827 -0.0000
|
||||
vn 0.3827 -0.9239 0.0000
|
||||
vn 0.9239 -0.3827 0.0000
|
||||
vn 0.9239 0.3827 0.0000
|
||||
vn 0.3827 0.9239 0.0000
|
||||
vn -0.3827 0.9239 -0.0000
|
||||
vn -0.3827 0.9239 0.0000
|
||||
vn -0.9239 0.3827 0.0000
|
||||
vn 0.0284 0.6521 -0.7576
|
||||
vn 0.0273 0.6520 -0.7577
|
||||
vn 0.0276 0.6521 -0.7576
|
||||
vn -0.9793 -0.0575 -0.1940
|
||||
vn 0.9562 0.1752 0.2343
|
||||
vn 0.9614 0.1771 0.2106
|
||||
vn 0.3279 -0.9076 -0.2623
|
||||
vn -0.1696 0.9334 -0.3161
|
||||
vn -0.1697 0.9334 -0.3162
|
||||
vn -0.1732 0.9325 -0.3170
|
||||
vn 0.0000 -0.9645 0.2639
|
||||
vn -0.0000 0.2639 0.9645
|
||||
vn 0.0000 0.2639 0.9645
|
||||
vn 0.0000 -0.2639 -0.9645
|
||||
vn 0.0000 0.7053 -0.7089
|
||||
vn 0.0001 0.7053 -0.7089
|
||||
vn 0.3012 0.0944 -0.9489
|
||||
vn -0.9088 -0.0550 -0.4135
|
||||
vn -0.3003 0.9484 -0.1018
|
||||
@ -618,6 +622,8 @@ vn -0.0418 -0.9991 -0.0102
|
||||
vn 0.9652 0.1118 0.2365
|
||||
vn -0.2303 -0.2363 0.9440
|
||||
vn 0.2576 0.2358 -0.9370
|
||||
vn 0.1697 -0.9334 0.3162
|
||||
vn 0.1696 -0.9334 0.3161
|
||||
vn 0.1732 -0.9325 0.3170
|
||||
vn 0.1661 -0.9343 0.3153
|
||||
vn 0.3146 -0.9114 -0.2653
|
||||
@ -625,20 +631,26 @@ vn -0.3279 0.9076 0.2623
|
||||
vn -0.3872 0.8914 0.2355
|
||||
vn -0.1661 0.9343 -0.3153
|
||||
vn 0.0410 0.7775 -0.6275
|
||||
vn 0.0430 0.7775 -0.6274
|
||||
vn 0.0414 0.7775 -0.6275
|
||||
vn -0.9614 0.1771 0.2106
|
||||
vn 0.9562 -0.1752 -0.2343
|
||||
vn 0.9614 -0.1771 -0.2106
|
||||
vn 0.9614 -0.1772 -0.2106
|
||||
vn 0.3279 0.9076 0.2623
|
||||
vn -0.1696 -0.9334 0.3161
|
||||
vn -0.1697 -0.9334 0.3162
|
||||
vn -0.1732 -0.9325 0.3170
|
||||
vn -0.0001 -0.7054 0.7089
|
||||
vn 0.0001 -0.7053 0.7089
|
||||
vn 0.2407 -0.0834 0.9670
|
||||
vn -0.9647 0.1165 0.2364
|
||||
vn -0.2490 -0.9668 0.0583
|
||||
vn -0.2490 -0.9667 0.0583
|
||||
vn -0.9562 0.1752 0.2343
|
||||
vn -0.0418 0.9991 0.0102
|
||||
vn 0.9652 -0.1118 -0.2365
|
||||
vn -0.2303 0.2363 -0.9440
|
||||
vn 0.2302 -0.2365 0.9440
|
||||
vn 0.1697 0.9334 -0.3162
|
||||
vn 0.1696 0.9334 -0.3161
|
||||
vn 0.1732 0.9325 -0.3170
|
||||
vn 0.1661 0.9343 -0.3153
|
||||
vn 0.3146 0.9114 0.2653
|
||||
@ -647,146 +659,150 @@ vn -0.3146 -0.9114 -0.2653
|
||||
vn -0.1661 -0.9343 0.3153
|
||||
vn 0.0000 0.9645 -0.2639
|
||||
vn 0.0000 -0.7913 -0.6115
|
||||
vn -0.0000 0.7913 0.6115
|
||||
vn 0.0000 0.7913 0.6115
|
||||
vn -0.2407 0.0834 -0.9670
|
||||
vn -0.9689 0.1926 -0.1555
|
||||
vn -0.9689 0.1926 -0.1554
|
||||
vn 0.9689 -0.1926 0.1555
|
||||
vn -0.0430 -0.7775 0.6275
|
||||
vn -0.0426 -0.7775 0.6275
|
||||
vn -0.0411 -0.7775 0.6275
|
||||
vn -0.0410 -0.7775 0.6275
|
||||
vn 0.0430 0.7775 -0.6275
|
||||
vn -0.2407 -0.0834 0.9670
|
||||
vn -0.0282 -0.6521 0.7576
|
||||
vn -0.0286 -0.6520 0.7577
|
||||
vn -0.0276 -0.6521 0.7576
|
||||
vn 0.0286 0.6520 -0.7577
|
||||
vn -0.9554 -0.1926 0.2239
|
||||
vn 0.9554 0.1926 -0.2239
|
||||
vn -0.0273 -0.6520 0.7577
|
||||
usemtl Material.001
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/5/2 4/6/2 8/7/2 7/8/2
|
||||
f 7/9/3 8/10/3 6/11/3 5/12/3
|
||||
f 5/13/4 6/14/4 2/15/4 1/16/4
|
||||
f 3/17/5 7/18/5 5/19/5 1/20/5
|
||||
f 8/21/6 4/22/6 2/23/6 6/24/6
|
||||
f 13/25/7 12/26/7 16/27/7 9/28/7
|
||||
f 15/29/8 14/30/8 12/31/8 13/32/8
|
||||
f 9/33/9 16/34/9 10/35/9 11/36/9
|
||||
f 11/37/10 10/38/10 14/39/10 15/40/10
|
||||
f 13/41/6 9/42/6 11/43/6 15/44/6
|
||||
f 16/45/6 10/46/6 14/47/6 12/48/6
|
||||
f 17/49/11 18/50/11 20/51/11 19/52/11
|
||||
f 19/53/12 20/54/12 24/55/12 23/56/12
|
||||
f 23/57/13 24/58/13 22/59/13 21/60/13
|
||||
f 21/61/14 22/62/14 18/63/14 17/64/14
|
||||
f 19/65/15 23/57/15 21/60/15 17/66/15
|
||||
f 24/67/16 20/51/16 18/50/16 22/68/16
|
||||
f 25/69/17 26/70/17 28/71/17 27/72/17
|
||||
f 27/73/12 28/74/12 32/75/12 31/76/12
|
||||
f 31/77/18 32/78/18 30/79/18 29/80/18
|
||||
f 29/81/14 30/82/14 26/83/14 25/84/14
|
||||
f 27/85/19 31/77/19 29/80/19 25/86/19
|
||||
f 32/87/20 28/71/20 26/70/20 30/88/20
|
||||
f 33/89/17 34/90/17 36/91/17 35/92/17
|
||||
f 35/93/12 36/94/12 40/95/12 39/96/12
|
||||
f 39/97/18 40/98/18 38/99/18 37/100/18
|
||||
f 37/101/14 38/102/14 34/103/14 33/104/14
|
||||
f 35/105/19 39/97/19 37/100/19 33/106/19
|
||||
f 40/107/20 36/91/20 34/90/20 38/108/20
|
||||
f 41/109/17 42/110/17 44/111/17 43/112/17
|
||||
f 43/113/12 44/114/12 48/115/12 47/116/12
|
||||
f 47/117/18 48/118/18 46/119/18 45/120/18
|
||||
f 45/121/14 46/122/14 42/123/14 41/124/14
|
||||
f 43/125/19 47/117/19 45/120/19 41/126/19
|
||||
f 48/127/20 44/111/20 42/110/20 46/128/20
|
||||
f 49/129/21 50/130/21 52/131/21 51/132/21
|
||||
f 51/132/22 52/131/22 54/133/22 53/134/22
|
||||
f 53/135/23 54/136/23 56/137/23 55/138/23
|
||||
f 55/138/24 56/137/24 58/139/24 57/140/24
|
||||
f 57/140/25 58/139/25 60/141/25 59/142/25
|
||||
f 59/142/26 60/141/26 62/143/26 61/144/26
|
||||
f 52/145/18 50/146/18 64/147/18 62/148/18 60/149/18 58/150/18 56/151/18 54/152/18
|
||||
f 61/153/27 62/154/27 64/155/27 63/156/27
|
||||
f 63/156/28 64/155/28 50/130/28 49/129/28
|
||||
f 49/157/17 51/158/17 53/159/17 55/160/17 57/161/17 59/162/17 61/163/17 63/164/17
|
||||
f 65/165/17 66/166/17 68/167/17 67/168/17
|
||||
f 67/169/14 68/170/14 72/171/14 71/172/14
|
||||
f 71/173/18 72/174/18 70/175/18 69/176/18
|
||||
f 69/177/12 70/178/12 66/179/12 65/180/12
|
||||
f 67/168/20 71/181/20 69/182/20 65/165/20
|
||||
f 72/174/19 68/183/19 66/184/19 70/175/19
|
||||
f 104/185/29 76/186/29 170/187/29 172/188/29
|
||||
f 75/189/30 76/190/30 105/191/30 80/192/30 79/193/30 100/194/30
|
||||
f 78/195/31 77/196/31 91/197/31 92/198/31
|
||||
f 77/196/32 78/195/32 107/199/32 74/200/32 73/201/32 102/202/32
|
||||
f 103/203/33 101/204/33 77/205/33 102/206/33
|
||||
f 108/207/34 104/208/34 74/209/34 107/210/34
|
||||
f 81/211/14 82/212/14 138/213/14 137/214/14
|
||||
f 83/215/12 84/216/12 88/217/12 87/218/12
|
||||
f 87/219/35 88/220/35 86/221/35 85/222/35
|
||||
f 85/223/14 86/224/14 82/212/14 81/211/14
|
||||
f 83/225/36 87/226/36 85/227/36 81/228/36
|
||||
f 88/229/37 84/230/37 82/231/37 86/232/37
|
||||
f 77/205/38 101/204/38 79/233/38 90/234/38 89/235/38
|
||||
f 93/236/39 94/237/39 92/238/39 91/239/39
|
||||
f 79/193/40 93/240/40 98/241/40 96/242/40
|
||||
f 80/192/41 106/243/41 78/244/41 92/245/41 94/246/41
|
||||
f 79/193/42 80/192/42 94/246/42 93/240/42
|
||||
f 95/247/43 96/248/43 98/249/43 97/250/43
|
||||
f 91/197/44 77/196/44 95/251/44 97/252/44
|
||||
f 77/253/45 101/254/45 79/255/45 96/256/45 95/257/45
|
||||
f 93/236/46 91/239/46 97/250/46 98/249/46
|
||||
f 99/258/47 103/259/47 102/260/47 73/261/47
|
||||
f 75/262/48 100/263/48 103/259/48 99/258/48
|
||||
f 100/264/49 79/233/49 101/204/49 103/203/49
|
||||
f 106/265/50 108/266/50 107/267/50 78/268/50
|
||||
f 80/269/51 105/270/51 108/266/51 106/265/51
|
||||
f 105/271/52 76/272/52 104/208/52 108/207/52
|
||||
f 111/273/53 127/274/53 165/275/53 163/276/53
|
||||
f 111/277/54 112/278/54 133/279/54 116/280/54 115/281/54 128/282/54
|
||||
f 114/283/55 113/284/55 119/285/55 120/286/55
|
||||
f 113/284/56 114/283/56 135/287/56 110/288/56 109/289/56 130/290/56
|
||||
f 131/291/57 129/292/57 113/293/57 130/294/57
|
||||
f 136/295/58 132/296/58 110/297/58 135/298/58
|
||||
f 113/293/59 129/292/59 115/299/59 118/300/59 117/301/59
|
||||
f 121/302/60 122/303/60 120/304/60 119/305/60
|
||||
f 115/281/61 121/306/61 126/307/61 124/308/61
|
||||
f 116/309/62 134/310/62 114/311/62 120/312/62 122/313/62
|
||||
f 115/281/63 116/280/63 122/314/63 121/306/63
|
||||
f 123/315/64 124/316/64 126/317/64 125/318/64
|
||||
f 119/285/65 113/284/65 123/319/65 125/320/65
|
||||
f 113/321/66 129/322/66 115/323/66 124/324/66 123/325/66
|
||||
f 121/302/67 119/305/67 125/318/67 126/317/67
|
||||
f 127/274/68 131/326/68 130/327/68 109/328/68
|
||||
f 111/273/69 128/329/69 131/326/69 127/274/69
|
||||
f 128/330/70 115/299/70 129/292/70 131/291/70
|
||||
f 134/331/71 136/332/71 135/333/71 114/334/71
|
||||
f 116/335/72 133/336/72 136/332/72 134/331/72
|
||||
f 133/337/73 112/338/73 132/296/73 136/295/73
|
||||
f 137/339/74 138/340/74 140/341/74 139/342/74
|
||||
f 82/231/75 84/230/75 140/343/75 138/344/75
|
||||
f 83/225/76 81/228/76 137/345/76 139/346/76
|
||||
f 84/216/12 83/215/12 139/347/12 140/348/12
|
||||
f 112/349/17 111/350/17 147/351/17 148/352/17
|
||||
f 109/353/17 110/354/17 146/355/17 145/356/17
|
||||
f 76/357/17 75/358/17 143/359/17 144/360/17
|
||||
f 73/361/17 74/362/17 142/363/17 141/364/17
|
||||
f 148/352/17 147/351/17 159/365/17 160/366/17
|
||||
f 144/360/17 143/359/17 155/367/17 156/368/17
|
||||
f 145/356/17 146/355/17 158/369/17 157/370/17
|
||||
f 141/364/17 142/363/17 154/371/17 153/372/17
|
||||
f 161/373/77 162/374/77 166/375/77 164/376/77 163/276/77 165/275/77
|
||||
f 112/278/78 111/277/78 163/377/78 164/378/78
|
||||
f 109/289/79 110/288/79 162/379/79 161/380/79
|
||||
f 110/297/80 132/296/80 166/381/80 162/382/80
|
||||
f 132/296/81 112/338/81 164/383/81 166/381/81
|
||||
f 127/274/82 109/328/82 161/373/82 165/275/82
|
||||
f 167/384/83 168/385/83 172/386/83 170/387/83 169/388/83 171/389/83
|
||||
f 99/390/84 73/391/84 167/384/84 171/389/84
|
||||
f 74/392/85 104/185/85 172/188/85 168/393/85
|
||||
f 76/190/86 75/189/86 169/394/86 170/395/86
|
||||
f 73/201/87 74/200/87 168/396/87 167/397/87
|
||||
f 75/398/88 99/390/88 171/389/88 169/388/88
|
||||
l 132 152
|
||||
l 104 150
|
||||
l 127 151
|
||||
l 99 149
|
||||
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/9/3 5/10/3 7/11/3 8/12/3
|
||||
f 8/13/4 7/14/4 2/15/4 1/16/4
|
||||
f 4/17/5 6/18/5 8/19/5 1/20/5
|
||||
f 5/21/6 3/22/6 2/23/6 7/24/6
|
||||
f 9/25/7 10/26/7 11/27/7 12/28/7
|
||||
f 13/29/8 14/30/8 10/31/8 9/32/8
|
||||
f 12/33/9 11/34/9 15/35/9 16/36/9
|
||||
f 16/37/10 15/38/10 14/39/10 13/40/10
|
||||
f 9/41/6 12/42/6 16/43/6 13/44/6
|
||||
f 11/45/6 15/46/6 14/47/6 10/48/6
|
||||
f 17/49/11 18/50/11 19/51/11 20/52/11
|
||||
f 20/53/12 19/54/12 21/55/12 22/56/12
|
||||
f 22/57/13 21/58/13 23/59/13 24/60/13
|
||||
f 24/61/14 23/62/14 18/63/14 17/64/14
|
||||
f 20/65/15 22/57/15 24/60/15 17/66/15
|
||||
f 21/67/16 19/51/16 18/50/16 23/68/16
|
||||
f 25/69/17 26/70/17 27/71/17 28/72/17
|
||||
f 28/73/12 27/74/12 29/75/12 30/76/12
|
||||
f 30/77/18 29/78/18 31/79/18 32/80/18
|
||||
f 32/81/14 31/82/14 26/83/14 25/84/14
|
||||
f 28/85/19 30/77/19 32/80/19 25/86/19
|
||||
f 29/87/20 27/71/20 26/70/20 31/88/20
|
||||
f 33/89/17 34/90/17 35/91/17 36/92/17
|
||||
f 36/93/12 35/94/12 37/95/12 38/96/12
|
||||
f 38/97/18 37/98/18 39/99/18 40/100/18
|
||||
f 40/101/14 39/102/14 34/103/14 33/104/14
|
||||
f 36/105/19 38/97/19 40/100/19 33/106/19
|
||||
f 37/107/20 35/91/20 34/90/20 39/108/20
|
||||
f 41/109/17 42/110/17 43/111/17 44/112/17
|
||||
f 44/113/12 43/114/12 45/115/12 46/116/12
|
||||
f 46/117/18 45/118/18 47/119/18 48/120/18
|
||||
f 48/121/14 47/122/14 42/123/14 41/124/14
|
||||
f 44/125/19 46/117/19 48/120/19 41/126/19
|
||||
f 45/127/20 43/111/20 42/110/20 47/128/20
|
||||
f 49/129/21 50/130/21 51/131/21 52/132/21
|
||||
f 52/132/22 51/131/22 53/133/22 54/134/22
|
||||
f 54/135/23 53/136/23 55/137/23 56/138/23
|
||||
f 56/138/24 55/137/24 57/139/24 58/140/24
|
||||
f 58/140/25 57/139/25 59/141/25 60/142/25
|
||||
f 60/142/26 59/141/26 61/143/26 62/144/26
|
||||
f 51/145/18 50/146/18 63/147/18 61/148/18 59/149/18 57/150/18 55/151/18 53/152/18
|
||||
f 62/153/27 61/154/27 63/155/27 64/156/27
|
||||
f 64/156/28 63/155/28 50/130/28 49/129/28
|
||||
f 49/157/17 52/158/17 54/159/17 56/160/17 58/161/17 60/162/17 62/163/17 64/164/17
|
||||
f 65/165/17 66/166/17 67/167/17 68/168/17
|
||||
f 68/169/14 67/170/14 69/171/14 70/172/14
|
||||
f 70/173/18 69/174/18 71/175/18 72/176/18
|
||||
f 72/177/12 71/178/12 66/179/12 65/180/12
|
||||
f 68/168/20 70/181/20 72/182/20 65/165/20
|
||||
f 69/174/19 67/183/19 66/184/19 71/175/19
|
||||
f 73/185/29 74/186/30 75/187/30 76/188/31
|
||||
f 77/189/32 74/190/32 78/191/32 79/192/32 80/193/32 81/194/32
|
||||
f 82/195/33 83/196/33 84/197/33 85/198/33
|
||||
f 83/196/34 82/195/34 86/199/34 87/200/34 88/201/34 89/202/34
|
||||
f 90/203/35 91/204/35 83/205/35 89/206/35
|
||||
f 92/207/36 73/208/37 87/209/38 86/210/38
|
||||
f 93/211/14 94/212/14 95/213/14 96/214/14
|
||||
f 97/215/12 98/216/12 99/217/12 100/218/12
|
||||
f 100/219/39 99/220/39 101/221/39 102/222/39
|
||||
f 102/223/14 101/224/14 94/212/14 93/211/14
|
||||
f 97/225/40 100/226/40 102/227/40 93/228/40
|
||||
f 99/229/41 98/230/41 94/231/41 101/232/41
|
||||
f 83/205/42 91/204/42 80/233/42 103/234/42 104/235/42
|
||||
f 105/236/43 106/237/43 85/238/43 84/239/43
|
||||
f 80/193/44 105/240/44 107/241/44 108/242/44
|
||||
f 79/192/45 109/243/45 82/244/45 85/245/45 106/246/45
|
||||
f 80/193/46 79/192/46 106/246/46 105/240/46
|
||||
f 110/247/47 108/248/47 107/249/47 111/250/47
|
||||
f 84/197/48 83/196/48 110/251/48 111/252/48
|
||||
f 83/253/49 91/254/49 80/255/49 108/256/49 110/257/49
|
||||
f 105/236/50 84/239/50 111/250/50 107/249/50
|
||||
f 112/258/51 90/259/52 89/260/53 88/261/53
|
||||
f 77/262/54 81/263/54 90/259/52 112/258/51
|
||||
f 81/264/55 80/233/55 91/204/55 90/203/55
|
||||
f 109/265/56 92/266/56 86/267/56 82/268/56
|
||||
f 79/269/57 78/270/57 92/266/57 109/265/57
|
||||
f 78/271/58 74/272/58 73/208/37 92/207/36
|
||||
f 113/273/59 114/274/60 115/275/61 116/276/59
|
||||
f 113/277/62 117/278/62 118/279/62 119/280/62 120/281/62 121/282/62
|
||||
f 122/283/63 123/284/63 124/285/63 125/286/63
|
||||
f 123/284/64 122/283/64 126/287/64 127/288/64 128/289/64 129/290/64
|
||||
f 130/291/65 131/292/65 123/293/65 129/294/65
|
||||
f 132/295/66 133/296/67 127/297/68 126/298/68
|
||||
f 123/293/69 131/292/69 120/299/69 134/300/69 135/301/69
|
||||
f 136/302/70 137/303/70 125/304/70 124/305/70
|
||||
f 120/281/71 136/306/71 138/307/71 139/308/71
|
||||
f 119/309/72 140/310/72 122/311/72 125/312/72 137/313/72
|
||||
f 120/281/73 119/280/73 137/314/73 136/306/73
|
||||
f 141/315/74 139/316/74 138/317/74 142/318/74
|
||||
f 124/285/75 123/284/75 141/319/75 142/320/75
|
||||
f 123/321/76 131/322/76 120/323/76 139/324/76 141/325/76
|
||||
f 136/302/77 124/305/77 142/318/77 138/317/77
|
||||
f 114/274/78 130/326/79 129/327/80 128/328/80
|
||||
f 113/273/81 121/329/81 130/326/79 114/274/78
|
||||
f 121/330/82 120/299/82 131/292/82 130/291/82
|
||||
f 140/331/83 132/332/83 126/333/83 122/334/83
|
||||
f 119/335/84 118/336/84 132/332/84 140/331/84
|
||||
f 118/337/85 117/338/85 133/296/67 132/295/66
|
||||
f 96/339/86 95/340/86 143/341/86 144/342/86
|
||||
f 94/231/87 98/230/87 143/343/87 95/344/87
|
||||
f 97/225/88 93/228/88 96/345/88 144/346/88
|
||||
f 98/216/12 97/215/12 144/347/12 143/348/12
|
||||
f 117/349/17 113/350/17 145/351/17 146/352/17
|
||||
f 128/353/17 127/354/17 147/355/17 148/356/17
|
||||
f 74/357/17 77/358/17 149/359/17 150/360/17
|
||||
f 88/361/17 87/362/17 151/363/17 152/364/17
|
||||
f 146/352/17 145/351/17 153/365/17 154/366/17
|
||||
f 150/360/17 149/359/17 155/367/17 156/368/17
|
||||
f 148/356/17 147/355/17 157/369/17 158/370/17
|
||||
f 152/364/17 151/363/17 159/371/17 160/372/17
|
||||
f 161/373/89 162/374/89 163/375/89 164/376/89 116/276/89 115/275/89
|
||||
f 117/278/90 113/277/90 116/377/90 164/378/90
|
||||
f 128/289/91 127/288/91 162/379/91 161/380/91
|
||||
f 127/297/92 133/296/93 163/381/94 162/382/92
|
||||
f 133/296/93 117/338/95 164/383/95 163/381/94
|
||||
f 114/274/60 128/328/96 161/373/96 115/275/61
|
||||
f 165/384/97 166/385/97 76/386/97 75/387/97 167/388/97 168/389/97
|
||||
f 112/390/98 88/391/99 165/384/99 168/389/100
|
||||
f 87/392/101 73/185/29 76/188/31 166/393/101
|
||||
f 74/190/102 77/189/102 167/394/102 75/395/102
|
||||
f 88/201/103 87/200/103 166/396/103 165/397/103
|
||||
f 77/398/104 112/390/98 168/389/100 167/388/104
|
||||
l 133 169
|
||||
l 73 170
|
||||
l 114 171
|
||||
l 112 172
|
||||
|
12
models/turret2.mtl
Normal file
12
models/turret2.mtl
Normal file
@ -0,0 +1,12 @@
|
||||
# Blender MTL File: 'None'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material.002
|
||||
Ns 250.000000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.800000 0.800000 0.800000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
@ -1,187 +1,187 @@
|
||||
# Blender v2.79 (sub 0) OBJ File: 'torret2.blend'
|
||||
# Blender v3.1.2 OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib torret2.mtl
|
||||
o Cube.003_Cube.006
|
||||
v 0.189895 0.163143 -0.372653
|
||||
v 0.189895 0.201097 -0.378580
|
||||
v 0.080336 0.159674 -0.394870
|
||||
v 0.080336 0.197628 -0.400796
|
||||
v 0.242297 0.123751 -0.624923
|
||||
v 0.242297 0.161705 -0.630850
|
||||
v 0.132738 0.120282 -0.647140
|
||||
v 0.132738 0.158236 -0.653066
|
||||
v -0.132041 0.120282 -0.647140
|
||||
v -0.241600 0.161705 -0.630850
|
||||
v -0.241600 0.123751 -0.624923
|
||||
v -0.079638 0.197628 -0.400796
|
||||
v -0.079638 0.159674 -0.394870
|
||||
v -0.189198 0.201097 -0.378580
|
||||
v -0.189198 0.163143 -0.372653
|
||||
v -0.132041 0.158236 -0.653066
|
||||
v 0.063142 0.001380 0.512074
|
||||
v 0.063142 0.035815 0.538953
|
||||
v -0.064046 0.001380 0.512074
|
||||
v -0.064046 0.035815 0.538953
|
||||
v 0.063142 0.183763 0.278415
|
||||
v 0.063142 0.218199 0.305294
|
||||
v -0.064046 0.183763 0.278415
|
||||
v -0.064046 0.218199 0.305294
|
||||
v -0.286162 0.274292 0.122505
|
||||
v -0.286162 0.815413 0.122505
|
||||
v -0.347493 0.274292 0.122505
|
||||
v -0.347493 0.815413 0.122505
|
||||
v -0.286162 0.274292 -0.191426
|
||||
v -0.286162 0.815413 -0.191426
|
||||
v -0.347493 0.274292 -0.191426
|
||||
v -0.347493 0.815413 -0.191426
|
||||
v 0.128914 0.144853 0.197599
|
||||
v 0.128914 0.944853 0.197599
|
||||
v -0.133743 0.144853 0.197599
|
||||
v -0.133743 0.944853 0.197599
|
||||
v 0.128913 0.144853 -0.266520
|
||||
v 0.128914 0.944853 -0.266520
|
||||
v -0.133743 0.144853 -0.266520
|
||||
v -0.133743 0.944853 -0.266520
|
||||
v 0.339758 0.274292 0.122505
|
||||
v 0.339758 0.815413 0.122505
|
||||
v 0.278427 0.274292 0.122505
|
||||
v 0.278427 0.815413 0.122505
|
||||
v 0.339758 0.274292 -0.191426
|
||||
v 0.339758 0.815413 -0.191426
|
||||
v 0.278427 0.274292 -0.191426
|
||||
v 0.278427 0.815413 -0.191426
|
||||
v 0.282464 0.419685 0.016073
|
||||
v 0.282464 0.670021 0.016073
|
||||
v -0.287293 0.419685 0.016073
|
||||
v -0.287293 0.670021 0.016073
|
||||
v 0.282464 0.419685 -0.084994
|
||||
v 0.282464 0.670021 -0.084994
|
||||
v -0.287293 0.419685 -0.084994
|
||||
v -0.287293 0.670021 -0.084994
|
||||
v -0.058777 0.548149 -0.265845
|
||||
v -0.058777 0.548149 -0.273879
|
||||
v -0.043146 0.510413 -0.265845
|
||||
v -0.043146 0.510413 -0.273879
|
||||
v -0.005410 0.494783 -0.265845
|
||||
v -0.005410 0.494783 -0.273879
|
||||
v 0.032325 0.510413 -0.265845
|
||||
v 0.032325 0.510413 -0.273879
|
||||
v 0.047956 0.548149 -0.265845
|
||||
v 0.047956 0.548149 -0.273879
|
||||
v 0.032325 0.585884 -0.265845
|
||||
v 0.032325 0.585884 -0.273879
|
||||
v -0.005410 0.601515 -0.265845
|
||||
v -0.005410 0.601515 -0.273879
|
||||
v -0.043146 0.585884 -0.265845
|
||||
v -0.043146 0.585884 -0.273879
|
||||
v -0.000109 0.149264 -0.268848
|
||||
v -0.000109 0.940441 -0.268848
|
||||
v -0.004799 0.149264 -0.268848
|
||||
v -0.004799 0.940441 -0.268848
|
||||
v -0.000109 0.149264 -0.260088
|
||||
v -0.000109 0.940441 -0.260088
|
||||
v -0.004799 0.149264 -0.260088
|
||||
v -0.004799 0.940441 -0.260088
|
||||
v 0.119911 0.086846 -0.114011
|
||||
v 0.111512 0.130445 -0.112341
|
||||
v 0.038877 0.064643 -0.136101
|
||||
v 0.030478 0.108242 -0.134431
|
||||
v 0.209056 0.123944 -0.552177
|
||||
v 0.200657 0.167543 -0.550507
|
||||
v 0.128022 0.101741 -0.574268
|
||||
v 0.138016 0.145340 -0.572597
|
||||
v 0.048662 0.033870 0.495340
|
||||
v 0.048662 0.022144 0.452483
|
||||
v -0.053491 0.033870 0.495340
|
||||
v -0.053491 0.022144 0.452483
|
||||
v 0.048662 -0.476361 0.634943
|
||||
v 0.048662 -0.488087 0.592086
|
||||
v -0.053491 -0.476361 0.634943
|
||||
v -0.053491 -0.488087 0.592086
|
||||
v 0.209056 0.123944 -0.552177
|
||||
v 0.128022 0.101741 -0.574268
|
||||
v 0.219790 0.123944 -0.595985
|
||||
v 0.211391 0.167543 -0.594315
|
||||
v 0.157149 0.101741 -0.618075
|
||||
v 0.148750 0.145340 -0.616405
|
||||
v 0.312716 -0.500601 -0.680111
|
||||
v 0.231681 -0.496988 -0.702201
|
||||
v 0.323449 -0.500601 -0.723919
|
||||
v 0.242415 -0.496988 -0.746009
|
||||
v 0.080352 0.075744 -0.125056
|
||||
v 0.094276 0.014385 -0.314219
|
||||
v 0.169496 0.112843 -0.563222
|
||||
v 0.175310 0.036588 -0.292129
|
||||
v 0.135751 0.025487 -0.303174
|
||||
v 0.071953 0.119343 -0.123386
|
||||
v 0.085877 0.057984 -0.312549
|
||||
v 0.161097 0.156442 -0.561552
|
||||
v 0.166911 0.080187 -0.290458
|
||||
v 0.127351 0.069086 -0.301503
|
||||
v -0.124589 0.086846 -0.114011
|
||||
v -0.116189 0.130445 -0.112341
|
||||
v -0.043554 0.064643 -0.136101
|
||||
v -0.035155 0.108242 -0.134431
|
||||
v -0.213733 0.123944 -0.552177
|
||||
v -0.205334 0.167543 -0.550507
|
||||
v -0.132699 0.101741 -0.574268
|
||||
v -0.124300 0.145340 -0.572597
|
||||
v -0.213733 0.123944 -0.552177
|
||||
v -0.132699 0.101741 -0.574268
|
||||
v -0.224467 0.123944 -0.595985
|
||||
v -0.216068 0.167543 -0.594315
|
||||
v -0.143433 0.101741 -0.618075
|
||||
v -0.135034 0.145340 -0.616405
|
||||
v -0.317393 -0.500601 -0.680111
|
||||
v -0.236359 -0.496988 -0.702201
|
||||
v -0.328127 -0.500601 -0.723919
|
||||
v -0.247093 -0.496988 -0.746009
|
||||
v -0.085029 0.075744 -0.125056
|
||||
v -0.098953 0.014385 -0.314219
|
||||
v -0.174174 0.112843 -0.563222
|
||||
v -0.179988 0.036588 -0.292129
|
||||
v -0.140428 0.025487 -0.303174
|
||||
v -0.076630 0.119343 -0.123386
|
||||
v -0.090554 0.057984 -0.312549
|
||||
v -0.165774 0.156442 -0.561552
|
||||
v -0.171588 0.080187 -0.290458
|
||||
v -0.132029 0.069086 -0.301504
|
||||
v 0.048662 0.269229 0.190763
|
||||
v 0.048662 0.257503 0.147906
|
||||
v -0.053491 0.269229 0.190763
|
||||
v -0.053491 0.257503 0.147906
|
||||
v 0.119911 0.086846 -0.114011
|
||||
v 0.111512 0.130445 -0.112341
|
||||
v 0.038877 0.064643 -0.136101
|
||||
v 0.030478 0.108242 -0.134431
|
||||
v -0.124589 0.086846 -0.114011
|
||||
v -0.116189 0.130445 -0.112341
|
||||
v -0.043554 0.064643 -0.136101
|
||||
v -0.035155 0.108242 -0.134431
|
||||
v 0.080352 0.075744 -0.125056
|
||||
v 0.071953 0.119343 -0.123386
|
||||
v -0.085029 0.075744 -0.125056
|
||||
v -0.076630 0.119343 -0.123386
|
||||
v 0.119911 0.086846 -0.114011
|
||||
v 0.111512 0.130445 -0.112341
|
||||
v 0.038877 0.064643 -0.136101
|
||||
v 0.030478 0.108242 -0.134431
|
||||
v -0.124589 0.086846 -0.114011
|
||||
v -0.116189 0.130445 -0.112341
|
||||
v -0.043554 0.064643 -0.136101
|
||||
v -0.035155 0.108242 -0.134431
|
||||
v -0.124589 0.171454 -0.009180
|
||||
v -0.116189 0.215053 -0.007510
|
||||
v -0.043554 0.149251 -0.031270
|
||||
v -0.035155 0.192850 -0.029600
|
||||
v -0.085029 0.160352 -0.020225
|
||||
v -0.076630 0.203951 -0.018555
|
||||
v 0.119911 0.157397 -0.053308
|
||||
v 0.111512 0.200996 -0.051637
|
||||
v 0.038877 0.135194 -0.075398
|
||||
v 0.030478 0.178793 -0.073728
|
||||
v 0.080352 0.146295 -0.064353
|
||||
v 0.071953 0.189894 -0.062682
|
||||
mtllib turret2.mtl
|
||||
o Cube.003_Cube.001
|
||||
v 0.258257 0.221875 -0.506808
|
||||
v 0.258257 0.273492 -0.514869
|
||||
v 0.109257 0.268774 -0.545083
|
||||
v 0.109257 0.217157 -0.537023
|
||||
v 0.180524 0.215201 -0.888170
|
||||
v 0.180524 0.163584 -0.880110
|
||||
v 0.329524 0.219919 -0.857956
|
||||
v 0.329524 0.168301 -0.849895
|
||||
v -0.108308 0.217157 -0.537023
|
||||
v -0.108308 0.268774 -0.545083
|
||||
v -0.179576 0.215201 -0.888170
|
||||
v -0.179576 0.163584 -0.880110
|
||||
v -0.257309 0.221875 -0.506808
|
||||
v -0.257309 0.273492 -0.514869
|
||||
v -0.328576 0.219919 -0.857956
|
||||
v -0.328576 0.168301 -0.849895
|
||||
v 0.085873 0.001877 0.696421
|
||||
v 0.085873 0.048708 0.732976
|
||||
v -0.087103 0.048708 0.732976
|
||||
v -0.087103 0.001877 0.696421
|
||||
v -0.087103 0.296751 0.415200
|
||||
v -0.087103 0.249918 0.378644
|
||||
v 0.085873 0.296751 0.415200
|
||||
v 0.085873 0.249918 0.378644
|
||||
v -0.389180 0.373037 0.166607
|
||||
v -0.389180 1.108962 0.166607
|
||||
v -0.472591 1.108962 0.166607
|
||||
v -0.472591 0.373037 0.166607
|
||||
v -0.472591 1.108962 -0.260339
|
||||
v -0.472591 0.373037 -0.260339
|
||||
v -0.389180 1.108962 -0.260339
|
||||
v -0.389180 0.373037 -0.260339
|
||||
v 0.175323 0.197000 0.268735
|
||||
v 0.175323 1.285000 0.268735
|
||||
v -0.181890 1.285000 0.268735
|
||||
v -0.181890 0.197000 0.268735
|
||||
v -0.181890 1.285000 -0.362467
|
||||
v -0.181890 0.197000 -0.362467
|
||||
v 0.175323 1.285000 -0.362467
|
||||
v 0.175322 0.197000 -0.362467
|
||||
v 0.462071 0.373037 0.166607
|
||||
v 0.462071 1.108962 0.166607
|
||||
v 0.378661 1.108962 0.166607
|
||||
v 0.378661 0.373037 0.166607
|
||||
v 0.378661 1.108962 -0.260339
|
||||
v 0.378661 0.373037 -0.260339
|
||||
v 0.462071 1.108962 -0.260339
|
||||
v 0.462071 0.373037 -0.260339
|
||||
v 0.384151 0.570772 0.021859
|
||||
v 0.384151 0.911229 0.021859
|
||||
v -0.390719 0.911229 0.021859
|
||||
v -0.390719 0.570772 0.021859
|
||||
v -0.390719 0.911229 -0.115592
|
||||
v -0.390719 0.570772 -0.115592
|
||||
v 0.384151 0.911229 -0.115592
|
||||
v 0.384151 0.570772 -0.115592
|
||||
v -0.079937 0.745483 -0.361549
|
||||
v -0.079937 0.745483 -0.372475
|
||||
v -0.058679 0.694162 -0.372475
|
||||
v -0.058679 0.694162 -0.361549
|
||||
v -0.007358 0.672905 -0.372475
|
||||
v -0.007358 0.672905 -0.361549
|
||||
v 0.043962 0.694162 -0.372475
|
||||
v 0.043962 0.694162 -0.361549
|
||||
v 0.065220 0.745483 -0.372475
|
||||
v 0.065220 0.745483 -0.361549
|
||||
v 0.043962 0.796802 -0.372475
|
||||
v 0.043962 0.796802 -0.361549
|
||||
v -0.007358 0.818060 -0.372475
|
||||
v -0.007358 0.818060 -0.361549
|
||||
v -0.058679 0.796802 -0.372475
|
||||
v -0.058679 0.796802 -0.361549
|
||||
v -0.000148 0.202999 -0.365633
|
||||
v -0.000148 1.279000 -0.365633
|
||||
v -0.006527 1.279000 -0.365633
|
||||
v -0.006527 0.202999 -0.365633
|
||||
v -0.006527 1.279000 -0.353720
|
||||
v -0.006527 0.202999 -0.353720
|
||||
v -0.000148 1.279000 -0.353720
|
||||
v -0.000148 0.202999 -0.353720
|
||||
v 0.097856 0.162306 -0.167805
|
||||
v 0.041450 0.147209 -0.182826
|
||||
v 0.041450 0.243158 -0.100270
|
||||
v 0.097856 0.258256 -0.085248
|
||||
v 0.052873 0.087914 -0.185097
|
||||
v 0.116793 0.078858 -0.425067
|
||||
v 0.187702 0.197662 -0.778732
|
||||
v 0.174110 0.138368 -0.781005
|
||||
v 0.128215 0.019564 -0.427338
|
||||
v 0.272894 0.227859 -0.748690
|
||||
v 0.284316 0.168564 -0.750961
|
||||
v 0.298914 0.168564 -0.810540
|
||||
v 0.287492 0.227859 -0.808268
|
||||
v 0.226999 0.109054 -0.395023
|
||||
v 0.151656 0.177405 -0.152784
|
||||
v 0.163079 0.118111 -0.155055
|
||||
v 0.238422 0.049760 -0.397295
|
||||
v 0.184621 0.034662 -0.412317
|
||||
v 0.230515 0.153467 -0.765982
|
||||
v 0.173197 0.093957 -0.410044
|
||||
v 0.066180 0.046063 0.673662
|
||||
v 0.066180 0.030116 0.615377
|
||||
v 0.066180 0.350204 0.201152
|
||||
v 0.066180 0.366151 0.259438
|
||||
v -0.072748 0.046063 0.673662
|
||||
v -0.072748 0.030116 0.615377
|
||||
v -0.072748 -0.663798 0.805237
|
||||
v -0.072748 -0.647851 0.863523
|
||||
v 0.066180 -0.663798 0.805237
|
||||
v 0.066180 -0.647851 0.863523
|
||||
v 0.174110 0.138368 -0.781005
|
||||
v 0.284316 0.168564 -0.750961
|
||||
v 0.213723 0.138368 -0.840582
|
||||
v 0.202300 0.197662 -0.838311
|
||||
v 0.329684 -0.675904 -1.014572
|
||||
v 0.315086 -0.675904 -0.954993
|
||||
v 0.219092 0.212761 -0.763711
|
||||
v 0.425294 -0.680817 -0.924951
|
||||
v 0.439891 -0.680817 -0.984530
|
||||
v 0.109279 0.103012 -0.170076
|
||||
v -0.059233 0.087914 -0.185097
|
||||
v -0.115639 0.103012 -0.170076
|
||||
v -0.115639 0.218079 -0.027506
|
||||
v -0.059233 0.202981 -0.042527
|
||||
v -0.047811 0.147209 -0.182826
|
||||
v -0.123153 0.078858 -0.425067
|
||||
v -0.169048 0.197662 -0.778732
|
||||
v -0.180471 0.138368 -0.781005
|
||||
v -0.134576 0.019564 -0.427338
|
||||
v -0.279254 0.227859 -0.748690
|
||||
v -0.290677 0.168564 -0.750961
|
||||
v -0.305275 0.168564 -0.810540
|
||||
v -0.293853 0.227859 -0.808268
|
||||
v -0.233360 0.109054 -0.395023
|
||||
v -0.158017 0.177405 -0.152784
|
||||
v -0.169441 0.118111 -0.155055
|
||||
v -0.244784 0.049760 -0.397295
|
||||
v -0.190982 0.034662 -0.412317
|
||||
v -0.236877 0.153467 -0.765982
|
||||
v -0.179559 0.093957 -0.410045
|
||||
v -0.104217 0.162306 -0.167805
|
||||
v -0.180471 0.138368 -0.781005
|
||||
v -0.290677 0.168564 -0.750961
|
||||
v -0.195069 0.138368 -0.840582
|
||||
v -0.183646 0.197662 -0.838311
|
||||
v -0.336047 -0.675904 -1.014572
|
||||
v -0.321448 -0.675904 -0.954993
|
||||
v -0.225453 0.212761 -0.763711
|
||||
v -0.431654 -0.680817 -0.924951
|
||||
v -0.446253 -0.680817 -0.984530
|
||||
v -0.072748 0.350204 0.201152
|
||||
v -0.072748 0.366151 0.259438
|
||||
v -0.059233 0.087914 -0.185097
|
||||
v -0.047811 0.147209 -0.182826
|
||||
v -0.158017 0.177405 -0.152784
|
||||
v -0.169441 0.118111 -0.155055
|
||||
v 0.052873 0.087914 -0.185097
|
||||
v 0.041450 0.147209 -0.182826
|
||||
v 0.151656 0.177405 -0.152784
|
||||
v 0.163079 0.118111 -0.155055
|
||||
v -0.059233 0.087914 -0.185097
|
||||
v -0.047811 0.147209 -0.182826
|
||||
v 0.052873 0.087914 -0.185097
|
||||
v 0.041450 0.147209 -0.182826
|
||||
v -0.158017 0.177405 -0.152784
|
||||
v -0.169441 0.118111 -0.155055
|
||||
v 0.151656 0.177405 -0.152784
|
||||
v 0.163079 0.118111 -0.155055
|
||||
v -0.169441 0.233177 -0.012485
|
||||
v -0.158017 0.292472 -0.010214
|
||||
v -0.104217 0.277373 -0.025235
|
||||
v -0.047811 0.262276 -0.040256
|
||||
v 0.163079 0.214060 -0.072499
|
||||
v 0.151656 0.273355 -0.070226
|
||||
v 0.052873 0.183864 -0.102541
|
||||
v 0.109279 0.198961 -0.087520
|
||||
v -0.104217 0.162306 -0.167805
|
||||
v 0.097856 0.162306 -0.167805
|
||||
v -0.115639 0.103012 -0.170076
|
||||
v 0.109279 0.103012 -0.170076
|
||||
vt 0.489132 0.748949
|
||||
vt 0.489132 0.718137
|
||||
vt 0.519717 0.718145
|
||||
@ -605,7 +605,7 @@ vn -0.9796 -0.0310 -0.1986
|
||||
vn 0.2010 -0.1511 -0.9679
|
||||
vn 0.9796 0.0310 0.1986
|
||||
vn -0.0000 -0.9880 0.1543
|
||||
vn -0.0000 0.9880 -0.1543
|
||||
vn 0.0000 0.9880 -0.1543
|
||||
vn -0.9796 0.0310 0.1986
|
||||
vn -0.2010 -0.1511 -0.9679
|
||||
vn 0.2010 0.1511 0.9679
|
||||
@ -613,31 +613,35 @@ vn 0.9796 -0.0310 -0.1986
|
||||
vn 0.0000 -0.6153 0.7883
|
||||
vn -1.0000 -0.0000 0.0000
|
||||
vn 0.0000 0.6153 -0.7883
|
||||
vn 1.0000 0.0000 -0.0000
|
||||
vn 1.0000 -0.0000 0.0000
|
||||
vn 0.0000 -0.7883 -0.6153
|
||||
vn 0.0000 0.7883 0.6153
|
||||
vn -0.0000 0.0000 1.0000
|
||||
vn 0.0000 -0.0000 -1.0000
|
||||
vn 0.0000 -1.0000 -0.0000
|
||||
vn -0.0000 1.0000 0.0000
|
||||
vn -0.9239 -0.3827 -0.0000
|
||||
vn 0.0000 -0.0000 1.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn -0.9239 -0.3827 0.0000
|
||||
vn -0.3827 -0.9239 0.0000
|
||||
vn 0.3827 -0.9239 -0.0000
|
||||
vn 0.9239 -0.3827 -0.0000
|
||||
vn 0.3827 -0.9239 0.0000
|
||||
vn 0.9239 -0.3827 0.0000
|
||||
vn 0.9239 0.3827 0.0000
|
||||
vn 0.3827 0.9239 0.0000
|
||||
vn -0.3827 0.9239 -0.0000
|
||||
vn -0.3827 0.9239 0.0000
|
||||
vn -0.9239 0.3827 0.0000
|
||||
vn 0.0284 0.6521 -0.7576
|
||||
vn 0.0273 0.6520 -0.7577
|
||||
vn 0.0276 0.6521 -0.7576
|
||||
vn -0.9793 -0.0575 -0.1940
|
||||
vn 0.9562 0.1752 0.2343
|
||||
vn 0.9614 0.1771 0.2106
|
||||
vn 0.3279 -0.9076 -0.2623
|
||||
vn -0.1696 0.9334 -0.3161
|
||||
vn -0.1697 0.9334 -0.3162
|
||||
vn -0.1732 0.9325 -0.3170
|
||||
vn 0.0000 -0.9645 0.2639
|
||||
vn -0.0000 0.2639 0.9645
|
||||
vn 0.0000 0.2639 0.9645
|
||||
vn 0.0000 -0.2639 -0.9645
|
||||
vn 0.0000 0.7053 -0.7089
|
||||
vn 0.0001 0.7052 -0.7090
|
||||
vn 0.3012 0.0944 -0.9489
|
||||
vn -0.9088 -0.0550 -0.4135
|
||||
vn -0.3003 0.9484 -0.1018
|
||||
@ -646,6 +650,8 @@ vn -0.0418 -0.9991 -0.0102
|
||||
vn 0.9652 0.1118 0.2365
|
||||
vn -0.2303 -0.2363 0.9440
|
||||
vn 0.2576 0.2358 -0.9370
|
||||
vn 0.1697 -0.9334 0.3162
|
||||
vn 0.1696 -0.9334 0.3161
|
||||
vn 0.1732 -0.9325 0.3170
|
||||
vn 0.1661 -0.9343 0.3153
|
||||
vn 0.3146 -0.9114 -0.2653
|
||||
@ -653,20 +659,26 @@ vn -0.3279 0.9076 0.2623
|
||||
vn -0.3872 0.8914 0.2355
|
||||
vn -0.1661 0.9343 -0.3153
|
||||
vn 0.0410 0.7775 -0.6275
|
||||
vn 0.0430 0.7775 -0.6274
|
||||
vn 0.0414 0.7775 -0.6275
|
||||
vn -0.9614 0.1771 0.2106
|
||||
vn 0.9562 -0.1752 -0.2343
|
||||
vn 0.9614 -0.1771 -0.2106
|
||||
vn 0.9614 -0.1772 -0.2106
|
||||
vn 0.3279 0.9076 0.2623
|
||||
vn -0.1696 -0.9334 0.3161
|
||||
vn -0.1697 -0.9334 0.3162
|
||||
vn -0.1732 -0.9325 0.3170
|
||||
vn -0.0001 -0.7054 0.7089
|
||||
vn 0.0001 -0.7052 0.7090
|
||||
vn 0.2407 -0.0834 0.9670
|
||||
vn -0.9647 0.1165 0.2364
|
||||
vn -0.2490 -0.9668 0.0583
|
||||
vn -0.2490 -0.9667 0.0583
|
||||
vn -0.9562 0.1752 0.2343
|
||||
vn -0.0418 0.9991 0.0102
|
||||
vn 0.9652 -0.1118 -0.2365
|
||||
vn -0.2303 0.2363 -0.9440
|
||||
vn 0.2302 -0.2365 0.9440
|
||||
vn 0.1697 0.9334 -0.3162
|
||||
vn 0.1696 0.9334 -0.3161
|
||||
vn 0.1732 0.9325 -0.3170
|
||||
vn 0.1661 0.9343 -0.3153
|
||||
vn 0.3146 0.9114 0.2653
|
||||
@ -675,152 +687,156 @@ vn -0.3146 -0.9114 -0.2653
|
||||
vn -0.1661 -0.9343 0.3153
|
||||
vn 0.0000 0.9645 -0.2639
|
||||
vn 0.0000 -0.7913 -0.6115
|
||||
vn -0.0000 0.7913 0.6115
|
||||
vn 0.0000 0.7913 0.6115
|
||||
vn -0.2407 0.0834 -0.9670
|
||||
vn -0.9689 0.1926 -0.1555
|
||||
vn -0.9689 0.1926 -0.1554
|
||||
vn 0.9689 -0.1926 0.1555
|
||||
vn -0.0430 -0.7775 0.6275
|
||||
vn -0.0426 -0.7775 0.6275
|
||||
vn -0.0411 -0.7775 0.6275
|
||||
vn -0.0410 -0.7775 0.6275
|
||||
vn 0.0430 0.7775 -0.6275
|
||||
vn -0.2407 -0.0834 0.9670
|
||||
vn -0.0282 -0.6521 0.7576
|
||||
vn -0.0286 -0.6520 0.7577
|
||||
vn -0.0276 -0.6521 0.7576
|
||||
vn 0.0286 0.6520 -0.7577
|
||||
vn -0.9554 -0.1926 0.2239
|
||||
vn 0.9554 0.1926 -0.2239
|
||||
vn -0.0273 -0.6520 0.7577
|
||||
usemtl Material.001
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/5/2 4/6/2 8/7/2 7/8/2
|
||||
f 7/9/3 8/10/3 6/11/3 5/12/3
|
||||
f 5/13/4 6/14/4 2/15/4 1/16/4
|
||||
f 3/17/5 7/18/5 5/19/5 1/20/5
|
||||
f 8/21/6 4/22/6 2/23/6 6/24/6
|
||||
f 13/25/7 12/26/7 16/27/7 9/28/7
|
||||
f 15/29/8 14/30/8 12/31/8 13/32/8
|
||||
f 9/33/9 16/34/9 10/35/9 11/36/9
|
||||
f 11/37/10 10/38/10 14/39/10 15/40/10
|
||||
f 13/41/6 9/42/6 11/43/6 15/44/6
|
||||
f 16/45/6 10/46/6 14/47/6 12/48/6
|
||||
f 17/49/11 18/50/11 20/51/11 19/52/11
|
||||
f 19/53/12 20/54/12 24/55/12 23/56/12
|
||||
f 23/57/13 24/58/13 22/59/13 21/60/13
|
||||
f 21/61/14 22/62/14 18/63/14 17/64/14
|
||||
f 19/65/15 23/57/15 21/60/15 17/66/15
|
||||
f 24/67/16 20/51/16 18/50/16 22/68/16
|
||||
f 25/69/17 26/70/17 28/71/17 27/72/17
|
||||
f 27/73/12 28/74/12 32/75/12 31/76/12
|
||||
f 31/77/18 32/78/18 30/79/18 29/80/18
|
||||
f 29/81/14 30/82/14 26/83/14 25/84/14
|
||||
f 27/85/19 31/77/19 29/80/19 25/86/19
|
||||
f 32/87/20 28/71/20 26/70/20 30/88/20
|
||||
f 33/89/17 34/90/17 36/91/17 35/92/17
|
||||
f 35/93/12 36/94/12 40/95/12 39/96/12
|
||||
f 39/97/18 40/98/18 38/99/18 37/100/18
|
||||
f 37/101/14 38/102/14 34/103/14 33/104/14
|
||||
f 35/105/19 39/97/19 37/100/19 33/106/19
|
||||
f 40/107/20 36/91/20 34/90/20 38/108/20
|
||||
f 41/109/17 42/110/17 44/111/17 43/112/17
|
||||
f 43/113/12 44/114/12 48/115/12 47/116/12
|
||||
f 47/117/18 48/118/18 46/119/18 45/120/18
|
||||
f 45/121/14 46/122/14 42/123/14 41/124/14
|
||||
f 43/125/19 47/117/19 45/120/19 41/126/19
|
||||
f 48/127/20 44/111/20 42/110/20 46/128/20
|
||||
f 49/129/17 50/130/17 52/131/17 51/132/17
|
||||
f 51/133/12 52/134/12 56/135/12 55/136/12
|
||||
f 55/137/18 56/138/18 54/139/18 53/140/18
|
||||
f 53/141/14 54/142/14 50/143/14 49/144/14
|
||||
f 51/145/19 55/137/19 53/140/19 49/146/19
|
||||
f 56/147/20 52/131/20 50/130/20 54/148/20
|
||||
f 57/149/21 58/150/21 60/151/21 59/152/21
|
||||
f 59/152/22 60/151/22 62/153/22 61/154/22
|
||||
f 61/155/23 62/156/23 64/157/23 63/158/23
|
||||
f 63/158/24 64/157/24 66/159/24 65/160/24
|
||||
f 65/160/25 66/159/25 68/161/25 67/162/25
|
||||
f 67/162/26 68/161/26 70/163/26 69/164/26
|
||||
f 60/165/18 58/166/18 72/167/18 70/168/18 68/169/18 66/170/18 64/171/18 62/172/18
|
||||
f 69/173/27 70/174/27 72/175/27 71/176/27
|
||||
f 71/176/28 72/175/28 58/150/28 57/149/28
|
||||
f 57/177/17 59/178/17 61/179/17 63/180/17 65/181/17 67/182/17 69/183/17 71/184/17
|
||||
f 73/185/17 74/186/17 76/187/17 75/188/17
|
||||
f 75/189/14 76/190/14 80/191/14 79/192/14
|
||||
f 79/193/18 80/194/18 78/195/18 77/196/18
|
||||
f 77/197/12 78/198/12 74/199/12 73/200/12
|
||||
f 75/188/20 79/201/20 77/202/20 73/185/20
|
||||
f 80/194/19 76/203/19 74/204/19 78/195/19
|
||||
f 112/205/29 84/206/29 178/207/29 180/208/29
|
||||
f 83/209/30 84/210/30 113/211/30 88/212/30 87/213/30 108/214/30
|
||||
f 86/215/31 85/216/31 99/217/31 100/218/31
|
||||
f 85/216/32 86/215/32 115/219/32 82/220/32 81/221/32 110/222/32
|
||||
f 111/223/33 109/224/33 85/225/33 110/226/33
|
||||
f 116/227/34 112/228/34 82/229/34 115/230/34
|
||||
f 89/231/14 90/232/14 146/233/14 145/234/14
|
||||
f 91/235/12 92/236/12 96/237/12 95/238/12
|
||||
f 95/239/35 96/240/35 94/241/35 93/242/35
|
||||
f 93/243/14 94/244/14 90/232/14 89/231/14
|
||||
f 91/245/36 95/246/36 93/247/36 89/248/36
|
||||
f 96/249/37 92/250/37 90/251/37 94/252/37
|
||||
f 85/225/38 109/224/38 87/253/38 98/254/38 97/255/38
|
||||
f 101/256/39 102/257/39 100/258/39 99/259/39
|
||||
f 87/213/40 101/260/40 106/261/40 104/262/40
|
||||
f 88/212/41 114/263/41 86/264/41 100/265/41 102/266/41
|
||||
f 87/213/42 88/212/42 102/266/42 101/260/42
|
||||
f 103/267/43 104/268/43 106/269/43 105/270/43
|
||||
f 99/217/44 85/216/44 103/271/44 105/272/44
|
||||
f 85/273/45 109/274/45 87/275/45 104/276/45 103/277/45
|
||||
f 101/256/46 99/259/46 105/270/46 106/269/46
|
||||
f 107/278/47 111/279/47 110/280/47 81/281/47
|
||||
f 83/282/48 108/283/48 111/279/48 107/278/48
|
||||
f 108/284/49 87/253/49 109/224/49 111/223/49
|
||||
f 114/285/50 116/286/50 115/287/50 86/288/50
|
||||
f 88/289/51 113/290/51 116/286/51 114/285/51
|
||||
f 113/291/52 84/292/52 112/228/52 116/227/52
|
||||
f 119/293/53 135/294/53 173/295/53 171/296/53
|
||||
f 119/297/54 120/298/54 141/299/54 124/300/54 123/301/54 136/302/54
|
||||
f 122/303/55 121/304/55 127/305/55 128/306/55
|
||||
f 121/304/56 122/303/56 143/307/56 118/308/56 117/309/56 138/310/56
|
||||
f 139/311/57 137/312/57 121/313/57 138/314/57
|
||||
f 144/315/58 140/316/58 118/317/58 143/318/58
|
||||
f 121/313/59 137/312/59 123/319/59 126/320/59 125/321/59
|
||||
f 129/322/60 130/323/60 128/324/60 127/325/60
|
||||
f 123/301/61 129/326/61 134/327/61 132/328/61
|
||||
f 124/329/62 142/330/62 122/331/62 128/332/62 130/333/62
|
||||
f 123/301/63 124/300/63 130/334/63 129/326/63
|
||||
f 131/335/64 132/336/64 134/337/64 133/338/64
|
||||
f 127/305/65 121/304/65 131/339/65 133/340/65
|
||||
f 121/341/66 137/342/66 123/343/66 132/344/66 131/345/66
|
||||
f 129/322/67 127/325/67 133/338/67 134/337/67
|
||||
f 135/294/68 139/346/68 138/347/68 117/348/68
|
||||
f 119/293/69 136/349/69 139/346/69 135/294/69
|
||||
f 136/350/70 123/319/70 137/312/70 139/311/70
|
||||
f 142/351/71 144/352/71 143/353/71 122/354/71
|
||||
f 124/355/72 141/356/72 144/352/72 142/351/72
|
||||
f 141/357/73 120/358/73 140/316/73 144/315/73
|
||||
f 145/359/74 146/360/74 148/361/74 147/362/74
|
||||
f 90/251/75 92/250/75 148/363/75 146/364/75
|
||||
f 91/245/76 89/248/76 145/365/76 147/366/76
|
||||
f 92/236/12 91/235/12 147/367/12 148/368/12
|
||||
f 120/369/17 119/370/17 155/371/17 156/372/17
|
||||
f 117/373/17 118/374/17 154/375/17 153/376/17
|
||||
f 84/377/17 83/378/17 151/379/17 152/380/17
|
||||
f 81/381/17 82/382/17 150/383/17 149/384/17
|
||||
f 156/372/17 155/371/17 167/385/17 168/386/17
|
||||
f 152/380/17 151/379/17 163/387/17 164/388/17
|
||||
f 153/376/17 154/375/17 166/389/17 165/390/17
|
||||
f 149/384/17 150/383/17 162/391/17 161/392/17
|
||||
f 169/393/77 170/394/77 174/395/77 172/396/77 171/296/77 173/295/77
|
||||
f 120/298/78 119/297/78 171/397/78 172/398/78
|
||||
f 117/309/79 118/308/79 170/399/79 169/400/79
|
||||
f 118/317/80 140/316/80 174/401/80 170/402/80
|
||||
f 140/316/81 120/358/81 172/403/81 174/401/81
|
||||
f 135/294/82 117/348/82 169/393/82 173/295/82
|
||||
f 175/404/83 176/405/83 180/406/83 178/407/83 177/408/83 179/409/83
|
||||
f 107/410/84 81/411/84 175/404/84 179/409/84
|
||||
f 82/412/85 112/205/85 180/208/85 176/413/85
|
||||
f 84/210/86 83/209/86 177/414/86 178/415/86
|
||||
f 81/221/87 82/220/87 176/416/87 175/417/87
|
||||
f 83/418/88 107/410/88 179/409/88 177/408/88
|
||||
l 140 160
|
||||
l 112 158
|
||||
l 135 159
|
||||
l 107 157
|
||||
usemtl Material.002
|
||||
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/9/3 5/10/3 7/11/3 8/12/3
|
||||
f 8/13/4 7/14/4 2/15/4 1/16/4
|
||||
f 4/17/5 6/18/5 8/19/5 1/20/5
|
||||
f 5/21/6 3/22/6 2/23/6 7/24/6
|
||||
f 9/25/7 10/26/7 11/27/7 12/28/7
|
||||
f 13/29/8 14/30/8 10/31/8 9/32/8
|
||||
f 12/33/9 11/34/9 15/35/9 16/36/9
|
||||
f 16/37/10 15/38/10 14/39/10 13/40/10
|
||||
f 9/41/6 12/42/6 16/43/6 13/44/6
|
||||
f 11/45/6 15/46/6 14/47/6 10/48/6
|
||||
f 17/49/11 18/50/11 19/51/11 20/52/11
|
||||
f 20/53/12 19/54/12 21/55/12 22/56/12
|
||||
f 22/57/13 21/58/13 23/59/13 24/60/13
|
||||
f 24/61/14 23/62/14 18/63/14 17/64/14
|
||||
f 20/65/15 22/57/15 24/60/15 17/66/15
|
||||
f 21/67/16 19/51/16 18/50/16 23/68/16
|
||||
f 25/69/17 26/70/17 27/71/17 28/72/17
|
||||
f 28/73/12 27/74/12 29/75/12 30/76/12
|
||||
f 30/77/18 29/78/18 31/79/18 32/80/18
|
||||
f 32/81/14 31/82/14 26/83/14 25/84/14
|
||||
f 28/85/19 30/77/19 32/80/19 25/86/19
|
||||
f 29/87/20 27/71/20 26/70/20 31/88/20
|
||||
f 33/89/17 34/90/17 35/91/17 36/92/17
|
||||
f 36/93/12 35/94/12 37/95/12 38/96/12
|
||||
f 38/97/18 37/98/18 39/99/18 40/100/18
|
||||
f 40/101/14 39/102/14 34/103/14 33/104/14
|
||||
f 36/105/19 38/97/19 40/100/19 33/106/19
|
||||
f 37/107/20 35/91/20 34/90/20 39/108/20
|
||||
f 41/109/17 42/110/17 43/111/17 44/112/17
|
||||
f 44/113/12 43/114/12 45/115/12 46/116/12
|
||||
f 46/117/18 45/118/18 47/119/18 48/120/18
|
||||
f 48/121/14 47/122/14 42/123/14 41/124/14
|
||||
f 44/125/19 46/117/19 48/120/19 41/126/19
|
||||
f 45/127/20 43/111/20 42/110/20 47/128/20
|
||||
f 49/129/17 50/130/17 51/131/17 52/132/17
|
||||
f 52/133/12 51/134/12 53/135/12 54/136/12
|
||||
f 54/137/18 53/138/18 55/139/18 56/140/18
|
||||
f 56/141/14 55/142/14 50/143/14 49/144/14
|
||||
f 52/145/19 54/137/19 56/140/19 49/146/19
|
||||
f 53/147/20 51/131/20 50/130/20 55/148/20
|
||||
f 57/149/21 58/150/21 59/151/21 60/152/21
|
||||
f 60/152/22 59/151/22 61/153/22 62/154/22
|
||||
f 62/155/23 61/156/23 63/157/23 64/158/23
|
||||
f 64/158/24 63/157/24 65/159/24 66/160/24
|
||||
f 66/160/25 65/159/25 67/161/25 68/162/25
|
||||
f 68/162/26 67/161/26 69/163/26 70/164/26
|
||||
f 59/165/18 58/166/18 71/167/18 69/168/18 67/169/18 65/170/18 63/171/18 61/172/18
|
||||
f 70/173/27 69/174/27 71/175/27 72/176/27
|
||||
f 72/176/28 71/175/28 58/150/28 57/149/28
|
||||
f 57/177/17 60/178/17 62/179/17 64/180/17 66/181/17 68/182/17 70/183/17 72/184/17
|
||||
f 73/185/17 74/186/17 75/187/17 76/188/17
|
||||
f 76/189/14 75/190/14 77/191/14 78/192/14
|
||||
f 78/193/18 77/194/18 79/195/18 80/196/18
|
||||
f 80/197/12 79/198/12 74/199/12 73/200/12
|
||||
f 76/188/20 78/201/20 80/202/20 73/185/20
|
||||
f 77/194/19 75/203/19 74/204/19 79/195/19
|
||||
f 81/205/29 82/206/30 83/207/30 84/208/31
|
||||
f 85/209/32 82/210/32 86/211/32 87/212/32 88/213/32 89/214/32
|
||||
f 90/215/33 91/216/33 92/217/33 93/218/33
|
||||
f 91/216/34 90/215/34 94/219/34 95/220/34 96/221/34 97/222/34
|
||||
f 98/223/35 99/224/35 91/225/35 97/226/35
|
||||
f 100/227/36 81/228/37 95/229/38 94/230/38
|
||||
f 101/231/14 102/232/14 103/233/14 104/234/14
|
||||
f 105/235/12 106/236/12 107/237/12 108/238/12
|
||||
f 108/239/39 107/240/39 109/241/39 110/242/39
|
||||
f 110/243/14 109/244/14 102/232/14 101/231/14
|
||||
f 105/245/40 108/246/40 110/247/40 101/248/40
|
||||
f 107/249/41 106/250/41 102/251/41 109/252/41
|
||||
f 91/225/42 99/224/42 88/253/42 111/254/42 112/255/42
|
||||
f 113/256/43 114/257/43 93/258/43 92/259/43
|
||||
f 88/213/44 113/260/44 115/261/44 116/262/44
|
||||
f 87/212/45 117/263/45 90/264/45 93/265/45 114/266/45
|
||||
f 88/213/46 87/212/46 114/266/46 113/260/46
|
||||
f 118/267/47 116/268/47 115/269/47 119/270/47
|
||||
f 92/217/48 91/216/48 118/271/48 119/272/48
|
||||
f 91/273/49 99/274/49 88/275/49 116/276/49 118/277/49
|
||||
f 113/256/50 92/259/50 119/270/50 115/269/50
|
||||
f 120/278/51 98/279/52 97/280/53 96/281/53
|
||||
f 85/282/54 89/283/54 98/279/52 120/278/51
|
||||
f 89/284/55 88/253/55 99/224/55 98/223/55
|
||||
f 117/285/56 100/286/56 94/287/56 90/288/56
|
||||
f 87/289/57 86/290/57 100/286/57 117/285/57
|
||||
f 86/291/58 82/292/58 81/228/37 100/227/36
|
||||
f 121/293/59 122/294/60 123/295/61 124/296/59
|
||||
f 121/297/62 125/298/62 126/299/62 127/300/62 128/301/62 129/302/62
|
||||
f 130/303/63 131/304/63 132/305/63 133/306/63
|
||||
f 131/304/64 130/303/64 134/307/64 135/308/64 136/309/64 137/310/64
|
||||
f 138/311/65 139/312/65 131/313/65 137/314/65
|
||||
f 140/315/66 141/316/67 135/317/68 134/318/68
|
||||
f 131/313/69 139/312/69 128/319/69 142/320/69 143/321/69
|
||||
f 144/322/70 145/323/70 133/324/70 132/325/70
|
||||
f 128/301/71 144/326/71 146/327/71 147/328/71
|
||||
f 127/329/72 148/330/72 130/331/72 133/332/72 145/333/72
|
||||
f 128/301/73 127/300/73 145/334/73 144/326/73
|
||||
f 149/335/74 147/336/74 146/337/74 150/338/74
|
||||
f 132/305/75 131/304/75 149/339/75 150/340/75
|
||||
f 131/341/76 139/342/76 128/343/76 147/344/76 149/345/76
|
||||
f 144/322/77 132/325/77 150/338/77 146/337/77
|
||||
f 122/294/78 138/346/79 137/347/80 136/348/80
|
||||
f 121/293/81 129/349/81 138/346/79 122/294/78
|
||||
f 129/350/82 128/319/82 139/312/82 138/311/82
|
||||
f 148/351/83 140/352/83 134/353/83 130/354/83
|
||||
f 127/355/84 126/356/84 140/352/84 148/351/84
|
||||
f 126/357/85 125/358/85 141/316/67 140/315/66
|
||||
f 104/359/86 103/360/86 151/361/86 152/362/86
|
||||
f 102/251/87 106/250/87 151/363/87 103/364/87
|
||||
f 105/245/88 101/248/88 104/365/88 152/366/88
|
||||
f 106/236/12 105/235/12 152/367/12 151/368/12
|
||||
f 125/369/17 121/370/17 153/371/17 154/372/17
|
||||
f 136/373/17 135/374/17 155/375/17 156/376/17
|
||||
f 82/377/17 85/378/17 157/379/17 158/380/17
|
||||
f 96/381/17 95/382/17 159/383/17 160/384/17
|
||||
f 154/372/17 153/371/17 161/385/17 162/386/17
|
||||
f 158/380/17 157/379/17 163/387/17 164/388/17
|
||||
f 156/376/17 155/375/17 165/389/17 166/390/17
|
||||
f 160/384/17 159/383/17 167/391/17 168/392/17
|
||||
f 169/393/89 170/394/89 171/395/89 172/396/89 124/296/89 123/295/89
|
||||
f 125/298/90 121/297/90 124/397/90 172/398/90
|
||||
f 136/309/91 135/308/91 170/399/91 169/400/91
|
||||
f 135/317/92 141/316/93 171/401/94 170/402/92
|
||||
f 141/316/93 125/358/95 172/403/95 171/401/94
|
||||
f 122/294/60 136/348/96 169/393/96 123/295/61
|
||||
f 173/404/97 174/405/97 84/406/97 83/407/97 175/408/97 176/409/97
|
||||
f 120/410/98 96/411/99 173/404/99 176/409/100
|
||||
f 95/412/101 81/205/29 84/208/31 174/413/101
|
||||
f 82/210/102 85/209/102 175/414/102 83/415/102
|
||||
f 96/221/103 95/220/103 174/416/103 173/417/103
|
||||
f 85/418/104 120/410/98 176/409/100 175/408/104
|
||||
l 141 177
|
||||
l 81 178
|
||||
l 122 179
|
||||
l 120 180
|
||||
|
@ -431,24 +431,6 @@ minetest.register_craftitem(
|
||||
--if pointing at turret then start breaking it
|
||||
if pointed_thing.type == "node" then
|
||||
local node = minetest.get_node(pointed_thing.under)
|
||||
if node.name == "portalgun:turretgun" or node.name == "portalgun:turretgun2" then
|
||||
--if 4 blocks or closer to player
|
||||
local pos = user:getpos()
|
||||
local pos2 = pointed_thing.under
|
||||
local dist = math.sqrt(
|
||||
(pos.x - pos2.x) * (pos.x - pos2.x) +
|
||||
(pos.y - pos2.y) * (pos.y - pos2.y) +
|
||||
(pos.z - pos2.z) * (pos.z - pos2.z)
|
||||
)
|
||||
if dist < 4 then
|
||||
--set the node to air
|
||||
minetest.set_node(pointed_thing.under, {name = "air"})
|
||||
--create entity
|
||||
local pos_tmp = pointed_thing.under
|
||||
local obj = minetest.add_entity(pos_tmp, "portalgun:turret_held")
|
||||
--set the turret to the user
|
||||
end
|
||||
end
|
||||
end
|
||||
portalgun_onuse(itemstack, user, pointed_thing, 1)
|
||||
return itemstack
|
||||
|
@ -11,34 +11,127 @@ wood_sounds.footstep = {name = "wood_walk", gain = 1.0}
|
||||
wood_sounds.dug = {name = "wood_break", gain = 1.0}
|
||||
wood_sounds.place = {name = "block_place", gain = 1.0}
|
||||
minetest.register_node(
|
||||
"portalgun:tureta",
|
||||
{
|
||||
description = "Tureta",
|
||||
tiles = {"portalgun_sentry_turret.png"},
|
||||
drawtype = "mesh",
|
||||
mesh = "turret1.obj",
|
||||
--spawn turretgun and set to air
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local pos = pointed_thing.above
|
||||
local obj = minetest.add_entity(pos, "portalgun:turretgun")
|
||||
--rotate turret to face player
|
||||
local dir = placer:get_look_dir()
|
||||
local yaw = math.atan(dir.z, dir.x) + math.pi / 2
|
||||
if dir.x < 0 then
|
||||
yaw = yaw + math.pi
|
||||
end
|
||||
yaw = yaw + math.pi
|
||||
local deg = math.deg(yaw)
|
||||
deg = math.fmod(deg, 360)
|
||||
deg = math.floor(deg / 90) * 90
|
||||
deg = deg + 90
|
||||
deg = math.fmod(deg, 360)
|
||||
obj:set_yaw(math.rad(deg))
|
||||
--set turret to air
|
||||
minetest.set_node(pos, {name = "air"})
|
||||
end
|
||||
}
|
||||
)
|
||||
minetest.register_craftitem(
|
||||
"portalgun:turret_rotator",
|
||||
{
|
||||
description = "Turret rotator",
|
||||
inventory_image = "portalgun_turret_rotator.png",
|
||||
stack_max = 1,
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
--if pointing at a entity
|
||||
if pointed_thing.type == "object" then
|
||||
local obj = pointed_thing.ref
|
||||
--if entity is a turret
|
||||
if obj:get_luaentity().name == "portalgun:turretgun" then
|
||||
--get object yaw
|
||||
local yaw = obj:get_yaw()
|
||||
local deg = math.deg(yaw)
|
||||
deg = math.fmod(deg, 360)
|
||||
deg = math.floor(deg / 90) * 90
|
||||
deg = deg + 90
|
||||
deg = math.fmod(deg, 360)
|
||||
--set object yaw
|
||||
obj:set_yaw(math.rad(deg))
|
||||
end
|
||||
end
|
||||
end,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
--if pointing at an entity
|
||||
if pointed_thing.type == "object" then
|
||||
local obj = pointed_thing.ref
|
||||
--if entity is a turret
|
||||
if obj:get_luaentity().name == "portalgun:turretgun" then
|
||||
--get object yaw
|
||||
local yaw = obj:get_yaw()
|
||||
local deg = math.deg(yaw)
|
||||
deg = math.fmod(deg, 360)
|
||||
deg = math.floor(deg / 90) * 90
|
||||
deg = deg - 90
|
||||
deg = math.fmod(deg, 360)
|
||||
--set object yaw
|
||||
obj:set_yaw(math.rad(deg))
|
||||
end
|
||||
end
|
||||
end
|
||||
}
|
||||
)
|
||||
minetest.register_entity(
|
||||
"portalgun:turretgun2",
|
||||
{
|
||||
description = "Sentry turret",
|
||||
groups = {oddly_breakable_by_hand = 1, not_in_creative_inventory = 1},
|
||||
drop = "portalgun:turretgun",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
sounds = stone_sounds,
|
||||
tiles = {"portalgun_sentry_turret.png"},
|
||||
drawtype = "mesh",
|
||||
textures = {"portalgun_sentry_turret.png"},
|
||||
visual = "mesh",
|
||||
hp_max = 100,
|
||||
physical = true,
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
weight = 5,
|
||||
is_visible = true,
|
||||
visual_size = {x = 6, y = 6},
|
||||
make_footstep_sound = true,
|
||||
_tmr = 0,
|
||||
_stop = 1,
|
||||
automatic_rotate = 0,
|
||||
mesh = "turret2.obj",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.3, -0.5, -0.3, 0.3, 1, 0.3}
|
||||
}
|
||||
},
|
||||
on_timer = function(pos, elapsed)
|
||||
local p = minetest.get_node(pos).param2
|
||||
on_step = function(self, elapsed, moveresult)
|
||||
self._tmr = self._tmr + elapsed
|
||||
self.object:set_yaw(math.rad(math.fmod((math.floor(math.fmod(math.deg(self.object:get_yaw()), 360) / 90) * 90), 360)))
|
||||
--get yaw and convert it into param2
|
||||
local p = self.object:getyaw()
|
||||
--convert yaw from rad to degrees
|
||||
local yaw = math.deg(p)
|
||||
yaw = math.floor(yaw / 90)
|
||||
--if param2 is less than 0, set it to 3
|
||||
if yaw < 0 then
|
||||
yaw = 3
|
||||
end
|
||||
p = yaw
|
||||
--add -y force
|
||||
local force = {x = 0, y = -10, z = 0}
|
||||
self.object:setvelocity(force)
|
||||
if self._tmr < 0.2 then
|
||||
return
|
||||
else
|
||||
self._tmr = 0
|
||||
end
|
||||
local pos = self.object:getpos()
|
||||
local pos1 = {x = pos.x, y = pos.y + 0.5, z = pos.z}
|
||||
local d
|
||||
--swap 1 and 3 in p
|
||||
if p == 1 then
|
||||
p = 3
|
||||
elseif p == 3 then
|
||||
p = 1
|
||||
end
|
||||
for i, ob in pairs(minetest.get_objects_inside_radius(pos, 10)) do
|
||||
if
|
||||
portalgun_visiable(pos1, ob) and
|
||||
(ob:is_player() or
|
||||
(ob:get_luaentity() and (ob:get_luaentity().type or ob:get_luaentity().portalgun == nil)))
|
||||
then
|
||||
if portalgun_visiable(pos1, ob) and (ob:is_player()) then
|
||||
local a = ob:get_pos()
|
||||
if a.y < pos.y + 2 and a.y > pos.y - 1 then
|
||||
a = {x = math.floor(a.x), y = math.floor(a.y), z = math.floor(a.z)}
|
||||
@ -58,29 +151,13 @@ minetest.register_node(
|
||||
end
|
||||
end
|
||||
end
|
||||
local m = minetest.get_meta(pos)
|
||||
if d then
|
||||
m:set_int("stop", 0)
|
||||
minetest.add_entity(pos1, "portalgun:bullet1"):set_velocity(d)
|
||||
minetest.sound_play("portalgun_bullet1", {pos = pos, gain = 1, max_hear_distance = 15})
|
||||
for i = 2, 5, 1 do
|
||||
minetest.after(
|
||||
i * 0.1,
|
||||
function(pos, d)
|
||||
minetest.add_entity(pos1, "portalgun:bullet1"):set_velocity(d)
|
||||
minetest.sound_play("portalgun_bullet1", {pos = pos, gain = 1, max_hear_distance = 15})
|
||||
end,
|
||||
pos,
|
||||
d
|
||||
)
|
||||
end
|
||||
else
|
||||
if m:get_int("stop") == 1 then
|
||||
minetest.set_node(pos, {name = "portalgun:turretgun", param2 = p})
|
||||
minetest.get_node_timer(pos):start(0.2)
|
||||
else
|
||||
m:set_int("stop", 1)
|
||||
end
|
||||
local obj = minetest.add_entity(pos1, "portalgun:turretgun")
|
||||
obj:setyaw(self.object:getyaw())
|
||||
self.object:remove()
|
||||
end
|
||||
return true
|
||||
end
|
||||
@ -88,82 +165,55 @@ minetest.register_node(
|
||||
)
|
||||
|
||||
minetest.register_entity(
|
||||
"portalgun:turret_held",
|
||||
{
|
||||
hp_max = 1000,
|
||||
physical = true,
|
||||
weight = 5,
|
||||
visual = "mesh",
|
||||
visual_size = {x = 10, y = 10},
|
||||
mesh = "turret2.obj",
|
||||
textures = {"portalgun_sentry_turret.png"},
|
||||
is_visible = true,
|
||||
makes_footstep_sound = true,
|
||||
automatic_rotate = 1,
|
||||
portalgun = 2,
|
||||
on_step = function(self, dtime)
|
||||
--if not held and on ground then transform to turret
|
||||
self.object:set_acceleration({x = 0, y = -10, z = 0})
|
||||
if self.held == false then
|
||||
--check if on ground
|
||||
local pos = self.object:get_pos()
|
||||
pos = {x = math.floor(pos.x), y = math.floor(pos.y) - 1, z = math.floor(pos.z)}
|
||||
local n = minetest.get_node(pos)
|
||||
if n.name == "air" then
|
||||
else
|
||||
--create turret node
|
||||
local p = self.object:get_pos()
|
||||
p = {x = math.floor(p.x), y = math.floor(p.y), z = math.floor(p.z)}
|
||||
--check if the node with pos p is air
|
||||
local n = minetest.get_node(p)
|
||||
if n.name == "air" then
|
||||
local rotation_param2 = self.object:get_rotation().x
|
||||
minetest.set_node(p, {name = "portalgun:turretgun2", param2 = rotation_param2})
|
||||
minetest.get_node_timer(p):start(0.2)
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
end
|
||||
end,
|
||||
on_detach = function(self, player)
|
||||
--set held variable to false
|
||||
self.held = false
|
||||
end,
|
||||
_held = true,
|
||||
}
|
||||
)
|
||||
|
||||
minetest.register_node(
|
||||
"portalgun:turretgun",
|
||||
{
|
||||
description = "Sentry turret",
|
||||
groups = {oddly_breakable_by_hand = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
sounds = stone_sounds,
|
||||
tiles = {"portalgun_sentry_turret.png"},
|
||||
drawtype = "mesh",
|
||||
textures = {"portalgun_sentry_turret.png"},
|
||||
visual = "mesh",
|
||||
hp_max = 100,
|
||||
physical = true,
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
weight = 5,
|
||||
is_visible = true,
|
||||
make_footstep_sound = true,
|
||||
automatic_rotate = 0,
|
||||
_tmr = 0,
|
||||
_stop = 1,
|
||||
visual_size = {x = 6, y = 6},
|
||||
mesh = "turret1.obj",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.3, -0.5, -0.3, 0.3, 1, 0.3}
|
||||
}
|
||||
},
|
||||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(0.2)
|
||||
end,
|
||||
on_timer = function(pos, elapsed)
|
||||
local p = minetest.get_node(pos).param2
|
||||
on_step = function(self, elapsed, moveresult)
|
||||
self.object:set_yaw(math.rad(math.fmod((math.floor(math.fmod(math.deg(self.object:get_yaw()), 360) / 90) * 90), 360)))
|
||||
--get yaw and convert it into param2
|
||||
local p = self.object:getyaw()
|
||||
--convert yaw from rad to degrees
|
||||
local yaw = math.deg(p)
|
||||
yaw = math.floor(yaw / 90)
|
||||
--if param2 is less than 0, set it to 3
|
||||
if yaw < 0 then
|
||||
yaw = 3
|
||||
end
|
||||
p = yaw
|
||||
local pos = self.object:get_pos()
|
||||
local pos1 = {x = pos.x, y = pos.y + 0.5, z = pos.z}
|
||||
local force = {x = 0, y = -10, z = 0}
|
||||
self.object:setvelocity(force)
|
||||
self._tmr = self._tmr + elapsed
|
||||
if self._tmr < 0.2 then
|
||||
return
|
||||
else
|
||||
self._tmr = 0
|
||||
minetest.chat_send_all("turret yaw " .. p .. "yaw" .. math.deg(self.object:getyaw()))
|
||||
end
|
||||
--swap 1 and 3 in p
|
||||
if p == 1 then
|
||||
p = 3
|
||||
elseif p == 3 then
|
||||
p = 1
|
||||
end
|
||||
|
||||
local d
|
||||
for i, ob in pairs(minetest.get_objects_inside_radius(pos1, 10)) do
|
||||
if
|
||||
portalgun_visiable(pos1, ob) and
|
||||
(ob:is_player() or
|
||||
(ob:get_luaentity() and (ob:get_luaentity().type or ob:get_luaentity().portalgun == nil)))
|
||||
then
|
||||
if portalgun_visiable(pos1, ob) and (ob:is_player()) then
|
||||
local a = ob:get_pos()
|
||||
if a.y < pos.y + 2 and a.y > pos.y - 1 then
|
||||
a = {x = math.floor(a.x), y = math.floor(a.y), z = math.floor(a.z)}
|
||||
@ -185,21 +235,10 @@ minetest.register_node(
|
||||
end
|
||||
|
||||
if d then
|
||||
minetest.add_entity(pos1, "portalgun:bullet1"):set_velocity(d)
|
||||
minetest.set_node(pos, {name = "portalgun:turretgun2", param2 = p})
|
||||
minetest.get_node_timer(pos):start(1)
|
||||
minetest.sound_play("portalgun_bullet1", {pos = pos, gain = 1, max_hear_distance = 15})
|
||||
for i = 2, 5, 1 do
|
||||
minetest.after(
|
||||
i * 0.1,
|
||||
function(pos, d)
|
||||
minetest.add_entity(pos1, "portalgun:bullet1"):set_velocity(d)
|
||||
minetest.sound_play("portalgun_bullet1", {pos = pos, gain = 1, max_hear_distance = 15})
|
||||
end,
|
||||
pos,
|
||||
d
|
||||
)
|
||||
end
|
||||
local obj = minetest.add_entity(pos1, "portalgun:turretgun2")
|
||||
--set yaw to same as this object
|
||||
obj:setyaw(self.object:getyaw())
|
||||
self.object:remove()
|
||||
end
|
||||
return true
|
||||
end
|
||||
@ -237,31 +276,6 @@ function portalgun_round(x)
|
||||
end
|
||||
return x - 0.5
|
||||
end
|
||||
|
||||
function portalgun_ra2shoot(pos, ob)
|
||||
local op = ob:get_pos()
|
||||
local m = minetest.get_meta(pos)
|
||||
local x = m:get_int("x")
|
||||
local y = m:get_int("y")
|
||||
local z = m:get_int("z")
|
||||
local ox = portalgun_round(op.x)
|
||||
local oy = portalgun_round(op.y)
|
||||
local oz = portalgun_round(op.z)
|
||||
if x == 1 and ox == pos.x and oz <= pos.z then
|
||||
return true
|
||||
end
|
||||
if x == -1 and ox == pos.x and oz >= pos.z then
|
||||
return true
|
||||
end
|
||||
if z == -1 and oz == pos.z and ox <= pos.x then
|
||||
return true
|
||||
end
|
||||
if z == 1 and oz == pos.z and ox >= pos.x then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
minetest.register_entity(
|
||||
"portalgun:bullet1",
|
||||
{
|
||||
@ -287,8 +301,9 @@ minetest.register_entity(
|
||||
end
|
||||
for i, ob in pairs(minetest.get_objects_inside_radius(pos, 1.5)) do
|
||||
if ob:is_player() then
|
||||
if ob:get_hp() > 2 then
|
||||
ob:set_hp(ob:get_hp() - 2)
|
||||
if ob:get_hp() > 3 then
|
||||
ob:set_hp(ob:get_hp() - 3)
|
||||
elseif ob:get_hp() == 0 then
|
||||
else
|
||||
ob:set_hp(0)
|
||||
end
|
||||
|
BIN
textures/portalgun_turret_rotator.png
Normal file
BIN
textures/portalgun_turret_rotator.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user