tot ornaments, new shaders etc etc

This commit is contained in:
Dave Griffiths 2009-10-21 19:07:30 +01:00
parent 2c9956539f
commit 42e08f2b5b
26 changed files with 6092 additions and 844 deletions

View file

@ -1,33 +1,33 @@
# Blender3D v245 OBJ File: butterfly.blend
# Blender3D v245 OBJ File: <memory>
# www.blender3d.org
o butterfly_Mesh
v 0.022483 0.000002 -0.790792
v 0.286519 0.000002 -0.808224
v 0.569586 0.000002 -0.813275
v 1.053234 0.000002 -0.802641
v 1.513902 0.000002 -0.768308
v 1.995211 0.000002 -0.662639
v 2.293338 0.000002 -0.513493
v 2.242126 0.000002 -0.382030
v 2.075995 0.000002 -0.176237
v 1.843004 0.000002 -0.029013
v 1.573859 0.000002 0.086073
v 1.118858 0.000002 0.190916
v 0.741962 0.000002 0.295921
v 0.771135 0.000002 0.497448
v 0.756951 0.000002 0.640671
v 0.596358 0.000002 0.745205
v 0.434684 0.000002 0.768079
v 0.244420 0.000002 0.751611
v 0.089934 0.000002 0.663155
v 0.042516 0.000002 0.533723
v 0.014988 0.000002 0.400845
o butterfly_Mesh_None_b
v 1.053234 -0.000002 0.802641
v 0.569586 -0.000002 0.813275
v 0.286519 -0.000002 0.808224
v 0.022483 -0.000002 0.790792
v 1.513902 -0.000002 0.768308
v 0.014988 -0.000002 -0.400845
v 1.995211 -0.000002 0.662639
v 2.293338 -0.000002 0.513493
v 2.242126 -0.000002 0.382030
v 2.075995 -0.000002 0.176237
v 1.843004 -0.000002 0.029013
v 1.573859 -0.000002 -0.086073
v 1.118858 -0.000002 -0.190916
v 0.741962 -0.000002 -0.295921
v 0.771135 -0.000002 -0.497448
v 0.042516 -0.000002 -0.533723
v 0.756951 -0.000002 -0.640671
v 0.089934 -0.000002 -0.663155
v 0.596358 -0.000002 -0.745205
v 0.244420 -0.000002 -0.751611
v 0.434684 -0.000002 -0.768079
vt 0.455701 0.993275 0.0
vt 0.243421 1.000000 0.0
vt 0.119179 0.996805 0.0
vt 0.119179 0.996805 0.0
vt 0.003289 0.985782 0.0
vt 0.455701 0.993275 0.0
vt 0.119179 0.996805 0.0
vt 0.455701 0.993275 0.0
vt 0.003289 0.985782 0.0
vt 0.689145 0.995001 0.0
@ -79,25 +79,25 @@ vt 0.030388 0.026039 0.0
vt 0.438117 0.003906 0.0
vt 0.665328 0.002746 0.0
vt 0.100701 0.010414 0.0
vn 0.000000 1.000000 -0.000000
vn -0.000000 -1.000000 -0.000000
usemtl None_butterfly.png
s off
f 4/1/1 3/2/1 2/3/1
f 2/4/1 1/5/1 4/6/1
f 4/7/1 1/8/1 5/9/1
f 5/10/1 1/11/1 21/12/1
f 6/13/1 5/14/1 21/15/1
f 7/16/1 6/17/1 21/18/1
f 8/19/1 7/20/1 21/21/1
f 9/22/1 8/23/1 21/24/1
f 10/25/1 9/26/1 21/27/1
f 11/28/1 10/29/1 21/30/1
f 12/31/1 11/32/1 21/33/1
f 13/34/1 12/35/1 21/36/1
f 14/37/1 13/38/1 21/39/1
f 14/40/1 21/41/1 20/42/1
f 15/43/1 14/44/1 20/45/1
f 15/46/1 20/47/1 19/48/1
f 16/49/1 15/50/1 19/51/1
f 16/52/1 19/53/1 18/54/1
f 17/55/1 16/56/1 18/57/1
f 1/1/1 2/2/1 3/3/1
f 4/4/1 1/5/1 3/6/1
f 1/7/1 4/8/1 5/9/1
f 5/10/1 4/11/1 6/12/1
f 7/13/1 5/14/1 6/15/1
f 8/16/1 7/17/1 6/18/1
f 9/19/1 8/20/1 6/21/1
f 10/22/1 9/23/1 6/24/1
f 11/25/1 10/26/1 6/27/1
f 12/28/1 11/29/1 6/30/1
f 13/31/1 12/32/1 6/33/1
f 14/34/1 13/35/1 6/36/1
f 15/37/1 14/38/1 6/39/1
f 15/40/1 6/41/1 16/42/1
f 17/43/1 15/44/1 16/45/1
f 17/46/1 16/47/1 18/48/1
f 19/49/1 17/50/1 18/51/1
f 19/52/1 18/53/1 20/54/1
f 21/55/1 19/56/1 20/57/1

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,97 +1,97 @@
# Blender3D v245 OBJ File: scene.blend
# www.blender3d.org
o Stone8_Cube_Cube.001_(nu_(nu
v -50.040272 2.054106 114.166405
v -42.502823 9.781324 113.066124
v -54.573746 7.800031 107.837189
v -78.986984 -0.918061 96.577782
v -66.404099 6.613946 101.937851
v -71.393433 15.132357 95.603920
v -83.836983 -16.872017 92.950546
v -83.504539 -15.669688 84.033447
v -77.629471 -17.844124 88.511940
v -54.384434 -7.274786 81.480217
v -69.279678 -16.873558 69.290276
v -67.554474 -12.011861 68.012718
v -94.866173 -17.337442 56.621323
v -94.691193 -21.915905 60.573093
v -97.679779 -15.207994 62.234268
v -50.563690 1.562413 79.207954
v -66.308846 -2.004030 68.131447
v -43.784466 -7.295262 115.514427
v -38.849075 -2.972594 113.729645
v -91.481155 -14.003001 113.220421
v -95.802544 -11.322959 112.914131
v -92.003159 -16.188980 108.126915
v -57.114609 16.695990 78.546700
v -31.163105 -0.948374 101.881256
v -33.421585 3.829575 97.332870
v -33.683216 9.698594 102.017830
v -42.085735 10.598550 103.696762
v -75.006912 33.265633 53.845383
v -73.534073 11.012141 64.255859
v -72.791122 7.879866 55.428307
v -72.792549 -19.818121 53.440903
v -72.406525 -16.493530 51.187695
v -82.832466 11.746259 64.102539
v -83.445862 8.432073 56.624363
v -87.239388 3.446393 71.244774
v -79.808807 7.505398 74.279068
v -82.980286 5.895816 89.336273
v -91.311180 -8.918129 111.861374
v -36.435242 -10.344306 90.334419
v -32.198540 -8.758191 98.224648
v -37.324459 -16.096909 92.782242
v -87.107635 -17.110107 73.262337
v -90.692345 -23.242920 58.039482
v -75.092117 38.233051 58.787060
v -77.532845 14.374012 66.530266
v -49.882397 10.264338 82.001648
v -42.330647 8.535706 92.860367
v -44.382778 0.691880 83.243004
v -87.660515 -9.840169 95.510506
v -77.188110 32.520370 63.784428
v -79.174767 34.210754 59.003082
v -79.088745 7.157519 50.824890
v -51.175407 -13.554257 112.352150
v -60.388786 -8.389112 103.903244
v -47.576523 -16.814968 109.051590
v -68.884674 3.887724 68.568031
v -56.800522 -9.196318 90.958908
v -41.826431 -14.128725 88.273872
v -38.863338 -4.588538 83.989700
v -40.041443 5.728066 90.890884
v -36.421341 -15.906936 84.682564
v -90.942703 -4.909326 71.102356
v -96.412003 1.896720 63.829586
v -73.252533 -4.213812 98.061234
v -79.780869 -7.852257 100.949539
v -83.512093 -21.199635 45.215313
v -96.358620 -4.523343 54.906162
v -84.827293 -0.423972 42.359745
v -75.496582 5.183443 50.027374
v -74.097580 -12.742568 94.211182
v -42.545216 -8.448399 81.883911
v -48.429462 -4.393323 82.461060
v -66.228050 -8.826589 95.947151
v -70.924896 -18.830248 75.753334
v -81.210960 -22.755899 54.612492
v -54.980400 11.784904 100.416313
v -70.822365 15.452346 89.504295
v -32.812187 -1.910301 106.652527
v -86.770950 -2.770701 80.366341
v -37.329803 -8.333938 111.509613
v -73.317558 8.189584 74.001106
v -98.497154 -1.933815 60.405922
v -95.955460 2.375521 56.966286
v -85.192894 -3.728737 98.270035
v -32.936485 -9.628024 104.167999
v -79.622368 -12.876832 44.229729
v -64.702408 16.858974 92.719200
v -88.270119 2.961244 48.040985
v -32.802273 -19.139286 72.738861
v -35.428837 -9.306595 69.825287
v -38.562809 -6.351898 75.828751
v -96.800026 4.712614 116.480247
v -86.140465 15.640550 114.924217
v -103.211327 12.838577 107.529388
v -137.736862 0.509334 91.606178
v -119.941963 11.161201 99.186462
v -126.997948 23.208052 90.228935
v -144.595795 -22.052969 86.476494
v -144.125656 -20.352619 73.865822
v -135.817047 -23.427736 80.199364
v -102.943596 -8.480433 70.255005
v -124.008659 -22.055147 53.015827
v -121.568855 -15.179670 51.209084
v -160.193420 -22.711180 35.099220
v -159.945953 -29.186102 40.687870
v -164.172470 -19.699684 43.037121
v -97.540253 4.017253 67.041542
v -119.807259 -1.026459 51.376995
v -87.952980 -8.509390 118.386642
v -80.973289 -2.396214 115.862579
v -155.406281 -17.995565 115.142426
v -161.517639 -14.205414 114.709267
v -156.144501 -21.087008 107.939125
v -106.804649 25.419361 66.106384
v -70.103683 0.466465 99.106438
v -73.297653 7.223505 92.674049
v -73.667656 15.523551 99.299576
v -85.550613 16.796280 101.673943
v -132.108185 48.852371 31.173449
v -130.025284 17.381186 45.896084
v -128.974579 12.951480 33.412045
v -128.976608 -26.219387 30.601427
v -128.430679 -21.517708 27.414909
v -143.175186 18.419384 45.679256
v -144.042664 13.732418 35.103519
v -149.407516 6.681602 55.779903
v -138.899094 12.421903 60.071041
v -143.384247 10.145611 81.365143
v -155.165909 -10.804472 113.220444
v -77.559608 -12.821390 82.776741
v -71.568008 -10.578284 93.935204
v -78.817154 -20.956799 86.238480
v -149.221191 -22.389679 58.633167
v -154.290741 -31.062786 37.104801
v -132.228683 55.877369 38.162037
v -135.680389 22.135590 49.112583
v -96.576759 16.323635 70.992416
v -85.896973 13.878978 86.348969
v -88.799126 2.786134 72.747963
v -150.003082 -12.108433 90.096832
v -135.192871 47.798412 45.229382
v -138.002426 50.188980 38.467537
v -137.880768 11.929927 26.901827
v -98.405350 -17.360947 113.914513
v -111.435036 -10.056329 101.965950
v -93.315758 -21.972286 109.246811
v -123.450043 7.305739 51.994415
v -106.360466 -11.197890 83.659889
v -85.183899 -18.173367 79.862679
v -80.993454 -4.681505 73.803947
v -82.659554 9.908378 83.563698
v -77.539955 -20.688137 74.783806
v -154.644791 -5.135169 55.578491
v -162.379562 4.490034 45.293243
v -129.627121 -4.151562 93.704109
v -138.859573 -9.297101 97.788780
v -144.136322 -28.173145 18.968689
v -162.304062 -4.589306 32.673618
v -145.996307 1.208080 14.930305
v -132.800690 9.138161 25.773970
v -130.822189 -16.213045 88.259308
v -86.200417 -10.140172 70.825912
v -94.522003 -4.405430 71.642128
v -119.693001 -10.675013 90.714340
v -126.335342 -24.822325 62.155972
v -140.882034 -30.374035 32.258305
v -103.786423 18.474039 97.034691
v -126.190338 23.660583 81.602768
v -72.435837 -0.893905 105.854027
v -148.745056 -2.110696 68.679741
v -78.824707 -9.978300 112.722984
v -129.719086 13.389487 59.677940
v -165.328400 -0.927161 40.451450
v -161.733902 5.167161 35.587070
v -146.513351 -3.465563 93.999390
v -72.611626 -11.808414 102.340370
v -138.635422 -16.402924 17.574862
v -117.535423 25.649857 86.149330
v -150.865204 5.995497 22.964792
v -72.421822 -25.259369 57.892860
v -76.136337 -11.353845 53.772449
v -80.568443 -7.175272 62.262630
vt 0.984832 0.692196 0.0
vt 0.990751 0.868886 0.0
vt 0.903139 0.714470 0.0
@ -630,180 +630,180 @@ vn -0.411159 0.508762 0.756379
vn -0.518073 0.293843 0.803279
vn -0.249156 -0.958505 -0.138528
vn 0.721031 -0.403824 -0.563064
vn -0.890767 -0.315974 -0.326641
vn 0.583744 -0.063053 -0.809486
vn -0.890767 -0.315976 -0.326641
vn 0.583745 -0.063053 -0.809485
vn 0.243205 0.119750 0.962555
vn -0.506248 -0.772473 0.383404
vn 0.534305 0.195351 -0.822409
vn 0.946030 0.226891 -0.231404
vn -0.193753 0.978049 0.076683
vn 0.994592 0.090040 0.051759
vn 0.946089 -0.249688 -0.206327
vn -0.912130 0.397207 -0.101217
vn -0.477306 0.878712 -0.006602
vn 0.089509 0.254379 0.962954
vn 0.994592 0.090040 0.051760
vn 0.946089 -0.249689 -0.206326
vn -0.912130 0.397208 -0.101217
vn -0.477307 0.878712 -0.006602
vn 0.089509 0.254379 0.962953
vn 0.863322 -0.304645 -0.402325
vn -0.882974 -0.324900 0.338817
vn 0.601363 0.190318 0.775978
vn -0.882975 -0.324897 0.338816
vn 0.601364 0.190317 0.775977
vn 0.784482 0.387964 -0.483810
vn -0.845841 -0.299130 -0.441672
vn 0.900156 0.048400 0.432870
vn -0.845841 -0.299130 -0.441671
vn 0.900155 0.048400 0.432872
vn -0.766070 0.183760 -0.615930
vn -0.584651 -0.797270 0.150149
vn 0.567760 0.211001 -0.795693
vn -0.557454 -0.742906 0.370589
vn 0.860616 0.498433 -0.104427
vn 0.918193 0.061489 -0.391332
vn 0.567760 0.211000 -0.795693
vn -0.557453 -0.742906 0.370589
vn 0.860616 0.498433 -0.104426
vn 0.918193 0.061489 -0.391331
vn -0.469193 0.140830 0.871794
vn -0.866931 -0.256395 -0.427426
vn -0.866931 -0.256395 -0.427425
vn -0.986643 0.162654 0.008844
vn -0.339879 -0.916146 -0.212503
vn -0.339879 -0.916147 -0.212503
vn 0.124146 0.988017 0.091704
vn -0.518397 0.293571 0.803169
vn -0.344579 -0.899064 -0.270091
vn -0.344579 -0.899064 -0.270092
vn 0.960807 0.221357 -0.166887
vn -0.348130 -0.935475 -0.060758
vn -0.797905 0.002920 0.602776
vn -0.197829 -0.978247 -0.062421
vn 0.082401 0.524737 0.847267
vn -0.348130 -0.935475 -0.060757
vn -0.797904 0.002920 0.602777
vn -0.197828 -0.978247 -0.062421
vn 0.082400 0.524737 0.847267
vn -0.705765 -0.140129 -0.694449
vn -0.110100 0.025491 -0.993594
vn 0.883261 0.048012 -0.466417
vn -0.110099 0.025491 -0.993594
vn 0.883260 0.048012 -0.466418
vn 0.359275 -0.870370 0.336717
vn 0.487932 -0.778608 0.394577
vn 0.005036 0.148064 -0.988965
vn 0.487932 -0.778609 0.394577
vn 0.005035 0.148064 -0.988965
vn -0.007279 -0.998158 0.060227
vn 0.331194 -0.943458 0.014049
vn -0.039782 0.879407 0.474405
vn -0.617750 0.786200 -0.016591
vn 0.869341 0.097996 -0.484399
vn -0.726724 -0.173601 -0.664632
vn 0.331195 -0.943458 0.014049
vn -0.039782 0.879407 0.474406
vn -0.617749 0.786200 -0.016591
vn 0.869341 0.097996 -0.484400
vn -0.726723 -0.173602 -0.664632
vn 0.909996 0.210814 0.357022
vn 0.699868 0.017413 -0.714060
vn 0.591475 -0.801062 -0.091957
vn 0.591475 -0.801062 -0.091958
vn -0.587754 0.565500 -0.578580
vn 0.305455 -0.326830 -0.894360
vn 0.305455 -0.326829 -0.894360
vn -0.943882 0.317048 0.092558
vn 0.490593 -0.211060 0.845442
vn 0.490593 -0.211059 0.845442
vn 0.844124 0.206529 -0.494774
vn -0.172274 0.699022 -0.694039
vn 0.621744 0.365533 0.692690
vn 0.621744 0.365534 0.692690
vn 0.708322 0.581607 -0.400018
vn 0.738520 -0.066255 0.670969
vn 0.679673 0.475880 -0.558196
vn -0.632652 0.268012 0.726582
vn -0.862125 0.016667 0.506422
vn -0.632652 0.268011 0.726582
vn -0.862126 0.016667 0.506420
vn -0.230099 -0.955003 -0.187146
vn -0.603998 0.638665 0.476754
vn -0.869151 0.493995 -0.023353
vn 0.668849 0.171004 0.723463
vn -0.938151 0.325415 0.118227
vn -0.603997 0.638665 0.476754
vn -0.869152 0.493994 -0.023354
vn 0.668849 0.171005 0.723463
vn -0.938151 0.325414 0.118226
vn -0.942437 -0.101898 -0.318480
vn -0.726892 -0.108428 0.678139
vn -0.363069 0.913167 0.185222
vn 0.509575 -0.741946 0.435717
vn -0.644721 0.346368 0.681443
vn -0.726891 -0.108428 0.678139
vn -0.363068 0.913167 0.185223
vn 0.509575 -0.741947 0.435716
vn -0.644720 0.346368 0.681443
vn 0.035511 -0.133875 -0.990362
vn -0.117753 0.689989 0.714178
vn -0.208807 0.976452 0.054230
vn -0.432691 -0.825257 0.362945
vn -0.809792 0.479584 -0.337988
vn -0.809792 0.479583 -0.337989
vn 0.200656 0.658251 -0.725564
vn -0.441808 0.886200 0.139481
vn -0.509074 -0.758974 -0.405959
vn -0.319544 -0.133750 0.938084
vn 0.088980 0.879544 0.467423
vn -0.441809 0.886200 0.139480
vn -0.509076 -0.758972 -0.405959
vn -0.319545 -0.133749 0.938084
vn 0.088979 0.879544 0.467423
vn -0.937205 -0.291690 -0.191215
vn -0.932849 -0.142108 0.331056
vn 0.921678 -0.363022 -0.136838
vn 0.083232 -0.565688 -0.820408
vn -0.932849 -0.142108 0.331055
vn 0.921678 -0.363021 -0.136838
vn 0.083233 -0.565688 -0.820408
vn -0.143036 0.135782 -0.980359
vn 0.003871 -0.411756 0.911286
vn 0.568011 0.501435 -0.652631
vn 0.003871 -0.411757 0.911286
vn 0.568010 0.501435 -0.652631
vn -0.513768 -0.669090 -0.536993
vn 0.715788 -0.697714 -0.029024
vn 0.319919 -0.363306 -0.875020
vn 0.709032 0.063479 -0.702314
vn -0.171156 0.979855 -0.102903
vn 0.715789 -0.697713 -0.029024
vn 0.319920 -0.363306 -0.875020
vn 0.709032 0.063480 -0.702314
vn -0.171156 0.979855 -0.102904
vn 0.780498 0.604900 0.157859
vn 0.344123 0.922731 0.173628
vn 0.496225 -0.823031 0.276369
vn 0.584501 0.123890 -0.801879
vn 0.545348 -0.389165 0.742392
vn 0.393418 -0.891021 0.226503
vn 0.202552 -0.010613 -0.979214
vn -0.423396 0.885353 0.192055
vn 0.545347 -0.389165 0.742393
vn 0.393419 -0.891021 0.226503
vn 0.202552 -0.010614 -0.979214
vn -0.423397 0.885353 0.192055
vn -0.001079 0.142000 0.989866
vn -0.421513 0.853291 -0.306956
vn 0.961958 0.195890 -0.190431
vn -0.521212 -0.848500 -0.091571
vn 0.948719 0.218666 0.228294
vn 0.947153 0.292219 0.132324
vn 0.961958 0.195889 -0.190431
vn -0.521212 -0.848501 -0.091571
vn 0.948719 0.218665 0.228294
vn 0.947153 0.292218 0.132324
vn -0.330022 -0.085274 0.940114
vn -0.872621 0.381555 0.304875
vn -0.281645 0.601369 0.747684
vn -0.872621 0.381555 0.304874
vn -0.281646 0.601369 0.747684
vn 0.713050 -0.447139 -0.540024
vn 0.445589 0.258324 -0.857158
vn 0.445588 0.258324 -0.857158
vn 0.814064 -0.580552 0.016111
vn -0.606490 -0.048141 0.793633
vn 0.554203 -0.348525 -0.755903
vn -0.061369 -0.920716 0.385379
vn 0.691099 0.428022 0.582391
vn -0.875994 -0.197445 0.440058
vn 0.691100 0.428021 0.582391
vn -0.875994 -0.197445 0.440057
vn -0.862996 0.241274 0.443875
vn -0.696680 -0.483809 -0.529685
vn 0.720426 0.240235 0.650594
vn -0.696679 -0.483809 -0.529685
vn 0.720426 0.240235 0.650595
vn -0.184680 0.791019 -0.583251
vn 0.340714 -0.617197 0.709212
vn -0.162241 -0.958211 -0.235604
vn -0.740217 -0.541709 -0.398285
vn -0.162241 -0.958211 -0.235605
vn -0.740216 -0.541709 -0.398285
vn 0.341267 0.923698 0.174124
vn 0.545350 -0.763645 0.345601
vn 0.545349 -0.763645 0.345601
vn 0.491305 -0.831876 -0.258075
vn -0.007699 -0.986835 -0.161544
vn -0.888579 -0.449057 -0.093676
vn -0.888579 -0.449057 -0.093675
vn -0.179667 -0.961940 0.205891
vn 0.000194 0.857847 0.513906
vn -0.616931 0.785674 -0.045956
vn -0.427133 -0.053010 0.902634
vn -0.735771 0.283721 -0.614934
vn -0.746201 0.190463 -0.637894
vn 0.945893 -0.113137 0.304117
vn -0.856024 -0.343210 -0.386561
vn -0.616931 0.785675 -0.045957
vn -0.427132 -0.053009 0.902634
vn -0.735772 0.283719 -0.614934
vn -0.746200 0.190463 -0.637894
vn 0.945893 -0.113138 0.304117
vn -0.856025 -0.343209 -0.386561
vn 0.067372 0.979846 -0.188049
vn -0.277656 0.873213 -0.400508
vn -0.112968 0.906621 -0.406542
vn 0.979889 -0.174895 0.096070
vn 0.763555 -0.050208 0.643788
vn 0.173395 -0.599521 0.781350
vn 0.763555 -0.050207 0.643788
vn 0.173396 -0.599521 0.781350
vn 0.748132 0.293686 0.595018
vn -0.848744 0.137335 -0.510659
vn -0.819763 -0.080494 -0.567018
vn 0.961789 0.089503 -0.258748
vn 0.961790 0.089503 -0.258747
vn -0.238172 0.970801 0.028630
vn 0.953934 0.065973 -0.292672
vn 0.988413 -0.106957 0.107700
vn 0.953935 0.065973 -0.292671
vn 0.988413 -0.106958 0.107700
vn -0.956620 0.215528 0.196027
vn -0.905454 -0.158177 -0.393869
vn -0.905454 -0.158177 -0.393870
vn -0.562774 0.690218 0.454846
vn -0.554097 0.697032 0.455108
vn 0.998168 0.050410 -0.033462
vn 0.694600 0.708025 -0.127406
vn -0.554097 0.697032 0.455107
vn 0.998168 0.050409 -0.033461
vn 0.694599 0.708025 -0.127406
vn 0.449242 0.728788 -0.516769
vn 0.487602 0.856907 -0.167198
vn 0.890718 0.074236 -0.448453
vn 0.890719 0.074236 -0.448452
vn -0.752842 0.228339 -0.617325
vn -0.885278 0.179810 -0.428895
vn 0.311580 0.702718 -0.639614
vn -0.721085 -0.202304 0.662654
vn -0.721085 -0.202303 0.662654
vn 0.452712 -0.820729 0.348505
vn 0.103217 -0.986067 0.130454
vn 0.099341 -0.985889 0.134736
vn 0.137357 0.972473 -0.188227
vn -0.357188 0.866589 -0.348482
vn -0.682921 -0.447287 0.577540
vn -0.088841 0.956196 0.278921
vn 0.828946 -0.183452 0.528389
vn -0.357188 0.866589 -0.348481
vn -0.682921 -0.447288 0.577540
vn -0.088840 0.956196 0.278921
vn 0.828946 -0.183452 0.528388
usemtl (null).001
s off
f 1/1/1 2/2/1 3/3/1

View file

@ -1,27 +1,27 @@
# Blender3D v245 OBJ File: scene.blend
# www.blender3d.org
o Stone9_Cube.002
v 19.415966 -62.105289 61.177662
v 22.299763 -35.104778 117.143463
v -2.136742 -60.878563 94.650009
v 38.303276 -45.031761 75.673332
v -11.509139 -50.103630 82.649857
v -5.896856 -61.542812 88.929268
v -0.905690 -38.717495 91.016556
v 13.846101 -54.748146 59.831200
v 16.978178 -30.118813 114.209335
v 15.527015 -28.429287 105.916893
v -9.674709 -56.458828 90.272263
v 46.365089 -41.968903 88.545723
v 6.816032 -38.166626 101.222359
v 13.140458 -40.001358 79.670883
v 42.034039 -31.488758 77.773476
v 30.304207 -29.938250 85.727303
v 37.514622 -37.853439 101.118500
v 13.817926 -21.705530 102.799911
v 31.125603 -64.160706 73.163231
v 22.242451 -70.788467 70.104179
v -0.452196 -56.834980 81.661446
v -0.279312 -69.422318 67.498329
v 7.504216 -25.258287 110.608299
v -15.386992 -59.699432 103.046120
v 17.422585 -46.425816 71.518768
v -28.561481 -54.684601 90.830185
v -19.917692 -62.656864 98.799599
v -18.913637 -40.012344 92.759628
v -7.254869 -63.631817 65.313004
v 0.921811 -22.184883 107.605911
v -2.266466 -23.521133 99.746239
v -24.264887 -57.893677 99.379799
v 26.943527 -38.349667 80.694832
v -9.734409 -35.211491 100.294907
v -20.269323 -43.332729 70.648575
v 15.765545 -32.614567 72.467705
v 8.705443 -29.897947 78.131081
v 19.648922 -31.364277 93.123825
v -5.708175 -30.365858 86.484482
v 13.550558 -66.005470 76.556694
v 5.635925 -74.262688 77.728188
v -16.811502 -60.021683 89.416817
vt 0.200048 0.692122 0.0
vt 0.109636 0.550584 0.0
vt 0.021951 0.220318 0.0
@ -136,44 +136,44 @@ vt 0.395448 0.966272 0.0
vt 0.925948 0.537607 0.0
vt 0.591829 0.110880 0.0
vt 0.931274 0.786589 0.0
vn -0.755904 0.350421 0.553004
vn 0.673757 0.738238 0.032504
vn -0.773906 0.274493 0.570722
vn 0.584224 -0.481481 -0.653344
vn 0.427582 0.866577 0.257329
vn -0.831905 0.175597 0.526403
vn -0.597071 -0.390899 -0.700503
vn -0.268967 0.790185 -0.550694
vn -0.184588 -0.376935 0.907660
vn 0.845528 -0.255763 -0.468687
vn -0.623654 0.192674 0.757583
vn -0.373230 0.749422 -0.546869
vn -0.778472 0.574324 0.253246
vn 0.426813 0.869846 0.247382
vn 0.744566 0.427094 0.513043
vn 0.331522 -0.723700 0.605269
vn -0.264848 0.769381 -0.581299
vn 0.690803 -0.166891 -0.703519
vn 0.375916 -0.785479 0.491641
vn -0.167408 -0.960665 0.221579
vn -0.485282 -0.725461 -0.488065
vn -0.656434 -0.305592 -0.689716
vn 0.577143 0.804008 0.143097
vn 0.450299 0.723671 0.523002
vn 0.474485 0.202435 -0.856671
vn -0.389355 0.727913 -0.564399
vn -0.621944 -0.650539 -0.435873
vn -0.237511 0.765218 -0.598356
vn 0.458751 -0.697027 0.551091
vn -0.786492 0.367930 0.496042
vn 0.853337 -0.158028 -0.496833
vn -0.824259 0.168485 0.540565
vn 0.320723 -0.723911 0.610811
vn -0.370839 0.738985 -0.562476
vn -0.607599 -0.562598 -0.560630
vn -0.516103 -0.804648 -0.293563
vn -0.580474 -0.148387 0.800644
vn 0.549647 -0.021912 -0.835109
vn -0.696776 0.422991 0.579294
vn 0.521546 0.780676 -0.344290
vn -0.542740 0.829342 0.132761
vn 0.537027 -0.599014 -0.593957
vn 0.302036 0.945656 -0.120451
vn -0.742870 0.241619 0.624311
vn -0.630027 -0.667924 -0.396160
vn -0.196783 0.765555 -0.612538
vn 0.052233 -0.073641 0.995916
vn 0.781032 -0.295950 -0.549912
vn -0.842547 0.535520 -0.057736
vn -0.833198 0.552059 -0.031816
vn -0.813039 0.530624 0.239596
vn 0.300113 0.945467 -0.126589
vn -0.254978 0.884629 -0.390407
vn 0.559041 -0.435769 0.705392
vn -0.022573 0.240586 -0.970365
vn 0.573355 -0.308664 -0.758941
vn 0.598618 -0.529790 0.600815
vn 0.054022 -0.845516 0.531211
vn -0.422716 -0.897669 -0.124503
vn -0.701167 -0.591423 -0.398226
vn 0.435657 0.869444 -0.232960
vn 0.410459 0.908724 0.075789
vn 0.269149 -0.038942 -0.962311
vn -0.612620 0.786266 -0.080511
vn -0.559312 -0.826203 -0.067515
vn -0.282140 0.853016 -0.439045
vn 0.663737 -0.414583 0.622554
vn -0.739695 0.416928 0.528225
vn 0.629697 0.128193 -0.766191
vn -0.731653 0.240548 0.637824
vn 0.553334 -0.435561 0.710006
vn -0.774405 -0.359685 -0.520503
vn -0.583788 -0.783544 -0.212720
vn -0.403371 -0.910944 0.086450
vn -0.391508 0.058584 0.918308
vn 0.183888 0.089319 -0.978881
usemtl (null)
s off
f 13/1/1 7/2/1 11/3/1

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,223 @@
# Blender3D v245 OBJ File: plants.blend
# www.blender3d.org
o 2_Circle.013
v -0.058992 -0.430106 1.243526
v -0.430067 -0.188661 1.265998
v -0.698193 1.285175 1.511582
v -0.412213 -0.359753 0.944063
v 0.119191 0.510284 0.948950
v 0.160859 -0.382679 1.235173
v -0.719520 -0.046538 1.352935
v 0.334217 -0.380485 0.924306
v 1.268201 0.700508 1.435654
v 0.353403 0.368215 0.939606
v -0.392824 0.384901 0.959484
v 0.331385 0.251900 1.244852
v -0.541721 -0.120711 0.952872
v 0.477966 -0.146175 0.925864
v 0.677681 1.103111 1.412460
v 0.112401 1.121804 1.379159
v -0.047926 1.496554 1.487024
v 0.020918 0.019656 -0.019839
v -0.153923 0.515959 0.956226
v -0.534531 0.152766 0.957933
v -0.276091 -0.360628 1.254869
v 0.983148 0.155250 1.290764
v 0.326874 -0.234573 1.231772
v 0.092876 -0.510763 0.927625
v 0.136814 0.341189 1.217728
v -1.511715 -0.020726 1.492511
v -1.248569 -0.755048 1.482337
v 0.398280 -0.025435 1.233798
v -0.273156 0.368074 1.270101
v -1.127623 0.137803 1.394531
v -0.007643 0.003087 0.675830
v -0.180324 -0.502726 0.934854
v -0.422769 0.197554 1.272354
v -1.243516 0.769792 1.516486
v -0.700289 -1.270722 1.451756
v -0.052726 0.380284 1.225997
v 0.032010 -1.442038 1.423285
v 1.490105 -0.018672 1.396221
v 0.713913 -1.304409 1.389998
v 0.651503 -0.889284 1.313159
v 1.264631 -0.676500 1.400538
v 0.484955 0.127161 0.930782
v 0.025528 0.108685 0.802487
v -0.040023 -0.103878 0.801801
v 0.095787 -0.052654 0.802487
v -0.002454 -0.032018 -0.020249
v -0.116132 0.004285 0.802487
v -0.035161 0.005935 -0.020249
vn -0.449576 -0.811093 0.374179
vn -0.433792 0.701668 -0.565232
vn 0.401407 0.780523 0.479225
vn 0.774350 -0.000706 -0.632757
vn -0.253978 0.441575 -0.860527
vn -0.146117 0.165475 0.975330
vn -0.872874 0.422762 0.243646
vn -0.929089 -0.017928 0.369422
vn -0.013497 0.477119 -0.878735
vn 0.905393 0.151853 0.396490
vn -0.471036 0.812185 0.344210
vn -0.460646 0.839957 0.286841
vn -0.397510 -0.884569 0.243972
vn 0.000088 -0.983237 0.182334
vn 0.586801 0.738341 0.332443
vn -0.097087 0.964901 0.244010
vn 0.630162 0.451434 -0.631746
vn -0.437558 0.272834 -0.856799
vn 0.869195 -0.278019 0.408908
vn 0.176363 0.171740 0.969227
vn 0.641053 0.676622 0.362262
vn -0.802906 0.479420 0.354258
vn 0.590319 -0.698741 0.404085
vn -0.614195 -0.764631 0.195203
vn 0.743089 -0.572973 0.345718
vn 0.299469 -0.827427 0.475061
vn 0.370235 0.733781 -0.569641
vn -0.967468 -0.070145 0.243073
vn -0.026007 0.018651 -0.999488
vn -0.454856 -0.214581 -0.864327
vn 0.420849 0.005564 -0.907114
vn 0.516871 0.466007 0.718110
vn 0.929108 -0.142421 0.341283
vn -0.552655 0.796804 0.244286
vn 0.191518 -0.377868 -0.905835
vn 0.851607 -0.397170 0.342085
vn 0.664277 -0.589134 0.460062
vn -0.026152 0.022829 -0.999397
vn -0.945108 -0.070542 0.319054
vn -0.974300 0.156294 0.162209
vn 0.238046 0.449080 -0.861198
vn 0.777139 0.504363 0.376395
vn -0.920220 -0.353884 0.167217
vn 0.370685 -0.869671 0.325982
vn -0.307300 0.882338 0.356436
vn -0.168599 -0.965698 0.197487
vn 0.384466 -0.229927 -0.894047
vn 0.037385 0.187310 0.981589
vn -0.487582 -0.823300 0.290587
vn 0.533884 -0.773943 0.340558
vn 0.861491 -0.315466 0.397887
vn 0.596553 0.662115 0.453572
vn 0.118443 0.936800 0.329205
vn 0.120760 -0.226521 0.966491
vn -0.761759 0.621776 0.181982
vn 0.879265 0.336972 0.336665
vn -0.483681 0.028906 -0.874767
vn 0.328018 0.851929 0.408192
vn -0.037124 -0.467620 -0.883150
vn -0.824647 -0.433834 0.362967
vn -0.834410 -0.464729 0.296288
vn -0.280193 -0.398186 -0.873464
vn -0.046891 -0.934032 0.354098
vn 0.924098 0.056973 0.377884
vn 0.848866 0.274457 0.451775
vn 0.391426 0.246073 -0.886698
vn -0.814291 0.456975 0.357917
vn -0.797037 -0.552761 0.243286
vn 0.034113 -0.923005 0.383272
vn -0.025829 0.022483 -0.999413
vn -0.025788 0.022311 -0.999418
vn -0.385568 0.863678 0.324651
vn 0.915766 0.398798 -0.048309
vn -0.026136 0.019186 -0.999474
vn -0.026055 0.022366 -0.999410
vn 0.905088 -0.408432 -0.118320
vn 0.352437 -0.933541 -0.065499
vn -0.025829 0.022491 -0.999413
vn -0.814963 -0.572896 -0.087324
vn -0.755357 -0.650933 -0.075645
vn -0.026115 0.022676 -0.999402
vn -0.025902 0.022794 -0.999405
vn -0.592315 0.803710 -0.056681
vn -0.235676 0.966326 -0.103297
vn -0.026116 0.022619 -0.999403
usemtl (null)
s off
f 23//1 8//1 41//1
f 26//2 30//2 20//2
f 30//3 7//3 31//3
f 39//4 8//4 40//4
f 3//5 19//5 11//5
f 38//6 22//6 28//6
f 32//7 1//7 31//7
f 1//8 32//8 37//8
f 17//9 5//9 19//9
f 24//10 1//10 37//10
f 2//11 13//11 27//11
f 12//12 9//12 10//12
f 14//13 28//13 31//13
f 7//14 26//14 13//14
f 8//15 31//15 6//15
f 13//16 2//16 31//16
f 17//17 16//17 5//17
f 34//18 11//18 20//18
f 16//19 36//19 5//19
f 26//20 7//20 30//20
f 40//21 8//21 6//21
f 25//22 15//22 5//22
f 27//23 4//23 2//23
f 11//24 31//24 29//24
f 4//25 31//25 2//25
f 9//26 12//26 42//26
f 38//27 42//27 22//27
f 24//28 6//28 31//28
f 13//29 42//29 14//29
f 27//30 13//30 4//30
f 38//31 14//31 42//31
f 30//32 31//32 20//32
f 32//33 31//33 21//33
f 4//34 21//34 31//34
f 39//35 24//35 8//35
f 5//36 36//36 31//36
f 15//37 25//37 10//37
f 11//38 19//38 5//38
f 36//39 17//39 19//39
f 5//40 31//40 25//40
f 15//41 10//41 5//41
f 11//42 33//42 31//42
f 19//43 31//43 36//43
f 7//44 13//44 31//44
f 42//45 28//45 22//45
f 20//46 31//46 33//46
f 41//47 8//47 14//47
f 39//48 40//48 6//48
f 33//49 34//49 20//49
f 10//50 25//50 31//50
f 35//51 32//51 21//51
f 34//52 33//52 11//52
f 14//53 31//53 23//53
f 17//54 36//54 16//54
f 10//55 31//55 12//55
f 31//56 1//56 24//56
f 26//57 20//57 13//57
f 41//58 14//58 23//58
f 37//59 32//59 24//59
f 6//60 24//60 39//60
f 29//61 3//61 11//61
f 35//62 4//62 32//62
f 28//63 14//63 38//63
f 19//64 29//64 31//64
f 3//65 29//65 19//65
f 9//66 42//66 10//66
f 21//67 4//67 35//67
f 8//68 23//68 31//68
f 31//69 42//69 12//69
f 32//70 4//70 8//70
f 32//71 8//71 24//71
f 42//72 31//72 28//72
f 18//73 43//73 45//73
f 13//74 20//74 42//74
f 20//75 10//75 42//75
f 18//76 45//76 46//76
f 46//77 45//77 44//77
f 4//78 14//78 8//78
f 46//79 44//79 47//79
f 46//80 47//80 48//80
f 11//81 5//81 10//81
f 4//82 13//82 14//82
f 48//83 47//83 43//83
f 48//84 43//84 18//84
f 20//85 11//85 10//85

View file

@ -0,0 +1,649 @@
# Blender3D v245 OBJ File: plants.blend
# www.blender3d.org
o tendril.001_Mesh_(nul
v 0.271212 1.146648 1.797894
v 0.199697 1.146648 1.830279
v 0.199697 0.725100 1.830279
v 0.271212 0.725100 1.797894
v 0.326842 1.146647 1.793229
v 0.262907 1.146648 1.838788
v 0.262907 0.210561 1.838789
v 0.326842 0.210561 1.793230
v 0.356329 1.146648 1.651187
v 0.325813 1.146648 1.723519
v 0.325813 0.383626 1.723519
v 0.356329 0.383626 1.651187
v 0.413603 1.146647 1.602383
v 0.397639 1.146648 1.679249
v 0.397639 0.624550 1.679249
v 0.413603 0.624550 1.602384
v 0.339631 1.146648 1.550947
v 0.339895 1.146648 1.629452
v 0.339895 0.282076 1.629453
v 0.339631 0.282076 1.550947
v 0.335569 1.146648 1.449899
v 0.365956 1.146648 1.522286
v 0.365956 0.724345 1.522286
v 0.335569 0.724344 1.449899
v 0.339573 1.146647 1.394133
v 0.382912 1.146648 1.459593
v 0.382912 0.719914 1.459593
v 0.339573 0.719914 1.394133
v 0.252501 1.146647 1.328784
v 0.317083 1.146648 1.373420
v 0.317083 0.145739 1.373420
v 0.252501 0.145738 1.328783
v 0.199222 1.146647 1.309080
v 0.271323 1.146648 1.340138
v 0.271324 0.416557 1.340138
v 0.199222 0.416557 1.309080
v 0.090474 1.146647 1.327163
v 0.168975 1.146648 1.328075
v 0.168975 0.085679 1.328075
v 0.090474 0.085678 1.327163
v 0.031342 1.047010 1.303292
v 0.108544 1.047011 1.289045
v 0.108544 0.261415 1.289045
v 0.031342 0.261415 1.303292
v -0.012478 1.146647 1.351829
v 0.060668 1.146648 1.323319
v 0.060668 0.582525 1.323319
v -0.012478 0.582525 1.351829
v -0.086540 1.146647 1.408241
v -0.030035 1.146648 1.353740
v -0.030035 0.179740 1.353740
v -0.086540 0.179739 1.408241
v -0.122064 1.146647 1.582392
v -0.106552 1.146648 1.505433
v -0.106552 0.272472 1.505433
v -0.122064 0.272472 1.582392
v -0.157535 1.146647 1.629137
v -0.157167 1.146648 1.550632
v -0.157167 0.140307 1.550632
v -0.157535 0.140307 1.629137
v -0.074897 1.146647 1.671142
v -0.089862 1.146648 1.594076
v -0.089862 0.452747 1.594076
v -0.074897 0.452747 1.671142
v -0.087616 1.146648 1.724722
v -0.117547 1.146648 1.652145
v -0.117547 0.782839 1.652145
v -0.087616 0.782838 1.724722
v -0.029284 1.146648 1.814456
v -0.085334 1.146648 1.759487
v -0.085334 0.332665 1.759487
v -0.029284 0.332665 1.814457
v 0.030454 1.146648 1.815589
v -0.034892 1.146648 1.772079
v -0.034892 0.758792 1.772079
v 0.030454 0.758792 1.815589
v 0.120628 1.146648 1.848939
v 0.043478 1.146648 1.834411
v 0.043478 0.634094 1.834411
v 0.120628 0.634093 1.848940
v 0.176268 1.146648 1.870104
v 0.097780 1.146648 1.871821
v 0.097780 0.651206 1.871821
v 0.176268 0.651206 1.870104
v 0.176268 1.146648 1.870104
v 0.176268 0.651206 1.870104
v 0.097780 0.651206 1.871821
v 0.097780 1.146648 1.871821
v 0.120628 1.146648 1.848939
v 0.120628 0.634093 1.848940
v 0.043478 0.634094 1.834411
v 0.043478 1.146648 1.834411
v 0.090653 1.146648 1.803630
v 0.090653 0.548326 1.803630
v 0.018184 0.548326 1.773439
v 0.018184 1.146648 1.773439
v 0.030454 1.146648 1.815589
v 0.030454 0.758792 1.815589
v -0.034892 0.758792 1.772079
v -0.034892 1.146648 1.772079
v -0.029284 1.146648 1.814456
v -0.029284 0.332665 1.814457
v -0.085334 0.332665 1.759487
v -0.085334 1.146648 1.759487
v -0.006440 1.146647 1.739074
v -0.006440 0.621316 1.739074
v -0.049552 0.621316 1.673465
v -0.049552 1.146648 1.673465
v -0.087616 1.146648 1.724722
v -0.087616 0.782838 1.724722
v -0.117547 0.782839 1.652145
v -0.117547 1.146648 1.652145
v -0.157535 1.146647 1.629137
v -0.157535 0.140307 1.629137
v -0.157167 0.140307 1.550632
v -0.157167 1.146648 1.550632
v -0.122064 1.146647 1.582392
v -0.122064 0.272472 1.582392
v -0.106552 0.272472 1.505433
v -0.106552 1.146648 1.505433
v -0.086540 1.146647 1.408241
v -0.086540 0.179739 1.408241
v -0.030035 0.179740 1.353740
v -0.030035 1.146648 1.353740
v -0.012478 1.146647 1.351829
v -0.012478 0.582525 1.351829
v 0.060668 0.582525 1.323319
v 0.060668 1.146648 1.323319
v 0.031342 1.146647 1.303292
v 0.031342 0.261415 1.303292
v 0.108544 0.261415 1.289045
v 0.108544 1.146648 1.289045
v 0.090474 1.146647 1.327163
v 0.090474 0.085678 1.327163
v 0.168975 0.085679 1.328075
v 0.168975 1.146648 1.328075
v 0.199222 1.146647 1.309080
v 0.199222 0.416557 1.309080
v 0.271324 0.416557 1.340138
v 0.271323 1.146648 1.340138
v 0.252501 1.146647 1.328784
v 0.252501 0.145738 1.328783
v 0.317083 0.145739 1.373420
v 0.317083 1.146648 1.373420
v 0.339573 1.146647 1.394133
v 0.339573 0.719914 1.394133
v 0.382912 0.719914 1.459593
v 0.382912 1.146648 1.459593
v 0.335569 1.146648 1.449899
v 0.335569 0.724344 1.449899
v 0.365956 0.724345 1.522286
v 0.365956 1.146648 1.522286
v 0.339631 1.146648 1.550947
v 0.339631 0.282076 1.550947
v 0.339895 0.282076 1.629453
v 0.339895 1.146648 1.629452
v 0.413603 1.146647 1.602383
v 0.413603 0.624550 1.602384
v 0.397639 0.624550 1.679249
v 0.397639 1.146648 1.679249
v 0.356329 1.146648 1.651187
v 0.356329 0.383626 1.651187
v 0.325813 0.383626 1.723519
v 0.325813 1.146648 1.723519
v 0.326842 1.146647 1.793229
v 0.326842 0.210561 1.793230
v 0.262907 0.210561 1.838789
v 0.262907 1.146648 1.838788
v 0.271212 1.146648 1.797894
v 0.271212 0.725100 1.797894
v 0.199697 0.725100 1.830279
v 0.199697 1.146648 1.830279
v 0.011526 0.106958 0.359493
v -0.021176 0.023257 0.009259
v -0.035894 0.009863 0.005572
v -0.003193 0.093563 0.355805
v -0.022113 -0.003532 -0.000777
v 0.010588 0.080169 0.349456
v 0.025560 0.182276 0.663748
v 0.039935 0.196524 0.663756
v 0.039685 0.168027 0.661079
v 0.050496 0.311874 0.930811
v 0.064387 0.325656 0.925641
v 0.065104 0.298092 0.933320
v 0.074997 0.448302 1.193218
v 0.088450 0.459762 1.183352
v 0.090044 0.436841 1.200423
v 0.093363 0.656777 1.389915
v 0.106561 0.665536 1.377316
v 0.108665 0.648017 1.399853
v 0.104554 0.859106 1.509770
v 0.117607 0.865370 1.495628
v 0.120000 0.852842 1.521252
v 0.110276 1.030478 1.571054
v 0.123247 1.034438 1.556030
v 0.125804 1.026519 1.583417
v 0.112235 1.146082 1.592036
v 0.125206 1.150041 1.577012
v 0.127763 1.142122 1.604399
v -0.010714 -0.003532 -0.001842
v 0.021988 0.080169 0.348391
v 0.010588 0.080169 0.349456
v -0.022113 -0.003532 -0.000777
v 0.051085 0.168027 0.660014
v 0.039685 0.168027 0.661079
v 0.076504 0.298092 0.932255
v 0.065104 0.298092 0.933320
v 0.101444 0.436841 1.199358
v 0.090044 0.436841 1.200423
v 0.120065 0.648017 1.398789
v 0.108665 0.648017 1.399853
v 0.131400 0.852842 1.520187
v 0.120000 0.852842 1.521252
v 0.137204 1.026519 1.582353
v 0.125804 1.026519 1.583417
v 0.139163 1.142122 1.603334
v 0.127763 1.142122 1.604399
v -0.021176 0.023257 0.009259
v 0.011526 0.106958 0.359493
v 0.022925 0.106958 0.358428
v -0.009776 0.023257 0.008195
v 0.039935 0.196524 0.663756
v 0.051335 0.196524 0.662691
v 0.064387 0.325656 0.925641
v 0.075787 0.325656 0.924577
v 0.088450 0.459762 1.183352
v 0.099850 0.459762 1.182288
v 0.106561 0.665536 1.377316
v 0.117960 0.665536 1.376251
v 0.117607 0.865370 1.495628
v 0.129007 0.865370 1.494563
v 0.123247 1.034438 1.556030
v 0.134647 1.034438 1.554966
v 0.125206 1.150041 1.577012
v 0.136606 1.150041 1.575948
v 0.004005 0.009863 0.001846
v 0.036706 0.093563 0.352079
v 0.021988 0.080169 0.348391
v -0.010714 -0.003532 -0.001842
v -0.009776 0.023257 0.008195
v 0.022925 0.106958 0.358428
v 0.065459 0.182276 0.660022
v 0.051085 0.168027 0.660014
v 0.051335 0.196524 0.662691
v 0.090395 0.311874 0.927086
v 0.076504 0.298092 0.932255
v 0.075787 0.325656 0.924577
v 0.114896 0.448302 1.189493
v 0.101444 0.436841 1.199358
v 0.099850 0.459762 1.182288
v 0.133262 0.656777 1.386190
v 0.120065 0.648017 1.398789
v 0.117960 0.665536 1.376251
v 0.144453 0.859106 1.506045
v 0.131400 0.852842 1.520187
v 0.129007 0.865370 1.494563
v 0.150175 1.030478 1.567329
v 0.137204 1.026519 1.582353
v 0.134647 1.034438 1.554966
v 0.152134 1.146082 1.588310
v 0.139163 1.142122 1.603334
v 0.136606 1.150041 1.575948
v 0.123377 1.171351 1.562820
v 0.545733 1.171351 1.140464
v 0.718405 1.171351 1.510762
v 0.123377 1.137506 1.562820
v 0.718405 1.137506 1.510761
v 0.545732 1.137506 1.140464
v 0.612657 1.171351 1.905418
v 0.612658 1.137506 1.905417
v 0.277970 1.171351 2.139769
v 0.277971 1.137506 2.139768
v -0.129053 1.171351 2.104159
v -0.129053 1.137506 2.104159
v -0.417962 1.171351 1.815251
v -0.417961 1.137506 1.815251
v -0.453572 1.171351 1.408227
v -0.453572 1.137506 1.408228
v -0.219221 1.171351 1.073540
v -0.219222 1.137506 1.073540
v 0.175435 1.171351 0.967792
v 0.175434 1.137506 0.967792
vn 0.412516 0.000000 0.910950
vn 0.580320 0.000001 0.814389
vn 0.580319 0.000001 0.814389
vn 0.921360 0.000000 0.388710
vn 0.921360 0.000000 0.388711
vn 0.979107 0.000000 0.203347
vn 0.979106 0.000000 0.203349
vn 0.999994 -0.000000 -0.003363
vn -0.922053 0.000000 0.387064
vn -0.833816 0.000000 0.552043
vn -0.568567 0.000000 0.822637
vn -0.568576 -0.000001 0.822631
vn -0.395614 -0.000001 0.918417
vn -0.395609 0.000000 0.918419
vn -0.011618 0.000000 0.999933
vn 0.181478 0.000000 0.983395
vn 0.363159 0.000000 0.931727
vn 0.694229 0.000000 0.719755
vn 0.980285 0.000000 0.197588
vn -0.999989 0.000000 -0.004688
vn -0.981663 0.000000 0.190624
vn -0.924470 0.000000 0.381255
vn -0.700188 0.000000 0.713958
vn -0.700195 0.000001 0.713952
vn -0.554224 0.000000 0.832368
vn -0.185055 0.000000 0.982728
vn -0.185068 0.000002 0.982726
vn 0.021872 0.000000 0.999761
vn -0.384567 0.000000 0.923097
vn -0.835720 0.000000 0.549156
vn -0.652000 0.748963 -0.118113
vn -0.651999 0.748964 -0.118114
vn -0.618854 -0.748971 0.236776
vn -0.618886 -0.748946 0.236771
vn -0.697231 0.703522 -0.137571
vn -0.641975 0.749686 -0.160744
vn -0.660927 -0.703909 0.260170
vn -0.603185 -0.749684 0.272291
vn -0.727282 0.641696 -0.243489
vn -0.677012 0.683200 -0.273665
vn -0.670392 -0.643231 0.369902
vn -0.616560 -0.684167 0.389576
vn -0.729656 0.632222 -0.260571
vn -0.727097 0.634464 -0.262268
vn -0.668826 -0.632338 0.390923
vn -0.666025 -0.634561 0.392101
vn -0.750093 0.487606 -0.446766
vn -0.746960 0.489675 -0.449744
vn -0.654451 -0.487836 0.577676
vn -0.650858 -0.489888 0.579994
vn -0.759399 0.362182 -0.540498
vn -0.758093 0.362761 -0.541940
vn -0.646222 -0.362325 0.671653
vn -0.644705 -0.362894 0.672803
vn -0.765250 0.239264 -0.597617
vn -0.764016 0.239521 -0.599090
vn -0.641383 -0.239462 0.728893
vn -0.639933 -0.239716 0.730083
vn -0.767114 0.127124 -0.628788
vn -0.767116 0.127124 -0.628786
vn -0.637454 -0.127125 0.759929
vn -0.637452 -0.127124 0.759930
vn 0.021532 -0.972838 0.230485
vn 0.021534 -0.972838 0.230485
vn 0.025140 -0.962785 0.269097
vn 0.039955 -0.903037 0.427701
vn 0.039957 -0.903037 0.427701
vn 0.042732 -0.888229 0.457409
vn 0.042730 -0.888229 0.457409
vn 0.067421 -0.688174 0.722407
vn 0.067489 -0.688172 0.722402
vn 0.079928 -0.511504 0.855556
vn 0.079848 -0.511507 0.855561
vn 0.087455 -0.338300 0.936966
vn 0.087533 -0.338296 0.936960
vn 0.091510 -0.179326 0.979524
vn 0.091428 -0.179334 0.979531
vn 0.021534 -0.972838 0.230484
vn 0.021512 -0.972838 0.230487
vn 0.026162 -0.959631 0.280044
vn 0.026164 -0.959631 0.280044
vn 0.040954 -0.897653 0.438797
vn 0.040993 -0.897653 0.438792
vn 0.042749 -0.887899 0.458048
vn 0.042751 -0.887899 0.458048
vn 0.067554 -0.687492 0.723043
vn 0.067481 -0.687489 0.723052
vn 0.079951 -0.511095 0.855797
vn 0.079958 -0.511096 0.855797
vn 0.087474 -0.337735 0.937168
vn 0.087552 -0.337740 0.937159
vn 0.091418 -0.179334 0.979532
vn 0.091428 -0.179335 0.979530
vn 0.651995 -0.748967 0.118115
vn 0.651999 -0.748964 0.118114
vn 0.618885 0.748946 -0.236773
vn 0.618855 0.748971 -0.236774
vn 0.697281 -0.703476 0.137553
vn 0.644330 -0.749653 0.151192
vn 0.658509 0.703065 -0.268449
vn 0.603217 0.749659 -0.272287
vn 0.727275 -0.641703 0.243493
vn 0.678979 -0.685084 0.263908
vn 0.668836 0.640095 -0.378070
vn 0.616558 0.684169 -0.389575
vn 0.729693 -0.632188 0.260549
vn 0.727097 -0.634662 0.261790
vn 0.668828 0.632066 -0.391360
vn 0.666025 0.634561 -0.392101
vn 0.750135 -0.487576 0.446730
vn 0.746997 -0.490102 0.449217
vn 0.654448 0.487329 -0.578108
vn 0.650862 0.489886 -0.579992
vn 0.759400 -0.362181 0.540497
vn 0.758133 -0.363022 0.541710
vn 0.646220 0.362026 -0.671816
vn 0.644718 0.362887 -0.672794
vn 0.765242 -0.239267 0.597625
vn 0.764024 -0.239911 0.598924
vn 0.641394 0.239059 -0.729016
vn 0.639932 0.239717 -0.730084
vn 0.767116 -0.127118 0.628788
vn 0.767112 -0.127120 0.628792
vn 0.637421 0.127131 -0.759956
vn 0.637457 0.127117 -0.759928
vn -0.000000 1.000000 -0.000000
vn 0.000000 -1.000000 0.000000
vn 0.906307 -0.000026 -0.422620
vn 0.906309 0.000012 -0.422617
vn 0.965926 -0.000007 0.258817
vn 0.965926 0.000021 0.258820
vn 0.573577 -0.000009 0.819151
vn 0.573578 -0.000012 0.819151
vn -0.087153 -0.000038 0.996195
vn -0.087156 0.000000 0.996195
vn -0.707107 0.000000 0.707107
vn -0.707106 -0.000021 0.707108
vn -0.996194 -0.000030 0.087158
vn -0.996195 0.000003 0.087156
vn -0.819153 -0.000018 -0.573575
vn -0.819151 0.000024 -0.573577
vn -0.258820 0.000008 -0.965926
vn 0.422617 -0.000013 -0.906309
vn 0.422617 -0.000012 -0.906308
usemtl (null)
s off
f 1//1 2//1 3//1
f 1//1 3//1 4//1
f 5//2 6//2 7//2
f 5//3 7//3 8//3
f 9//4 10//4 11//4
f 9//5 11//5 12//5
f 13//6 14//6 15//6
f 13//7 15//7 16//7
f 17//8 18//8 19//8
f 17//8 19//8 20//8
f 21//9 23//9 22//9
f 21//9 24//9 23//9
f 25//10 27//10 26//10
f 25//10 28//10 27//10
f 29//11 31//11 30//11
f 29//12 32//12 31//12
f 33//13 35//13 34//13
f 33//14 36//14 35//14
f 37//15 39//15 38//15
f 37//15 40//15 39//15
f 41//16 43//16 42//16
f 41//16 44//16 43//16
f 45//17 47//17 46//17
f 45//17 48//17 47//17
f 49//18 51//18 50//18
f 49//18 52//18 51//18
f 53//19 55//19 54//19
f 53//19 56//19 55//19
f 57//20 58//20 59//20
f 57//20 59//20 60//20
f 61//21 62//21 63//21
f 61//21 63//21 64//21
f 65//22 66//22 67//22
f 65//22 67//22 68//22
f 69//23 70//23 71//23
f 69//24 71//24 72//24
f 73//25 74//25 75//25
f 73//25 75//25 76//25
f 77//26 78//26 79//26
f 77//27 79//27 80//27
f 81//28 82//28 83//28
f 81//28 83//28 84//28
f 85//28 87//28 86//28
f 85//28 88//28 87//28
f 89//27 91//27 90//27
f 89//26 92//26 91//26
f 93//29 95//29 94//29
f 93//29 96//29 95//29
f 97//25 99//25 98//25
f 97//25 100//25 99//25
f 101//24 103//24 102//24
f 101//23 104//23 103//23
f 105//30 107//30 106//30
f 105//30 108//30 107//30
f 109//22 111//22 110//22
f 109//22 112//22 111//22
f 113//20 115//20 114//20
f 113//20 116//20 115//20
f 117//19 118//19 119//19
f 117//19 119//19 120//19
f 121//18 122//18 123//18
f 121//18 123//18 124//18
f 125//17 126//17 127//17
f 125//17 127//17 128//17
f 129//16 130//16 131//16
f 129//16 131//16 132//16
f 133//15 134//15 135//15
f 133//15 135//15 136//15
f 137//14 138//14 139//14
f 137//13 139//13 140//13
f 141//12 142//12 143//12
f 141//11 143//11 144//11
f 145//10 146//10 147//10
f 145//10 147//10 148//10
f 149//9 150//9 151//9
f 149//9 151//9 152//9
f 153//8 155//8 154//8
f 153//8 156//8 155//8
f 157//7 159//7 158//7
f 157//6 160//6 159//6
f 161//5 163//5 162//5
f 161//4 164//4 163//4
f 165//3 167//3 166//3
f 165//2 168//2 167//2
f 169//1 171//1 170//1
f 169//1 172//1 171//1
f 173//31 174//31 175//31
f 173//32 175//32 176//32
f 177//33 178//33 176//33
f 177//34 176//34 175//34
f 176//35 179//35 180//35
f 176//36 180//36 173//36
f 178//37 181//37 179//37
f 178//38 179//38 176//38
f 179//39 182//39 183//39
f 179//40 183//40 180//40
f 181//41 184//41 182//41
f 181//42 182//42 179//42
f 182//43 185//43 186//43
f 182//44 186//44 183//44
f 184//45 187//45 185//45
f 184//46 185//46 182//46
f 185//47 188//47 189//47
f 185//48 189//48 186//48
f 187//49 190//49 188//49
f 187//50 188//50 185//50
f 188//51 191//51 192//51
f 188//52 192//52 189//52
f 190//53 193//53 191//53
f 190//54 191//54 188//54
f 191//55 194//55 195//55
f 191//56 195//56 192//56
f 193//57 196//57 194//57
f 193//58 194//58 191//58
f 194//59 197//59 198//59
f 194//60 198//60 195//60
f 196//61 199//61 197//61
f 196//62 197//62 194//62
f 200//63 201//63 202//63
f 200//64 202//64 203//64
f 201//65 204//65 205//65
f 201//65 205//65 202//65
f 204//66 206//66 207//66
f 204//67 207//67 205//67
f 206//68 208//68 209//68
f 206//69 209//69 207//69
f 208//70 210//70 211//70
f 208//71 211//71 209//71
f 210//72 212//72 213//72
f 210//73 213//73 211//73
f 212//74 214//74 215//74
f 212//75 215//75 213//75
f 214//76 216//76 217//76
f 214//77 217//77 215//77
f 218//78 220//78 219//78
f 218//79 221//79 220//79
f 219//80 223//80 222//80
f 219//81 220//81 223//81
f 222//82 225//82 224//82
f 222//83 223//83 225//83
f 224//84 227//84 226//84
f 224//85 225//85 227//85
f 226//86 229//86 228//86
f 226//87 227//87 229//87
f 228//88 231//88 230//88
f 228//89 229//89 231//89
f 230//90 233//90 232//90
f 230//91 231//91 233//91
f 232//92 235//92 234//92
f 232//93 233//93 235//93
f 236//94 237//94 238//94
f 236//95 238//95 239//95
f 240//96 241//96 237//96
f 240//97 237//97 236//97
f 237//98 242//98 243//98
f 237//99 243//99 238//99
f 241//100 244//100 242//100
f 241//101 242//101 237//101
f 242//102 245//102 246//102
f 242//103 246//103 243//103
f 244//104 247//104 245//104
f 244//105 245//105 242//105
f 245//106 248//106 249//106
f 245//107 249//107 246//107
f 247//108 250//108 248//108
f 247//109 248//109 245//109
f 248//110 251//110 252//110
f 248//111 252//111 249//111
f 250//112 253//112 251//112
f 250//113 251//113 248//113
f 251//114 254//114 255//114
f 251//115 255//115 252//115
f 253//116 256//116 254//116
f 253//117 254//117 251//117
f 254//118 257//118 258//118
f 254//119 258//119 255//119
f 256//120 259//120 257//120
f 256//121 257//121 254//121
f 257//122 260//122 261//122
f 257//123 261//123 258//123
f 259//124 262//124 260//124
f 259//125 260//125 257//125
f 263//126 265//126 264//126
f 266//127 268//127 267//127
f 263//126 269//126 265//126
f 266//127 267//127 270//127
f 263//126 271//126 269//126
f 266//127 270//127 272//127
f 263//126 273//126 271//126
f 266//127 272//127 274//127
f 263//126 275//126 273//126
f 266//127 274//127 276//127
f 263//126 277//126 275//126
f 266//127 276//127 278//127
f 263//126 279//126 277//126
f 266//127 278//127 280//127
f 263//126 281//126 279//126
f 266//127 280//127 282//127
f 263//126 264//126 281//126
f 266//127 282//127 268//127
f 264//128 267//128 268//128
f 264//129 265//129 267//129
f 265//130 270//130 267//130
f 265//131 269//131 270//131
f 269//132 272//132 270//132
f 269//133 271//133 272//133
f 271//134 274//134 272//134
f 271//135 273//135 274//135
f 273//136 276//136 274//136
f 273//137 275//137 276//137
f 275//138 278//138 276//138
f 275//139 277//139 278//139
f 277//140 280//140 278//140
f 277//141 279//141 280//141
f 279//142 282//142 280//142
f 279//142 281//142 282//142
f 281//143 268//143 282//143
f 281//144 264//144 268//144

View file

@ -0,0 +1,441 @@
# Blender3D v245 OBJ File: plants.blend
# www.blender3d.org
o vine-segment1.001_Cylinder.001
v 0.051536 -0.036984 0.311549
v 0.006323 0.051132 0.312277
v -0.038890 -0.036984 0.313005
v 0.006323 -0.125100 0.312277
v 0.038379 -0.026058 -0.313607
v -0.006956 -0.113958 -0.316933
v -0.052051 -0.025981 -0.312364
v -0.006716 0.061919 -0.309039
v 0.086129 -0.053740 -0.631512
v -0.036630 -0.442356 -0.654456
v -0.124432 -0.053379 -0.629114
v -0.001673 0.335238 -0.606170
v 0.107091 -0.084497 0.644147
v 0.024414 0.287538 0.634874
v -0.090987 -0.084497 0.647335
v -0.008310 -0.456531 0.656608
v 0.160647 -0.092973 1.271820
v 0.040938 0.561512 1.252540
v -0.144219 -0.092973 1.276727
v -0.024510 -0.747458 1.296007
v 0.011710 -0.064015 1.803307
v 0.140629 -0.041652 -1.218375
v -0.058960 -0.729620 -1.256748
v -0.189127 -0.041086 -1.214620
v 0.010463 0.646882 -1.176248
v -0.022606 -0.000753 -1.720029
v 0.042559 -0.026693 -0.137681
v -0.002684 -0.114755 -0.137967
v -0.047868 -0.026674 -0.136279
v -0.002624 0.061388 -0.135993
v 0.047739 -0.029425 0.136075
v 0.002526 0.058691 0.136803
v -0.042687 -0.029425 0.137531
v 0.002526 -0.117540 0.136803
v 0.040233 0.029103 0.311731
v 0.067956 -0.053901 0.511681
v 0.040233 -0.103071 0.311731
v -0.027587 0.029103 0.312823
v 0.013377 0.105194 0.509909
v -0.027587 -0.103071 0.312823
v -0.049383 -0.053901 0.513570
v 0.005196 -0.212997 0.515342
v 0.026985 -0.092002 -0.316412
v 0.047529 -0.032555 -0.510367
v 0.027165 0.039905 -0.310491
v -0.040837 -0.091944 -0.315480
v -0.017223 -0.195526 -0.520624
v -0.040657 0.039963 -0.309559
v -0.072935 -0.032368 -0.508942
v -0.008183 0.130603 -0.498685
v 0.046701 -0.345293 -0.649320
v 0.126417 -0.064982 -0.819897
v 0.072918 0.237903 -0.613105
v -0.111221 -0.345022 -0.647521
v -0.054201 -0.678903 -0.854480
v -0.085004 0.238174 -0.611307
v -0.174008 -0.064467 -0.816475
v 0.006610 0.549455 -0.781892
v 0.094603 0.194529 0.636395
v 0.145727 -0.105333 0.850381
v 0.070060 -0.363523 0.652695
v -0.053956 0.194529 0.638786
v 0.035059 0.479274 0.833606
v -0.078499 -0.363523 0.655086
v -0.132875 -0.105333 0.854865
v -0.022207 -0.689939 0.871640
v 0.147082 0.397891 1.256133
v 0.124944 -0.071255 1.669212
v 0.097996 -0.583837 1.288733
v -0.081568 0.397891 1.259813
v 0.035379 0.418874 1.654749
v -0.130653 -0.583837 1.292414
v -0.103273 -0.071255 1.672886
v -0.013707 -0.561384 1.687349
v 0.073376 -0.557769 -1.248093
v 0.100408 -0.011119 -1.595552
v 0.125443 0.474607 -1.187719
v -0.173941 -0.557345 -1.245277
v -0.049048 -0.526304 -1.624262
v -0.121874 0.475032 -1.184902
v -0.146442 -0.010695 -1.592740
v 0.003014 0.504490 -1.564030
v 0.031278 0.039363 -0.136766
v 0.031233 -0.092744 -0.138246
v -0.036587 -0.092730 -0.137194
v -0.036542 0.039377 -0.135714
v 0.036436 -0.095511 0.136257
v 0.036436 0.036662 0.136257
v -0.031384 0.036662 0.137349
v -0.031384 -0.095511 0.137349
v 0.050221 -0.173223 0.513955
v 0.056357 0.065420 0.509880
v -0.031648 0.065420 0.511296
v -0.037784 -0.173223 0.515371
v 0.035861 0.089766 -0.501962
v 0.029081 -0.154830 -0.518416
v -0.061267 -0.154690 -0.517348
v -0.054487 0.089907 -0.500893
v 0.111668 0.395717 -0.792248
v 0.066060 -0.525552 -0.846690
v -0.159259 -0.525165 -0.844124
v -0.113651 0.396103 -0.789682
v 0.089427 -0.543788 0.865204
v 0.132377 0.333122 0.836679
v -0.076574 0.333122 0.840042
v -0.119525 -0.543788 0.868568
v 0.076565 -0.440162 1.578894
v 0.112925 0.286391 1.554746
v -0.056253 0.286391 1.557469
v -0.092613 -0.440162 1.581617
v 0.087442 0.363049 -1.474950
v 0.048876 -0.400972 -1.519609
v -0.134114 -0.400658 -1.517525
v -0.095548 0.363363 -1.472866
vn 0.000153 0.059236 -0.998230
vn -0.886746 0.069094 -0.457045
vn -0.884854 0.278115 -0.373669
vn 0.028413 0.695669 -0.717765
vn -0.027436 -0.591601 -0.805719
vn -0.899167 -0.145756 -0.412549
vn 0.885250 -0.014496 -0.464827
vn 0.880856 -0.232765 -0.412183
vn 0.901089 0.195776 -0.386883
vn 0.036714 0.997681 -0.057070
vn -0.910733 0.409619 -0.052461
vn 0.030854 0.842891 0.537126
vn -0.872036 0.391888 0.293100
vn 0.940214 0.335490 -0.058321
vn 0.901730 0.320994 0.289468
vn -0.996918 0.052339 -0.058351
vn -0.939268 -0.326823 -0.104312
vn -0.884823 -0.351787 0.305429
vn -0.986877 0.032991 0.157903
vn -0.039674 -0.980651 -0.191626
vn 0.908902 -0.402783 -0.107730
vn -0.029176 -0.876125 0.481155
vn 0.863765 -0.425062 0.270547
vn 0.996948 -0.045625 -0.062899
vn 0.989776 -0.054292 0.131779
vn 0.006256 0.033753 0.999390
vn -0.898618 0.056581 0.435041
vn -0.910611 -0.157994 0.381817
vn -0.024140 -0.641194 0.766961
vn 0.035279 0.704917 0.708365
vn -0.896146 0.268715 0.353099
vn 0.905698 -0.028077 0.422926
vn 0.919248 0.181555 0.349284
vn 0.899350 -0.242439 0.363811
vn -0.037263 -0.986969 0.156529
vn -0.941801 -0.323222 0.092227
vn -0.034883 -0.883145 -0.467757
vn -0.900571 -0.342265 -0.267922
vn 0.913785 -0.397534 0.083285
vn 0.871487 -0.417982 -0.256447
vn -0.997070 0.050325 0.057314
vn -0.914304 0.400372 0.060884
vn -0.886410 0.400494 -0.232032
vn -0.991974 0.038453 -0.120334
vn 0.037904 0.996429 0.075106
vn 0.944029 0.325297 0.054445
vn 0.028596 0.884243 -0.466140
vn 0.909146 0.331614 -0.251930
vn 0.997620 -0.047212 0.050172
vn 0.991546 -0.048585 -0.120182
vn -0.015168 -0.602222 -0.798151
vn -0.786676 -0.303873 -0.537370
vn -0.018891 -0.744499 -0.667318
vn -0.786248 -0.447554 -0.425977
vn 0.767876 -0.375042 -0.519272
vn 0.763665 -0.488693 -0.421857
vn -0.965209 0.021638 -0.260567
vn -0.804682 0.380718 -0.455519
vn -0.801538 0.506607 -0.317515
vn -0.987518 0.006561 -0.157231
vn 0.010346 0.652364 -0.757805
vn 0.814234 0.316507 -0.486587
vn 0.002899 0.808679 -0.588214
vn 0.802087 0.473159 -0.364330
vn 0.966216 -0.030732 -0.255867
vn 0.985046 -0.014924 -0.171484
vn 0.021973 0.560350 0.827937
vn -0.766533 0.333018 0.549058
vn 0.023835 0.750237 0.660695
vn -0.776208 0.473525 0.416211
vn 0.799432 0.273629 0.534745
vn 0.804071 0.442976 0.396466
vn -0.938780 0.005737 0.344432
vn -0.742332 -0.301553 0.598285
vn -0.755089 -0.453169 0.473769
vn -0.972411 -0.002655 0.233161
vn 0.004120 -0.575579 0.817713
vn 0.751701 -0.374432 0.542833
vn 0.005951 -0.748833 0.662709
vn 0.765709 -0.495926 0.409497
vn 0.959441 -0.046144 0.278024
vn 0.986450 -0.025605 0.161962
vn 0.015229 0.981536 0.190588
vn -0.818323 0.563524 0.112857
vn -0.834254 0.550920 0.021577
vn 0.000214 0.999969 0.003052
vn 0.833583 0.546312 0.081423
vn 0.835047 0.549852 -0.018036
vn -0.997864 -0.003906 0.064791
vn -0.820673 -0.554857 0.136265
vn -0.835109 -0.549760 0.017457
vn -0.999695 0.000519 0.023743
vn -0.008454 -0.978790 0.204657
vn 0.813440 -0.575701 0.082583
vn -0.000153 -0.999969 -0.004425
vn 0.834895 -0.549913 -0.022187
vn 0.999908 -0.004425 0.011414
vn 0.999695 -0.000061 -0.023743
vn -0.016114 -0.970519 -0.240425
vn -0.827082 -0.549364 -0.118656
vn -0.000763 -0.999054 -0.043001
vn -0.835414 -0.549547 -0.005585
vn 0.810694 -0.568743 -0.138676
vn 0.834498 -0.549394 -0.041719
vn -0.999847 -0.002777 -0.015473
vn -0.823603 0.565783 -0.039186
vn -0.999756 0.000000 0.021607
vn -0.834498 0.549394 0.041719
vn 0.009339 0.991791 -0.127293
vn 0.832392 0.548051 -0.082064
vn 0.835414 0.549547 0.005585
vn 0.000763 0.999054 0.043001
vn 0.998627 -0.002869 -0.051912
vn 0.999756 0.000000 -0.021607
usemtl (null)
s 1
f 26//1 81//2 114//3
f 26//1 114//3 82//4
f 26//1 79//5 113//6
f 26//1 113//6 81//2
f 26//1 76//7 112//8
f 26//1 112//8 79//5
f 26//1 82//4 111//9
f 26//1 111//9 76//7
f 25//10 80//11 58//12
f 80//11 102//13 58//12
f 25//10 82//4 80//11
f 82//4 114//3 80//11
f 25//10 77//14 82//4
f 77//14 111//9 82//4
f 25//10 58//12 77//14
f 58//12 99//15 77//14
f 24//16 78//17 101//18
f 24//16 101//18 57//19
f 24//16 81//2 113//6
f 24//16 113//6 78//17
f 24//16 80//11 114//3
f 24//16 114//3 81//2
f 24//16 57//19 102//13
f 24//16 102//13 80//11
f 23//20 75//21 55//22
f 75//21 100//23 55//22
f 23//20 79//5 75//21
f 79//5 112//8 75//21
f 23//20 78//17 79//5
f 78//17 113//6 79//5
f 23//20 55//22 78//17
f 55//22 101//18 78//17
f 22//24 77//14 99//15
f 22//24 99//15 52//25
f 22//24 76//7 111//9
f 22//24 111//9 77//14
f 22//24 75//21 112//8
f 22//24 112//8 76//7
f 22//24 52//25 100//23
f 22//24 100//23 75//21
f 21//26 73//27 110//28
f 21//26 110//28 74//29
f 21//26 71//30 109//31
f 21//26 109//31 73//27
f 21//26 68//32 108//33
f 21//26 108//33 71//30
f 21//26 74//29 107//34
f 21//26 107//34 68//32
f 20//35 72//36 66//37
f 72//36 106//38 66//37
f 20//35 74//29 72//36
f 74//29 110//28 72//36
f 20//35 69//39 74//29
f 69//39 107//34 74//29
f 20//35 66//37 69//39
f 66//37 103//40 69//39
f 19//41 70//42 105//43
f 19//41 105//43 65//44
f 19//41 73//27 109//31
f 19//41 109//31 70//42
f 19//41 72//36 110//28
f 19//41 110//28 73//27
f 19//41 65//44 106//38
f 19//41 106//38 72//36
f 18//45 67//46 63//47
f 67//46 104//48 63//47
f 18//45 71//30 67//46
f 71//30 108//33 67//46
f 18//45 70//42 71//30
f 70//42 109//31 71//30
f 18//45 63//47 70//42
f 63//47 105//43 70//42
f 17//49 69//39 103//40
f 17//49 103//40 60//50
f 17//49 68//32 107//34
f 17//49 107//34 69//39
f 17//49 67//46 108//33
f 17//49 108//33 68//32
f 17//49 60//50 104//48
f 17//49 104//48 67//46
f 16//51 64//52 42//53
f 64//52 94//54 42//53
f 16//51 66//37 106//38
f 16//51 106//38 64//52
f 16//51 61//55 103//40
f 16//51 103//40 66//37
f 16//51 42//53 61//55
f 42//53 91//56 61//55
f 15//57 62//58 93//59
f 15//57 93//59 41//60
f 15//57 65//44 62//58
f 65//44 105//43 62//58
f 15//57 64//52 65//44
f 64//52 106//38 65//44
f 15//57 41//60 94//54
f 15//57 94//54 64//52
f 14//61 59//62 39//63
f 59//62 92//64 39//63
f 14//61 63//47 104//48
f 14//61 104//48 59//62
f 14//61 62//58 105//43
f 14//61 105//43 63//47
f 14//61 39//63 62//58
f 39//63 93//59 62//58
f 13//65 61//55 91//56
f 13//65 91//56 36//66
f 13//65 60//50 61//55
f 60//50 103//40 61//55
f 13//65 59//62 60//50
f 59//62 104//48 60//50
f 13//65 36//66 92//64
f 13//65 92//64 59//62
f 12//67 56//68 50//69
f 56//68 98//70 50//69
f 12//67 58//12 102//13
f 12//67 102//13 56//68
f 12//67 53//71 99//15
f 12//67 99//15 58//12
f 12//67 50//69 53//71
f 50//69 95//72 53//71
f 11//73 54//74 97//75
f 11//73 97//75 49//76
f 11//73 57//19 54//74
f 57//19 101//18 54//74
f 11//73 56//68 57//19
f 56//68 102//13 57//19
f 11//73 49//76 98//70
f 11//73 98//70 56//68
f 10//77 51//78 47//79
f 51//78 96//80 47//79
f 10//77 55//22 100//23
f 10//77 100//23 51//78
f 10//77 54//74 101//18
f 10//77 101//18 55//22
f 10//77 47//79 54//74
f 47//79 97//75 54//74
f 9//81 53//71 95//72
f 9//81 95//72 44//82
f 9//81 52//25 53//71
f 52//25 99//15 53//71
f 9//81 51//78 52//25
f 51//78 100//23 52//25
f 9//81 44//82 96//80
f 9//81 96//80 51//78
f 8//83 48//84 86//85
f 8//83 86//85 30//86
f 8//83 50//69 98//70
f 8//83 98//70 48//84
f 8//83 45//87 95//72
f 8//83 95//72 50//69
f 8//83 30//86 83//88
f 8//83 83//88 45//87
f 7//89 46//90 85//91
f 7//89 85//91 29//92
f 7//89 49//76 46//90
f 49//76 97//75 46//90
f 7//89 48//84 49//76
f 48//84 98//70 49//76
f 7//89 29//92 48//84
f 29//92 86//85 48//84
f 6//93 43//94 28//95
f 43//94 84//96 28//95
f 6//93 47//79 96//80
f 6//93 96//80 43//94
f 6//93 46//90 97//75
f 6//93 97//75 47//79
f 6//93 28//95 46//90
f 28//95 85//91 46//90
f 5//97 45//87 27//98
f 45//87 83//88 27//98
f 5//97 44//82 45//87
f 44//82 95//72 45//87
f 5//97 43//94 44//82
f 43//94 96//80 44//82
f 5//97 27//98 84//96
f 5//97 84//96 43//94
f 4//99 40//100 34//101
f 40//100 90//102 34//101
f 4//99 42//53 94//54
f 4//99 94//54 40//100
f 4//99 37//103 91//56
f 4//99 91//56 42//53
f 4//99 34//101 37//103
f 34//101 87//104 37//103
f 3//105 38//106 33//107
f 38//106 89//108 33//107
f 3//105 41//60 38//106
f 41//60 93//59 38//106
f 3//105 40//100 41//60
f 40//100 94//54 41//60
f 3//105 33//107 90//102
f 3//105 90//102 40//100
f 2//109 35//110 88//111
f 2//109 88//111 32//112
f 2//109 39//63 92//64
f 2//109 92//64 35//110
f 2//109 38//106 93//59
f 2//109 93//59 39//63
f 2//109 32//112 89//108
f 2//109 89//108 38//106
f 1//113 37//103 87//104
f 1//113 87//104 31//114
f 1//113 36//66 37//103
f 36//66 91//56 37//103
f 1//113 35//110 36//66
f 35//110 92//64 36//66
f 1//113 31//114 35//110
f 31//114 88//111 35//110

View file

@ -0,0 +1,639 @@
# Blender3D v245 OBJ File: plants.blend
# www.blender3d.org
o Cube.005_Cube.007
v 0.078342 0.183127 0.287466
v -0.019973 0.162500 0.280362
v -0.025221 0.215222 0.194752
v 0.073094 0.235849 0.201856
v 0.133841 0.608033 1.016289
v 0.135659 0.528858 1.063821
v 0.044158 0.594708 0.997455
v 0.045976 0.515532 1.044988
v -0.060478 1.177865 1.296282
v -0.062650 1.176233 1.230553
v 0.004038 1.190563 1.293834
v 0.001866 1.188932 1.228105
v -0.014152 1.232746 1.237384
v -0.013268 1.237066 1.284126
v -0.060188 1.223566 1.239103
v -0.059304 1.227886 1.285846
v 0.062497 0.006433 0.093541
v 0.029642 0.168256 0.291164
v -0.065560 -0.004193 0.097856
v -0.030958 0.187053 0.236917
v -0.071500 -0.016342 -0.030290
v 0.023479 0.230094 0.191054
v 0.055908 -0.005633 -0.035979
v 0.084079 0.211296 0.245301
v 0.108563 0.472120 0.548210
v 0.142545 0.569602 1.041686
v 0.112025 0.402490 0.612326
v 0.016060 0.453934 0.533274
v 0.088852 0.608232 1.002703
v 0.019522 0.384305 0.597390
v 0.037273 0.553964 1.019590
v 0.090965 0.515333 1.058574
v 0.054367 0.802953 1.289885
v -0.028033 1.184348 1.300701
v -0.024964 0.810733 1.293777
v -0.067102 1.175957 1.263627
v -0.026059 0.837235 1.218523
v -0.030579 1.182451 1.223686
v 0.053272 0.829455 1.214631
v 0.008489 1.190842 1.260760
v -0.007740 1.223213 1.232596
v -0.012582 1.235734 1.260702
v -0.006264 1.226359 1.288844
v -0.063025 1.212200 1.234663
v -0.037298 1.228563 1.236977
v -0.061549 1.215346 1.290911
v -0.061104 1.226058 1.262514
v -0.036388 1.233228 1.286238
v -0.000957 0.002114 0.105936
v -0.079512 -0.011184 0.034284
v -0.008373 -0.012107 -0.044555
v 0.070174 0.001364 0.028192
v 0.118266 0.438878 0.581564
v 0.062014 0.469031 0.535218
v 0.009819 0.417546 0.564036
v 0.066072 0.387393 0.610382
v 0.014797 0.804560 1.298334
v -0.032363 0.824656 1.256487
v 0.013511 0.835628 1.210074
v 0.060671 0.815531 1.251921
v -0.002428 1.225736 1.260548
v -0.035513 1.217486 1.228967
v -0.066876 1.212897 1.262957
v -0.033791 1.221147 1.294538
v -0.037159 1.232493 1.261587
v -0.033374 1.199031 1.298022
v -0.069668 1.189981 1.263378
v -0.035263 1.195015 1.226090
v 0.001031 1.204065 1.260734
v -0.063824 1.192668 1.294042
v -0.065444 1.189216 1.232338
v -0.003177 1.204748 1.291775
v -0.004796 1.201297 1.230071
v -0.072046 1.191460 1.302954
v -0.033112 1.199596 1.308042
v 0.005498 1.206906 1.300055
v -0.074116 1.187047 1.224059
v -0.079518 1.188024 1.263746
v -0.035527 1.194461 1.216070
v 0.003428 1.202494 1.221159
v 0.010879 1.206032 1.260366
v 0.007907 1.220812 1.259618
v 0.000456 1.217273 1.220411
v -0.038499 1.209240 1.215322
v -0.082490 1.202804 1.262998
v -0.077089 1.201827 1.223311
v 0.002526 1.221686 1.299307
v -0.036084 1.214376 1.307294
v -0.075018 1.206239 1.302206
v -0.007768 1.216077 1.229323
v -0.006149 1.219528 1.291027
v -0.068416 1.203996 1.231591
v -0.066796 1.207447 1.293295
v -0.001941 1.218844 1.259987
v -0.038235 1.209794 1.225342
v -0.072640 1.204760 1.262630
v -0.036346 1.213811 1.297274
v -0.035533 1.174719 2.083222
v -0.376881 1.075661 1.581598
v 0.280753 1.206664 1.557011
v -0.891624 0.961177 1.265327
v -0.394455 1.038228 0.911752
v 0.263155 1.169226 0.887166
v -0.080123 1.079827 0.385080
v 0.775969 1.293370 1.202987
v 0.265481 1.157658 0.887751
v 0.780208 1.272288 1.204054
v 0.283079 1.195096 1.557597
v -0.392129 1.026659 0.912337
v -0.075883 1.058745 0.386147
v -0.374555 1.064093 1.582184
v -0.887385 0.940095 1.266394
v -0.031294 1.153637 2.084289
v -0.523978 1.040824 1.453085
v -0.521184 1.026932 1.453787
v -0.575538 1.040520 1.621228
v -0.828973 0.981368 1.415720
v -0.572137 1.023607 1.622084
v -0.824733 0.960286 1.416787
v -0.241909 1.111183 1.722569
v -0.239115 1.097291 1.723272
v -0.186904 1.141524 2.029141
v -0.403836 1.083349 1.785269
v -0.400435 1.066436 1.786125
v -0.182665 1.120443 2.030208
v 0.152964 1.189843 1.707806
v 0.155758 1.175951 1.708508
v 0.112709 1.201208 2.017940
v 0.317267 1.226995 1.758309
v 0.320668 1.210082 1.759165
v 0.116949 1.180126 2.019006
v 0.420342 1.228937 1.417781
v 0.423135 1.215044 1.418484
v 0.480026 1.250793 1.581765
v 0.721336 1.290197 1.357763
v 0.725576 1.269115 1.358830
v 0.483427 1.233879 1.582621
v 0.409775 1.206457 1.015576
v 0.412569 1.192565 1.016279
v 0.460730 1.209741 0.847272
v 0.713319 1.273140 1.052586
v 0.464131 1.192828 0.848128
v 0.717558 1.252058 1.053653
v 0.127706 1.136098 0.746088
v 0.130500 1.122206 0.746791
v 0.289028 1.166912 0.683229
v 0.071250 1.112983 0.439156
v 0.292429 1.149999 0.684084
v 0.075489 1.091901 0.440223
v -0.267152 1.057441 0.760851
v -0.264359 1.043549 0.761554
v -0.432049 1.023271 0.710187
v -0.228353 1.053301 0.450357
v -0.428648 1.006358 0.711043
v -0.224113 1.032220 0.451424
v -0.534530 1.018347 1.050879
v -0.531736 1.004455 1.051582
v -0.836979 0.964314 1.110542
v -0.594808 0.999474 0.886734
v -0.591406 0.982561 0.887590
v -0.832739 0.943232 1.111609
vn -0.775079 0.475631 0.415876
vn -0.269295 0.959960 0.077029
vn -0.276894 0.960662 -0.020478
vn -0.421308 -0.819575 0.388287
vn 0.283608 -0.958617 0.023682
vn 0.270272 -0.960143 -0.070833
vn -0.916837 0.399243 0.001831
vn -0.593036 0.486373 0.641621
vn -0.672231 0.560381 0.483779
vn -0.648946 0.526292 0.549394
vn -0.279000 -0.830805 0.481521
vn -0.310221 -0.852229 0.421186
vn -0.305399 -0.736991 0.602924
vn -0.624683 -0.778588 0.059694
vn -0.507584 0.541032 0.670522
vn -0.164586 0.985412 0.042604
vn -0.180303 -0.756828 0.628224
vn 0.167669 -0.984558 -0.049715
vn -0.593066 0.579974 0.558428
vn -0.735313 0.449263 0.507370
vn -0.090518 0.603717 0.792016
vn 0.147099 -0.590899 0.793176
vn -0.412549 -0.745628 0.523209
vn -0.220679 -0.819849 0.528275
vn 0.313364 0.703024 0.638356
vn -0.082156 0.995025 0.055910
vn 0.481094 -0.640889 0.598102
vn 0.085055 -0.994934 -0.053529
vn 0.543168 0.703543 0.458174
vn 0.370251 0.770501 0.518845
vn 0.442732 0.739250 0.507401
vn 0.585986 -0.673086 0.451125
vn 0.529344 -0.685293 0.500107
vn 0.684622 -0.552110 0.475814
vn 0.564989 0.739708 0.365429
vn -0.103549 0.994263 -0.026032
vn 0.718619 -0.605823 0.341319
vn 0.096652 -0.994873 0.029389
vn 0.443312 0.781152 0.439619
vn 0.407666 0.683676 0.605274
vn 0.693319 0.718223 -0.058229
vn 0.874599 -0.484756 0.003876
vn 0.604846 -0.562639 0.563524
vn 0.631855 -0.669637 0.390271
vn 0.544145 0.694571 -0.470565
vn -0.074526 0.988250 -0.133366
vn 0.703787 -0.628742 -0.330638
vn 0.080782 -0.987671 0.133885
vn 0.374706 0.611438 -0.696921
vn 0.420576 0.728019 -0.541337
vn 0.414045 0.681356 -0.603565
vn 0.559221 -0.709861 -0.428175
vn 0.610065 -0.699240 -0.372600
vn 0.578234 -0.601886 -0.550737
vn 0.277444 0.629414 -0.725822
vn -0.170232 0.976257 -0.133824
vn 0.453047 -0.693258 -0.560442
vn 0.174108 -0.974639 0.140477
vn 0.342448 0.708670 -0.616810
vn 0.515213 0.648335 -0.560503
vn -0.133885 0.513657 -0.847468
vn 0.106235 -0.671926 -0.732902
vn 0.664357 -0.596851 -0.449812
vn 0.499496 -0.735160 -0.458235
vn -0.544725 0.466201 -0.697043
vn -0.285684 0.948424 -0.137211
vn -0.216132 -0.811121 -0.543413
vn 0.283608 -0.949370 0.134892
vn -0.761773 0.393872 -0.514328
vn -0.625629 0.516434 -0.584643
vn -0.680654 0.466445 -0.564898
vn -0.306803 -0.864315 -0.398450
vn -0.246040 -0.866543 -0.434217
vn -0.441450 -0.794488 -0.416974
vn -0.798914 0.429029 -0.421430
vn -0.448256 -0.845027 -0.291482
vn -0.701834 0.505234 -0.502121
vn -0.628559 0.413434 -0.658742
vn -0.345317 -0.780999 -0.520341
vn -0.335826 -0.879849 -0.336192
vn -0.666189 0.472854 0.576678
vn -0.877346 0.479812 -0.003815
vn -0.697775 0.408673 -0.588275
vn 0.474471 0.701193 0.532121
vn -0.106510 0.672262 0.732597
vn 0.444044 0.636128 -0.630970
vn 0.624195 0.778924 -0.059938
vn -0.146641 0.586718 -0.796381
vn 0.667257 -0.473495 -0.574908
vn 0.106571 -0.672475 -0.732353
vn -0.474654 -0.701010 -0.532212
vn 0.697775 -0.408551 0.588336
vn 0.877102 -0.480239 0.003815
vn -0.444075 -0.636036 0.631031
vn 0.145848 -0.585559 0.797357
vn -0.623798 -0.779260 0.059938
vn -0.155187 0.867183 0.473128
vn -0.197913 0.976318 -0.087283
vn -0.580950 0.697287 0.419813
vn -0.663625 0.745933 -0.056093
vn -0.184301 0.824274 -0.535325
vn -0.580126 0.677358 -0.452315
vn 0.304514 0.869839 0.388043
vn 0.328349 0.939970 -0.092776
vn 0.249641 0.838557 -0.484176
vn -0.691855 0.230049 0.684378
vn -0.029023 0.342296 0.939116
vn 0.626057 0.454726 0.633412
vn -0.692923 0.003601 0.720969
vn 0.024415 0.082247 0.996307
vn 0.706046 0.189062 0.682424
vn -0.727989 0.236091 -0.643635
vn -0.983154 0.182348 0.011292
vn -0.739128 0.006439 -0.673513
vn -0.998535 -0.052950 0.009369
vn 0.564043 0.454421 -0.689413
vn -0.097262 0.333323 -0.937742
vn 0.656362 0.198859 -0.727744
vn -0.052614 0.086612 -0.994842
vn 0.866543 0.496109 -0.054109
vn 0.975066 0.219001 -0.035035
vn 0.602466 -0.190771 0.774987
vn 0.979888 0.180639 0.084475
vn 0.634388 0.393109 -0.665548
vn 0.732017 -0.519547 0.440657
vn 0.994324 0.048708 0.094363
vn 0.651967 0.680960 -0.333415
vn -0.005829 0.380291 -0.924833
vn -0.643391 0.206153 -0.737236
vn -0.024659 0.852168 -0.522660
vn -0.688131 0.580828 -0.434828
vn -0.987487 -0.156835 0.014985
vn -0.672689 -0.337687 0.658315
vn -0.996033 -0.073153 -0.050508
vn -0.604266 -0.697073 0.385907
vn 0.002045 -0.356426 0.934294
vn 0.035707 -0.840480 0.540605
vn -0.601917 -0.696616 0.390393
vn 0.096225 -0.904355 0.415754
vn 0.690451 -0.675344 0.259133
vn -0.632801 -0.542863 0.552080
vn 0.093966 -0.791498 0.603870
vn 0.728751 -0.570513 0.378674
vn -0.698721 0.663686 -0.266945
vn -0.996094 -0.002747 0.088198
vn -0.705802 0.587512 -0.395734
vn -0.990661 0.066164 0.119175
vn 0.614978 0.696738 -0.369182
vn -0.101474 0.897641 -0.428846
vn 0.610736 0.581500 -0.537400
vn -0.110782 0.763756 -0.635884
vn 0.997345 0.000092 -0.072604
vn 0.997955 -0.055422 -0.031495
vn 0.752068 -0.516465 0.409375
vn 0.998627 -0.016327 -0.049409
vn 0.608448 0.534288 -0.586749
vn -0.137089 0.700613 -0.700217
vn -0.653127 0.590808 -0.473617
vn -0.981536 0.186438 0.042299
vn -0.657979 -0.467086 0.590655
vn 0.044435 -0.746605 0.663747
usemtl (null)
s 1
f 114//1 89//2 85//3
f 115//4 78//5 74//6
f 101//7 117//8 85//3
f 117//8 114//1 85//3
f 114//1 116//9 89//2
f 116//9 99//10 89//2
f 111//11 118//12 74//6
f 118//12 115//4 74//6
f 115//4 119//13 78//5
f 119//13 112//14 78//5
f 120//15 88//16 89//2
f 121//17 74//6 75//18
f 99//10 123//19 89//2
f 123//19 120//15 89//2
f 120//15 122//20 88//16
f 122//20 98//21 88//16
f 113//22 125//23 75//18
f 125//23 121//17 75//18
f 121//17 124//24 74//6
f 124//24 111//11 74//6
f 126//25 87//26 88//16
f 127//27 75//18 76//28
f 98//21 128//29 88//16
f 128//29 126//25 88//16
f 126//25 129//30 87//26
f 129//30 100//31 87//26
f 108//32 130//33 76//28
f 130//33 127//27 76//28
f 127//27 131//34 75//18
f 131//34 113//22 75//18
f 132//35 82//36 87//26
f 133//37 76//28 81//38
f 100//31 134//39 87//26
f 134//39 132//35 87//26
f 132//35 135//40 82//36
f 135//40 105//41 82//36
f 107//42 136//43 81//38
f 136//43 133//37 81//38
f 133//37 137//44 76//28
f 137//44 108//32 76//28
f 138//45 83//46 82//36
f 139//47 81//38 80//48
f 105//41 141//49 82//36
f 141//49 138//45 82//36
f 138//45 140//50 83//46
f 140//50 103//51 83//46
f 106//52 142//53 80//48
f 142//53 139//47 80//48
f 139//47 143//54 81//38
f 143//54 107//42 81//38
f 144//55 84//56 83//46
f 145//57 80//48 79//58
f 103//51 146//59 83//46
f 146//59 144//55 83//46
f 144//55 147//60 84//56
f 147//60 104//61 84//56
f 110//62 149//63 79//58
f 149//63 145//57 79//58
f 145//57 148//64 80//48
f 148//64 106//52 80//48
f 150//65 86//66 84//56
f 151//67 79//58 77//68
f 104//61 153//69 84//56
f 153//69 150//65 84//56
f 150//65 152//70 86//66
f 152//70 102//71 86//66
f 109//72 154//73 77//68
f 154//73 151//67 77//68
f 151//67 155//74 79//58
f 155//74 110//62 79//58
f 156//75 85//3 86//66
f 157//76 77//68 78//5
f 102//71 159//77 86//66
f 159//77 156//75 86//66
f 156//75 158//78 85//3
f 158//78 101//7 85//3
f 112//14 161//79 78//5
f 161//79 157//76 78//5
f 157//76 160//80 77//68
f 160//80 109//72 77//68
f 159//77 102//71 160//80
f 102//71 109//72 160//80
f 156//75 159//77 157//76
f 159//77 160//80 157//76
f 158//78 156//75 161//79
f 156//75 157//76 161//79
f 101//7 158//78 112//14
f 158//78 161//79 112//14
f 154//73 109//72 102//71
f 154//73 102//71 152//70
f 151//67 154//73 152//70
f 151//67 152//70 150//65
f 155//74 151//67 150//65
f 155//74 150//65 153//69
f 110//62 155//74 153//69
f 110//62 153//69 104//61
f 146//59 103//51 148//64
f 103//51 106//52 148//64
f 144//55 146//59 145//57
f 146//59 148//64 145//57
f 147//60 144//55 149//63
f 144//55 145//57 149//63
f 104//61 147//60 110//62
f 147//60 149//63 110//62
f 142//53 106//52 103//51
f 142//53 103//51 140//50
f 139//47 142//53 140//50
f 139//47 140//50 138//45
f 143//54 139//47 138//45
f 143//54 138//45 141//49
f 107//42 143//54 141//49
f 107//42 141//49 105//41
f 134//39 100//31 137//44
f 100//31 108//32 137//44
f 132//35 134//39 133//37
f 134//39 137//44 133//37
f 135//40 132//35 136//43
f 132//35 133//37 136//43
f 105//41 135//40 107//42
f 135//40 136//43 107//42
f 130//33 108//32 100//31
f 130//33 100//31 129//30
f 127//27 130//33 129//30
f 127//27 129//30 126//25
f 131//34 127//27 126//25
f 131//34 126//25 128//29
f 113//22 131//34 128//29
f 113//22 128//29 98//21
f 123//19 99//10 124//24
f 99//10 111//11 124//24
f 120//15 123//19 121//17
f 123//19 124//24 121//17
f 122//20 120//15 125//23
f 120//15 121//17 125//23
f 98//21 122//20 113//22
f 122//20 125//23 113//22
f 118//12 111//11 99//10
f 118//12 99//10 116//9
f 115//4 118//12 116//9
f 115//4 116//9 114//1
f 119//13 115//4 114//1
f 119//13 114//1 117//8
f 112//14 119//13 117//8
f 112//14 117//8 101//7
f 83//46 90//81 82//36
f 90//81 94//82 82//36
f 87//26 82//36 91//83
f 82//36 94//82 91//83
f 86//66 92//84 84//56
f 92//84 95//85 84//56
f 83//46 84//56 90//81
f 84//56 95//85 90//81
f 89//2 93//86 85//3
f 93//86 96//87 85//3
f 86//66 85//3 92//84
f 85//3 96//87 92//84
f 87//26 91//83 88//16
f 91//83 97//88 88//16
f 89//2 88//16 93//86
f 88//16 97//88 93//86
f 70//89 93//86 66//90
f 93//86 97//88 66//90
f 72//91 66//90 91//83
f 66//90 97//88 91//83
f 71//92 92//84 67//93
f 92//84 96//87 67//93
f 70//89 67//93 93//86
f 67//93 96//87 93//86
f 73//94 90//81 68//95
f 90//81 95//85 68//95
f 71//92 68//95 92//84
f 68//95 95//85 92//84
f 72//91 91//83 69//96
f 91//83 94//82 69//96
f 73//94 69//96 90//81
f 69//96 94//82 90//81
f 69//96 73//94 81//38
f 73//94 80//48 81//38
f 69//96 81//38 72//91
f 81//38 76//28 72//91
f 68//95 71//92 79//58
f 71//92 77//68 79//58
f 68//95 79//58 73//94
f 79//58 80//48 73//94
f 67//93 70//89 78//5
f 70//89 74//6 78//5
f 67//93 78//5 71//92
f 78//5 77//68 71//92
f 66//90 72//91 75//18
f 72//91 76//28 75//18
f 66//90 75//18 70//89
f 75//18 74//6 70//89
f 48//97 65//98 16//99
f 65//98 47//100 16//99
f 65//98 45//101 15//102
f 65//98 15//102 47//100
f 14//103 42//104 65//98
f 14//103 65//98 48//97
f 42//104 13//105 65//98
f 13//105 45//101 65//98
f 46//106 64//107 16//99
f 64//107 48//97 16//99
f 64//107 43//108 14//103
f 64//107 14//103 48//97
f 9//109 34//110 46//106
f 34//110 64//107 46//106
f 34//110 11//111 64//107
f 11//111 43//108 64//107
f 44//112 63//113 15//102
f 63//113 47//100 15//102
f 63//113 46//106 16//99
f 63//113 16//99 47//100
f 10//114 36//115 44//112
f 36//115 63//113 44//112
f 36//115 9//109 46//106
f 36//115 46//106 63//113
f 41//116 62//117 13//105
f 62//117 45//101 13//105
f 62//117 44//112 15//102
f 62//117 15//102 45//101
f 12//118 38//119 62//117
f 12//118 62//117 41//116
f 38//119 10//114 44//112
f 38//119 44//112 62//117
f 43//108 61//120 14//103
f 61//120 42//104 14//103
f 61//120 41//116 13//105
f 61//120 13//105 42//104
f 11//111 40//121 43//108
f 40//121 61//120 43//108
f 40//121 12//118 41//116
f 40//121 41//116 61//120
f 33//122 60//123 11//111
f 60//123 40//121 11//111
f 60//123 39//124 40//121
f 39//124 12//118 40//121
f 6//125 26//126 60//123
f 6//125 60//123 33//122
f 26//126 5//127 60//123
f 5//127 39//124 60//123
f 39//124 59//128 12//118
f 59//128 38//119 12//118
f 59//128 37//129 38//119
f 37//129 10//114 38//119
f 5//127 29//130 39//124
f 29//130 59//128 39//124
f 29//130 7//131 59//128
f 7//131 37//129 59//128
f 37//129 58//132 36//115
f 37//129 36//115 10//114
f 58//132 35//133 9//109
f 58//132 9//109 36//115
f 7//131 31//134 37//129
f 31//134 58//132 37//129
f 31//134 8//135 35//133
f 31//134 35//133 58//132
f 35//133 57//136 34//110
f 35//133 34//110 9//109
f 57//136 33//122 11//111
f 57//136 11//111 34//110
f 8//135 32//137 57//136
f 8//135 57//136 35//133
f 32//137 6//125 33//122
f 32//137 33//122 57//136
f 30//138 56//139 8//135
f 56//139 32//137 8//135
f 56//139 27//140 32//137
f 27//140 6//125 32//137
f 2//141 18//142 30//138
f 18//142 56//139 30//138
f 18//142 1//143 56//139
f 1//143 27//140 56//139
f 28//144 55//145 7//131
f 55//145 31//134 7//131
f 55//145 30//138 31//134
f 30//138 8//135 31//134
f 3//146 20//147 28//144
f 20//147 55//145 28//144
f 20//147 2//141 55//145
f 2//141 30//138 55//145
f 25//148 54//149 29//130
f 25//148 29//130 5//127
f 54//149 28//144 7//131
f 54//149 7//131 29//130
f 4//150 22//151 54//149
f 4//150 54//149 25//148
f 22//151 3//146 28//144
f 22//151 28//144 54//149
f 27//140 53//152 26//126
f 27//140 26//126 6//125
f 53//152 25//148 5//127
f 53//152 5//127 26//126
f 1//143 24//153 53//152
f 1//143 53//152 27//140
f 24//153 4//150 25//148
f 24//153 25//148 53//152
f 24//153 1//143 17//154
f 24//153 17//154 52//155
f 52//155 23//156 4//150
f 52//155 4//150 24//153
f 23//156 51//157 22//151
f 23//156 22//151 4//150
f 51//157 21//158 3//146
f 51//157 3//146 22//151
f 21//158 50//159 3//146
f 50//159 20//147 3//146
f 50//159 19//160 20//147
f 19//160 2//141 20//147
f 19//160 49//161 2//141
f 49//161 18//142 2//141
f 1//143 18//142 17//154
f 18//142 49//161 17//154

View file

@ -0,0 +1,713 @@
# Blender3D v245 OBJ File: plants.blend
# www.blender3d.org
o Plane
v -0.409492 1.590396 1.925275
v 0.120821 0.890423 1.148827
v 0.504913 1.714415 2.139235
v 0.558626 1.692499 2.130143
v -0.478170 1.646040 1.446943
v 0.766292 1.627217 1.200500
v 0.581727 1.721462 2.098053
v 0.247775 1.441849 1.775231
v -0.332444 1.590567 1.818992
v 0.012837 1.584204 2.169900
v 0.482980 1.718066 2.160647
v -0.034585 -0.003098 -0.035634
v 0.600782 1.721976 2.135950
v -0.085663 1.644454 0.911906
v 0.533866 1.718066 2.090339
v 0.286803 1.051031 1.324183
v 0.553288 1.718066 2.211533
v -0.173539 1.644454 0.906970
v -0.407613 1.584721 1.094724
v 0.168308 1.038121 1.347041
v 0.829614 1.626497 1.666736
v -0.453319 1.613716 1.376460
v -0.414964 1.554011 1.337137
v 0.295352 1.737695 0.924553
v 0.792405 1.659752 1.648756
v 0.371066 1.736592 0.821290
v 0.163329 1.163198 1.557002
v 0.782480 1.655424 1.694165
v 0.833366 1.655424 1.623857
v 0.509607 1.722185 2.199561
v 0.900282 1.659334 1.669468
v 0.038531 0.231216 0.171050
v 0.878521 1.566791 1.635481
v 0.852788 1.655424 1.745051
v 0.589983 1.629433 2.109466
v 0.732227 1.635960 1.247286
v 0.721249 1.622249 1.199322
v -0.178475 1.644454 0.994847
v 0.685000 1.559183 1.189479
v 0.794925 1.651213 1.252522
v 0.777740 1.652144 1.163699
v 0.691369 1.652144 1.178673
v -0.700692 1.523154 1.682061
v 0.751752 1.647816 1.274968
v 0.681445 1.647816 1.224082
v 0.732331 1.647816 1.153774
v 0.029426 0.407054 0.522507
v 0.802638 1.647816 1.204660
v 0.152416 1.443069 1.294290
v 0.578865 1.685080 2.357746
v 0.818185 1.566791 1.741495
v 0.385071 1.644734 0.912979
v 0.780212 1.559183 1.161631
v 0.900118 1.566791 1.709347
v -0.386339 1.645869 1.432912
v 0.392928 1.733367 0.865097
v 0.322621 1.733367 0.814211
v 0.271735 1.733367 0.884519
v 0.342042 1.733367 0.935405
v -0.090599 1.644454 0.999783
v 0.053427 1.390872 1.735538
v 0.703307 1.651042 1.267889
v -0.486263 1.554011 1.435648
v 0.370995 1.729715 0.886509
v 0.344033 1.729715 0.836145
v 0.706597 1.559183 1.263344
v 0.864328 1.543520 1.424939
v 0.317283 1.707800 0.895601
v -0.028322 0.432272 0.393221
v -0.111276 1.707520 0.968425
v 0.114549 1.584204 2.243516
v 0.111983 1.584204 2.166601
v 0.898318 1.582541 1.146962
v -0.081397 1.737415 0.989075
v -0.098099 1.737206 0.904751
v -0.182741 1.737415 0.917678
v -0.167767 1.737415 1.004049
v 0.338312 1.325301 1.523391
v -0.192665 1.733088 0.963087
v 0.597095 1.721291 2.189670
v -0.071472 1.733087 0.943666
v 0.790337 1.566791 1.646283
v -0.141780 1.733088 0.892780
v 0.345933 1.693021 2.546828
v -0.122358 1.733087 1.013973
v 0.075794 1.309033 1.418534
v 0.100888 1.308522 1.633833
v -0.053462 1.443280 1.613338
v 0.563185 1.706209 2.179136
v -0.379260 1.642644 1.384467
v -0.449567 1.642644 1.333581
v -0.500453 1.642643 1.403889
v -0.430146 1.642643 1.454774
v 0.490837 1.629433 2.112765
v 0.809107 1.659543 1.733080
v 0.774592 1.587656 1.982594
v -0.041458 0.373448 0.417866
v -0.406941 1.630787 1.403993
v 0.190760 0.986634 1.438452
v -0.321013 1.591499 1.908737
v -0.451558 1.638992 1.432841
v 0.367776 1.644734 0.825836
v -0.349965 1.561603 1.886806
v -0.395650 1.498538 1.928798
v 0.385097 1.736763 0.913122
v -0.359056 1.583520 1.833094
v 1.036380 1.554208 1.410359
v 0.772786 1.647118 1.243524
v 0.518685 1.629433 2.207977
v 0.290861 1.644734 0.828402
v -0.403828 1.583520 1.894954
v 0.606398 1.587983 0.932160
v -0.431354 1.587171 1.881468
v 0.102556 1.677165 2.158327
v -0.310161 1.587171 1.862046
v -0.068306 -0.009521 0.044033
v -0.380468 1.587171 1.811160
v 0.015832 1.677165 2.171092
v -0.361047 1.587171 1.932354
v -0.151984 1.702237 0.946386
v 0.060169 0.693345 0.990545
v 0.024346 1.708696 0.537074
v 0.563415 1.480679 1.507461
v 0.126173 1.672837 2.198361
v 0.055866 1.672837 2.147475
v 0.004980 1.672837 2.217782
v 0.075287 1.672837 2.268668
v 0.021032 -0.003179 -0.033245
v 0.082725 0.413036 0.474399
v -0.034378 -0.001927 0.074447
v 0.042178 -0.008597 0.017821
v 0.313567 0.986544 1.402369
v 0.592549 1.629433 2.186381
v -0.489601 1.646971 1.357198
v 0.048843 1.641986 2.220935
v 0.080626 1.647269 2.187279
v -0.040855 1.537868 1.969923
v -0.578338 1.536124 1.582873
v 0.844623 1.556495 1.730562
v 0.783512 1.559183 1.260777
v -0.641787 1.570230 1.408373
v 0.988641 1.581532 1.687142
v -0.345865 1.498538 1.814716
v -0.521541 1.504299 1.898976
v 0.316814 1.681008 0.636084
v 0.324245 1.392346 1.312395
v 0.058505 1.620491 2.415598
v 0.040684 1.584204 2.265113
v -0.402877 1.646971 1.344433
v -0.387117 1.554011 1.432349
v -0.222740 1.680794 0.722503
v 0.202072 0.794323 1.209777
v -0.581118 1.499952 1.874418
v 0.338089 1.648936 2.488091
v 0.034479 1.662309 0.594537
v 0.416340 1.412893 1.698216
v 0.696151 1.514254 1.242077
v 0.763587 1.514254 1.662887
v 0.272512 1.014086 1.471330
v -0.397061 1.506031 1.417268
v -0.419330 1.592152 1.836602
v 0.285925 1.644734 0.916278
v 0.413405 1.421884 1.486506
v 0.028597 1.677165 2.257816
v 0.292048 1.192967 1.390519
v 0.881227 1.658820 1.631571
v -0.029869 1.398855 1.366606
v 0.045630 -0.003034 0.061738
v -0.137701 1.449839 1.311333
v 0.414847 1.457572 1.191655
v 0.574462 1.668956 2.397953
v -0.038136 1.433242 1.830927
v 0.113040 1.676956 2.243647
v 0.279343 1.318440 1.377564
v 0.869205 1.638538 1.703365
v -0.488829 1.554011 1.358733
v 0.144854 1.187202 1.415314
v -0.279001 1.525320 2.110389
v 0.209146 0.876828 1.109716
v 0.639630 1.561809 1.092586
v 0.490059 1.721291 2.112202
v 0.283759 1.738348 0.839653
v 0.316162 1.309272 1.612872
v -0.048592 0.234384 0.188674
v -0.000753 0.596143 0.640077
v 0.896595 1.658649 1.723189
v 0.070096 0.493642 0.453639
v 0.000482 0.182123 0.263379
v -0.313716 1.498538 1.896650
v -0.427799 1.498538 1.846865
v 0.148303 0.645757 0.846367
vn 0.139317 0.972411 0.186956
vn -0.263314 0.952605 -0.152287
vn -0.214209 0.888119 0.406598
vn 0.108890 0.450240 0.886227
vn 0.781121 -0.065432 0.620899
vn 0.394391 0.899899 0.186041
vn -0.038575 0.968841 0.244545
vn 0.272805 0.919828 0.281808
vn -0.291299 0.914823 0.279641
vn -0.192419 0.911374 -0.363750
vn -0.745689 -0.104495 -0.658010
vn 0.415571 0.518998 -0.746910
vn -0.816279 0.389752 -0.426313
vn -0.252022 0.966613 0.045778
vn 0.716849 0.685568 -0.126865
vn 0.871517 0.479263 -0.103549
vn 0.677023 -0.059084 -0.733573
vn 0.168889 0.954344 -0.246315
vn -0.028993 0.965758 -0.257729
vn 0.878780 0.451949 -0.153172
vn 0.585528 -0.056673 -0.808649
vn 0.146886 0.966247 -0.211493
vn 0.109043 0.647389 0.754295
vn -0.584460 -0.079012 0.807550
vn 0.727775 -0.078951 0.681234
vn -0.605029 -0.524033 0.599384
vn -0.656667 -0.502945 0.561937
vn -0.383892 -0.851955 -0.356029
vn 0.459334 -0.405988 -0.790002
vn -0.582476 -0.582842 -0.566546
vn 0.813562 0.461318 0.353893
vn -0.074465 0.997192 0.004486
vn -0.149236 0.975646 -0.160588
vn 0.250465 -0.967223 0.041322
vn 0.261666 -0.964599 -0.031892
vn 0.984588 -0.096377 -0.145878
vn -0.528153 0.160588 0.833796
vn 0.101749 -0.880886 0.462233
vn 0.221931 0.392224 0.892666
vn 0.610431 -0.594958 0.522813
vn -0.474654 -0.695853 0.538926
vn -0.414594 0.906919 -0.074709
vn 0.193487 0.957701 -0.212897
vn 0.659688 0.547105 -0.515183
vn 0.859096 -0.452651 0.238838
vn 0.931089 -0.262093 0.253609
vn -0.234931 -0.940733 -0.244514
vn -0.753197 0.009430 -0.657674
vn -0.076601 -0.869198 -0.488449
vn 0.622456 -0.087344 -0.777734
vn 0.433576 0.687765 -0.582202
vn -0.869472 0.481704 0.109287
vn -0.681082 -0.079012 0.727897
vn -0.167180 0.952788 0.253395
vn -0.266182 0.922605 -0.279061
vn -0.883053 0.455824 0.111423
vn -0.142338 0.913633 -0.380779
vn 0.196783 0.892117 -0.406659
vn -0.318644 0.910276 0.264199
vn -0.867641 0.481277 0.124699
vn -0.872341 -0.059084 -0.485275
vn 0.435408 0.895230 -0.094546
vn 0.279366 0.933348 -0.225349
vn -0.100833 -0.823695 -0.557939
vn -0.141270 0.474227 -0.868984
vn 0.484542 -0.058870 -0.872768
vn -0.809473 -0.049104 -0.585070
vn -0.158605 0.443525 -0.882077
vn -0.169836 0.964812 -0.200659
vn -0.707633 -0.066622 0.703391
vn 0.569597 -0.818354 -0.076296
vn 0.276742 -0.830531 -0.483291
vn 0.139714 -0.934935 -0.326090
vn 0.685995 -0.245674 0.684835
vn 0.375774 -0.870540 0.317606
vn -0.252235 0.917295 0.308084
vn 0.222205 0.959075 0.175329
vn 0.540910 -0.566515 0.621601
vn 0.376141 -0.893124 0.246559
vn -0.787469 -0.445845 0.425489
vn -0.183660 -0.687948 0.702109
vn -0.956267 -0.178747 0.231391
vn 0.161748 0.478835 0.862850
vn -0.484542 -0.058870 0.872738
vn 0.809931 -0.032228 0.585589
vn 0.276009 0.917814 0.285318
vn -0.445998 -0.891842 0.075381
vn 0.970641 -0.094821 -0.220985
vn 0.910520 -0.375652 0.172704
vn -0.883938 0.443800 0.147099
vn -0.808893 -0.056673 -0.585192
vn 0.428388 0.876949 0.217750
vn -0.228431 0.956267 -0.182592
vn -0.877041 0.461745 0.132420
vn -0.143651 0.962859 0.228462
vn -0.126896 0.458022 -0.879818
vn -0.544633 0.730918 -0.411206
vn 0.247536 0.964751 0.089175
vn -0.003876 0.994140 0.107822
vn -0.054994 0.977203 0.204932
vn -0.181799 0.235328 -0.954741
vn 0.238319 -0.965545 -0.104251
vn 0.294320 -0.827204 -0.478622
vn 0.732109 0.209021 -0.648305
vn -0.726096 0.663869 0.178808
vn 0.519608 0.125889 -0.845058
vn 0.226875 0.952330 -0.203833
vn -0.724479 0.684072 0.084567
vn -0.440657 0.837642 -0.322672
vn -0.912107 -0.043672 -0.407575
vn 0.191290 -0.844142 0.500748
vn -0.824305 -0.380810 0.418867
vn -0.069613 0.996887 -0.036775
vn -0.648640 0.170415 0.741752
vn -0.091647 0.990570 0.101688
vn 0.103702 0.486679 0.867367
vn 0.164006 0.919523 -0.357097
vn -0.390606 -0.080599 0.916990
vn -0.401868 0.717612 0.568743
vn -0.742424 -0.054781 0.667684
vn 0.595355 0.583667 -0.552110
vn -0.749596 0.613697 -0.247810
vn -0.665029 0.686178 -0.294717
vn -0.714316 0.502579 -0.486923
vn -0.644520 0.625202 -0.440046
vn -0.124943 0.443525 -0.887478
vn -0.199713 0.966674 -0.159978
vn -0.703207 -0.034974 -0.710105
vn -0.667684 -0.054781 -0.742393
vn -0.162145 0.684896 -0.710318
vn -0.110691 0.466445 -0.877560
vn 0.153142 0.958983 -0.238472
vn 0.738304 -0.040101 -0.673238
vn 0.279214 0.952330 0.122715
vn 0.876949 0.448531 -0.172460
vn 0.312937 0.900235 0.302622
vn 0.807398 -0.081057 0.584368
vn 0.120396 0.670766 0.731803
vn 0.251228 0.962584 0.101444
vn 0.173742 0.467238 0.866878
vn 0.941008 -0.313791 -0.126499
vn -0.963439 0.099948 0.248512
vn 0.872921 0.470199 -0.129978
vn 0.393262 -0.074892 -0.916349
vn 0.200720 0.892270 -0.404401
vn 0.305582 -0.604236 0.735862
vn -0.762993 -0.089175 0.640187
vn 0.679220 -0.071352 -0.730430
vn -0.335856 0.917295 -0.213813
vn 0.243782 0.954222 0.173162
vn -0.283639 -0.886563 0.365368
vn 0.100101 -0.880032 0.464187
vn -0.122929 -0.969909 0.210120
vn 0.804559 -0.073458 0.589282
vn 0.870388 0.467879 -0.153172
vn -0.807398 -0.081057 -0.584368
vn -0.159917 0.956267 0.244819
vn -0.489456 -0.044343 0.870876
vn 0.132420 0.461745 0.877041
vn 0.667684 -0.054781 0.742424
vn -0.039918 0.974456 0.220893
vn 0.835231 -0.298929 0.461501
vn 0.217505 -0.828730 0.515610
vn 0.178503 0.966308 0.185247
vn -0.182440 0.945067 0.271096
vn -0.254982 0.926603 -0.276315
vn 0.149968 0.973083 -0.174871
vn 0.547624 0.554369 -0.626698
vn -0.206275 -0.973052 -0.102725
vn -0.143773 0.967834 -0.206397
vn -0.242103 0.958037 -0.153233
vn -0.147435 0.693655 -0.705039
vn -0.380627 -0.851680 -0.360179
vn 0.440718 0.161382 -0.882992
vn 0.554857 0.822443 -0.125126
vn 0.305948 0.903531 -0.299966
vn -0.897946 0.018891 -0.439650
vn 0.692038 0.445051 -0.568285
vn 0.381664 0.888974 0.253059
vn -0.157567 0.468581 -0.869228
vn -0.875118 0.449202 0.179754
vn -0.502304 0.575060 -0.645711
vn 0.109684 0.474715 0.873257
vn 0.055025 0.971374 0.230964
vn 0.913877 -0.054781 0.402234
vn 0.900998 -0.063265 0.429151
vn 0.541826 -0.078066 -0.836818
vn -0.833918 -0.046022 -0.549944
vn -0.452132 -0.052339 0.890378
vn 0.240852 0.968871 0.057070
vn -0.355449 0.932157 0.068728
usemtl (null)
s 1
f 22//1 134//2 5//3
f 59//4 52//5 105//6
f 4//7 3//8 30//9
f 4//7 30//9 89//10
f 177//11 16//12 20//13
f 64//14 105//6 56//15
f 124//16 72//17 114//18
f 22//1 5//3 101//19
f 48//20 53//21 41//22
f 44//23 66//24 140//25
f 27//26 20//13 99//27
f 167//28 174//29 86//30
f 142//31 67//32 139//33
f 158//34 123//35 107//36
f 147//37 154//38 84//39
f 27//26 183//40 87//41
f 98//42 149//43 22//1
f 187//44 129//45 131//46
f 169//47 151//48 155//49
f 56//15 102//50 26//51
f 92//52 63//53 5//3
f 24//54 182//55 58//56
f 48//20 140//25 53//21
f 108//57 36//58 62//59
f 45//60 39//61 66//24
f 4//7 13//62 7//63
f 4//7 7//63 3//8
f 167//28 49//64 174//29
f 91//65 23//66 176//67
f 46//68 39//61 42//69
f 59//4 24//54 162//70
f 163//71 146//72 170//73
f 171//74 96//75 142//31
f 4//7 89//10 13//62
f 136//76 173//77 114//18
f 188//78 131//46 129//45
f 171//74 156//79 96//75
f 158//34 96//75 156//79
f 97//80 130//81 188//78
f 97//80 116//82 130//81
f 163//71 123//35 156//79
f 127//83 148//84 71//85
f 48//20 40//86 140//25
f 167//28 88//87 169//47
f 44//23 140//25 40//86
f 191//88 16//12 132//89
f 126//90 10//91 148//84
f 13//62 89//10 80//92
f 56//15 105//6 52//5
f 76//93 79//94 77//95
f 7//63 15//96 181//97
f 171//74 50//98 84//39
f 7//63 181//97 3//8
f 138//99 180//100 122//101
f 138//99 122//101 151//48
f 59//4 162//70 52//5
f 157//102 112//103 73//104
f 3//8 181//97 11//105
f 3//8 11//105 30//9
f 145//106 73//104 112//103
f 177//11 27//26 87//41
f 136//76 135//107 173//77
f 113//108 161//109 190//110
f 97//80 152//111 121//112
f 137//113 178//114 147//37
f 137//113 138//99 144//115
f 30//9 17//116 80//92
f 145//106 155//49 122//101
f 30//9 80//92 89//10
f 111//117 161//109 113//108
f 139//33 67//32 137//113
f 104//118 1//119 113//108
f 137//113 67//32 138//99
f 79//94 38//120 77//95
f 179//121 185//122 2//123
f 138//99 67//32 180//100
f 184//124 97//80 69//125
f 191//88 179//121 16//12
f 125//126 10//91 118//127
f 58//56 182//55 110//128
f 79//94 76//93 18//129
f 117//130 190//110 161//109
f 121//112 99//27 20//13
f 83//131 75//132 14//133
f 120//134 75//132 76//93
f 169//47 155//49 49//64
f 90//135 55//136 150//137
f 5//3 134//2 92//52
f 93//138 150//137 55//136
f 100//139 1//119 119//140
f 45//60 66//24 62//59
f 163//71 78//141 174//29
f 185//122 97//80 121//112
f 187//44 191//88 129//45
f 56//15 52//5 102//50
f 157//102 170//73 112//103
f 144//115 138//99 43//142
f 115//143 143//144 9//145
f 27//26 99//27 159//146
f 46//68 53//21 39//61
f 152//111 159//146 99//27
f 167//28 87//41 88//87
f 139//33 137//113 147//37
f 187//44 185//122 179//121
f 153//147 178//114 144//115
f 13//62 35//148 7//63
f 70//149 74//150 75//132
f 169//47 49//64 167//28
f 61//151 8//152 172//153
f 124//16 173//77 71//85
f 13//62 80//92 133//154
f 13//62 133//154 35//148
f 81//155 14//133 75//132
f 15//96 94//156 181//97
f 157//102 163//71 170//73
f 170//73 145//106 112//103
f 125//126 72//17 10//91
f 173//77 164//157 127//83
f 15//96 7//63 35//148
f 15//96 35//148 94//156
f 11//105 94//156 109//158
f 11//105 109//158 30//9
f 85//159 60//160 74//150
f 64//14 26//51 65//161
f 172//153 154//38 147//37
f 187//44 69//125 185//122
f 11//105 181//97 94//156
f 188//78 130//81 168//162
f 17//116 109//158 133//154
f 17//116 133//154 80//92
f 126//90 148//84 164//157
f 151//48 122//101 155//49
f 73//104 180//100 67//32
f 159//146 132//89 183//40
f 17//116 30//9 109//158
f 111//117 1//119 100//139
f 75//132 83//131 76//93
f 58//56 162//70 24//54
f 8//152 183//40 156//79
f 125//126 114//18 72//17
f 97//80 47//163 152//111
f 117//130 143//144 190//110
f 153//147 144//115 43//142
f 21//164 95//165 175//166
f 146//72 49//64 170//73
f 68//167 65//161 182//55
f 32//168 69//125 187//44
f 83//131 18//129 76//93
f 160//169 153//147 43//142
f 117//130 9//145 143//144
f 171//74 154//38 8//152
f 160//169 169//47 88//87
f 103//170 111//117 100//139
f 179//121 2//123 16//12
f 21//164 25//171 95//165
f 90//135 23//66 149//43
f 160//169 88//87 153//147
f 171//74 142//31 50//98
f 65//161 26//51 57//172
f 160//169 19//173 169//47
f 177//11 165//174 16//12
f 21//164 31//175 166//176
f 21//164 166//176 25//171
f 157//102 123//35 163//71
f 152//111 99//27 121//112
f 134//2 149//43 91//65
f 93//138 63//53 150//137
f 160//169 141//177 19//173
f 68//167 24//54 105//6
f 127//83 71//85 173//77
f 184//124 116//82 97//80
f 175//166 31//175 21//164
f 187//44 128//178 32//168
f 78//141 183//40 132//89
f 57//172 26//51 102//50
f 160//169 43//142 141//177
f 145//106 180//100 73//104
f 9//145 100//139 115//143
f 172//153 8//152 154//38
f 108//57 62//59 44//23
f 101//19 5//3 93//138
f 65//161 57//172 182//55
f 153//147 172//153 178//114
f 31//175 175//166 186//179
f 79//94 18//129 38//120
f 68//167 105//6 64//14
f 166//176 29//180 25//171
f 142//31 107//36 67//32
f 83//131 14//133 18//129
f 188//78 47//163 97//80
f 135//107 118//127 164//157
f 58//56 110//128 162//70
f 32//168 184//124 69//125
f 45//60 42//69 39//61
f 25//171 28//181 95//165
f 170//73 49//64 155//49
f 157//102 107//36 123//35
f 153//147 88//87 172//153
f 172//153 147//37 178//114
f 184//124 12//182 116//82
f 68//167 182//55 24//54
f 42//69 62//59 36//58
f 95//165 34//183 186//179
f 27//26 159//146 183//40
f 95//165 186//179 175//166
f 88//87 61//151 172//153
f 103//170 106//184 161//109
f 68//167 64//14 65//161
f 187//44 179//121 191//88
f 115//143 100//139 189//185
f 169//47 19//173 151//48
f 88//87 87//41 61//151
f 32//168 128//178 12//182
f 177//11 20//13 27//26
f 149//43 98//42 55//136
f 105//6 24//54 59//4
f 46//68 41//22 53//21
f 85//159 77//95 38//120
f 127//83 164//157 148//84
f 57//172 102//50 110//128
f 126//90 118//127 10//91
f 119//140 189//185 100//139
f 47//163 129//45 191//88
f 188//78 168//162 131//46
f 106//184 9//145 117//130
f 74//150 81//155 75//132
f 119//140 104//118 189//185
f 157//102 73//104 107//36
f 158//34 142//31 96//75
f 165//174 132//89 16//12
f 151//48 19//173 141//177
f 2//123 20//13 16//12
f 136//76 118//127 135//107
f 118//127 114//18 125//126
f 70//149 120//134 77//95
f 106//184 117//130 161//109
f 114//18 173//77 124//16
f 47//163 191//88 152//111
f 103//170 161//109 111//117
f 32//168 12//182 184//124
f 31//175 54//186 33//187
f 31//175 33//187 166//176
f 64//14 56//15 26//51
f 108//57 44//23 40//86
f 132//89 152//111 191//88
f 137//113 144//115 178//114
f 31//175 186//179 54//186
f 185//122 121//112 2//123
f 171//74 84//39 154//38
f 29//180 82//188 25//171
f 2//123 121//112 20//13
f 73//104 67//32 107//36
f 146//72 174//29 49//64
f 113//108 1//119 111//117
f 29//180 166//176 33//187
f 29//180 33//187 82//188
f 28//181 82//188 51//189
f 28//181 51//189 95//165
f 22//1 149//43 134//2
f 61//151 87//41 183//40
f 61//151 183//40 8//152
f 180//100 145//106 122//101
f 28//181 25//171 82//188
f 152//111 132//89 159//146
f 34//183 51//189 54//186
f 34//183 54//186 186//179
f 185//122 69//125 97//80
f 85//159 38//120 60//160
f 164//157 118//127 126//90
f 158//34 156//79 123//35
f 34//183 95//165 51//189
f 50//98 147//37 84//39
f 37//190 36//58 108//57
f 37//190 108//57 6//191
f 92//52 134//2 176//67
f 93//138 5//3 63//53
f 177//11 174//29 165//174
f 103//170 100//139 9//145
f 187//44 131//46 128//178
f 77//95 85//159 74//150
f 70//149 75//132 120//134
f 119//140 1//119 104//118
f 101//19 93//138 55//136
f 57//172 110//128 182//55
f 91//65 149//43 23//66
f 142//31 139//33 50//98
f 101//19 55//136 98//42
f 124//16 71//85 72//17
f 120//134 76//93 77//95
f 163//71 174//29 146//72
f 37//190 42//69 36//58
f 113//108 190//110 104//118
f 91//65 176//67 134//2
f 22//1 101//19 98//42
f 136//76 114//18 118//127
f 163//71 156//79 183//40
f 37//190 6//191 41//22
f 171//74 8//152 156//79
f 37//190 41//22 42//69
f 70//149 77//95 74//150
f 163//71 183//40 78//141
f 151//48 141//177 138//99
f 177//11 86//30 174//29
f 139//33 147//37 50//98
f 170//73 155//49 145//106
f 6//191 108//57 40//86
f 6//191 40//86 41//22
f 92//52 176//67 63//53
f 177//11 87//41 86//30
f 167//28 86//30 87//41
f 81//155 60//160 14//133
f 115//143 189//185 143//144
f 158//34 107//36 142//31
f 141//177 43//142 138//99
f 40//86 48//20 41//22
f 103//170 9//145 106//184
f 90//135 150//137 23//66
f 81//155 74//150 60//160
f 135//107 164//157 173//77
f 165//174 174//29 78//141
f 188//78 129//45 47//163
f 44//23 62//59 66//24
f 41//22 46//68 42//69
f 149//43 55//136 90//135
f 42//69 45//60 62//59
f 165//174 78//141 132//89

View file

@ -16,8 +16,7 @@
(close-input-port f)
o))
(printf "~a~n" (length world-list))
;(show-fps 1)
(clear)
(clear-shader-cache)
(clear-texture-cache)

View file

@ -13,7 +13,8 @@
(define controller%
(class object%
(init-field
(game-view #f))
(game-view #f)
(game-logic #f))
(field
(fwd (vector 0 0 1))
@ -60,40 +61,22 @@
fwd)
(define/public (setup)
(send game-logic set-stones (send game-view get-stones))
(lock-camera cam)
(camera-lag 0)
(send game-view set-cam cam)
(set-camera-transform (mtranslate (vector 0 0 -4))))
; moveme
(define (collide? line objs)
(foldl
(lambda (ob r)
(if r r
(with-primitive ob
(cond ((bb/point-intersect? (cadr line) 0)
(cond
((not (null? (geo/line-intersect
(car line) (cadr line))))
#t)
(else #f)))
(else #f)))))
#f
objs))
(define/public (update t d)
(when (not sent-welcome-text)
(send game-view display "going to your seed" 4)
(send game-view display "this is your seed" 4)
(send game-view display "you are now inside your seed" 4)
(send game-view display "look around with your cursor keys" 4)
(send game-view display "hold down space to grow" 4)
(set! sent-welcome-text #t))
(if (key-pressed "i")
(if (or (key-pressed "i") (key-pressed "I"))
(when debounce-i
(set! debounce-i #f)
(cond
@ -116,6 +99,8 @@
(set! seed-return #f)
(set! debounce-space #f)
(set! last-pos pos)
(send (send game-view get-plant (send player-plant get-id)) hide-twigs 0)
(cond (current-twig
(set! pos (vadd player-pos (send current-twig get-point current-point)))
(let ((new-twig (send player-plant add-sub-twig current-twig current-point
@ -136,7 +121,8 @@
(send game-view display "growing..." 4)
(send game-view display "keep holding space to go forward" 4)
(send game-view display "use your cursor keys to steer" 4)
(send game-view display "look for nutrients in the soil..." 4)
(send game-view display "look for nutrients in the soil" 4)
(send game-view display "nutrients allow you to grow further" 4)
(set! sent-growing-text #t)))
(when (and (key-pressed " ") current-twig-growing)
@ -152,10 +138,10 @@
(when (and (not current-twig-growing) (not (key-pressed " ")))
(set! debounce-space #t))
(when (or (key-pressed "a") (key-special-pressed 100)) (set! yaw (+ yaw 2)))
(when (or (key-pressed "d") (key-special-pressed 102)) (set! yaw (- yaw 2)))
(when (or (key-pressed "w") (key-special-pressed 101)) (set! tilt (- tilt 2)))
(when (or (key-pressed "s") (key-special-pressed 103)) (set! tilt (+ tilt 2)))
(when (or (key-pressed "a") (key-pressed "A") (key-special-pressed 100)) (set! yaw (+ yaw 2)))
(when (or (key-pressed "d") (key-pressed "D") (key-special-pressed 102)) (set! yaw (- yaw 2)))
(when (or (key-pressed "w") (key-pressed "W") (key-special-pressed 101)) (set! tilt (- tilt 2)))
(when (or (key-pressed "s") (key-pressed "S") (key-special-pressed 103)) (set! tilt (+ tilt 2)))
; clamp tilt to prevent gimbal lock
(when (> tilt 88) (set! tilt 88))
@ -172,6 +158,7 @@
(cond ((null? twig-stack)
(set! current-twig #f)
(set! pos player-pos)
(send (send game-view get-plant (send player-plant get-id)) hide-twigs 1)
(set! seed-return #f))
(else
(set! current-point (car (car twig-stack)))
@ -222,7 +209,9 @@
(let* ((side (vnormalise (vcross up fwd)))
(up (vnormalise (vcross fwd side))))
(set! cam-pos (vlerp cam-pos pos 0.95))
(set! cam-pos (vlerp cam-pos pos 0.9))
(oa-set-head-pos cam-pos fwd)
(with-primitive cam
(identity)

View file

@ -12,7 +12,9 @@
(provide (all-defined-out))
(define-struct player-info (jid pass tex pos col property))
(define-struct player-info (jid pass tex pos col property shape-params))
(define plant-colour (vector 0.5 0.55 0.45))
(define gui-game-mode%
(class object%
@ -23,20 +25,24 @@
(players (list
(make-player-info "plant0000001@fo.am" "plant0000001"
"textures/plant0000001.png" (list-ref (list-ref seed-obs 0) 2)
(vector 0.6 0.65 0.5)
'flower)
plant-colour
'flower
'(10 0))
(make-player-info "plant0000002@fo.am" "plant0000002"
"textures/plant0000002.png" (list-ref (list-ref seed-obs 1) 2)
(vector 0.6 0.65 0.5)
'leaf)
plant-colour
'leaf
'(20 0))
(make-player-info "plant0000004@fo.am" "plant0000004"
"textures/plant0000004.png" (list-ref (list-ref seed-obs 2) 2)
(vector 0.6 0.65 0.5)
'fork)
plant-colour
'fork
'(40 0))
(make-player-info "plant0000005@fo.am" "plant0000005"
"textures/plant0000005.png" (list-ref (list-ref seed-obs 3) 2)
(vector 0.6 0.65 0.5)
'horn)
plant-colour
'horn
'(50 0))
))
(seeds '())
(clicked -1))
@ -95,7 +101,7 @@
(field
(gl (make-object game-logic%))
(gv (make-object game-view%))
(c (make-object controller% gv))
(c (make-object controller% gv gl))
(cl #f)
(tick-time 0)
(player #f)
@ -110,7 +116,9 @@
(player-info-col pi)
(player-info-tex pi)
#t
(player-info-property pi)))
(player-info-property pi)
(player-info-shape-params pi)))
(send c set-player-plant player)
(send gl add-player player)
@ -126,7 +134,9 @@
(player-info-col player)
(player-info-tex player)
#f
(player-info-property player)))))
(player-info-property player)
(player-info-shape-params player)
))))
players)
(send c setup)
@ -135,7 +145,7 @@
(send cl setup))
(define/public (update t d)
(when (< tick-time t)
(cond ((< tick-time t)
(let ((messages (send gl update t d)))
@ -144,7 +154,7 @@
(set! tick-time (+ t logic-tick)))
(send gv update t d '())
(else (send gv update t d '())))
(send c update t d))
(super-new)))

View file

@ -4,7 +4,8 @@
(require scheme/class
fluxus-016/fluxus
"message.ss"
"list-utils.ss")
"list-utils.ss"
"path-gen.ss")
(provide (all-defined-out))
@ -20,18 +21,35 @@
(define num-pickups 10)
(define pickup-dist-radius 200)
(define pickup-size 1)
(define ornament-grow-probability 20)
(define ornament-grow-probability 4)
(define curl-amount 40)
(define start-size 50)
(define max-ornaments 10) ; per twig
(define max-ornaments 5) ; per twig
(define nutrient-twig-size-increase 2)
(define num-worms 10)
(define num-spiders 10)
(define num-butterflies 10)
(define auto-twig-var 5)
(define auto-time 1)
(define pickup-check-prob 2)
(define max-pickups 1000)
(define auto-time 10)
(define pickup-check-prob 20)
(define max-pickups 100)
(define insect-send-prob 3)
; moveme
(define (collide? line objs)
(foldl
(lambda (ob r)
(if r r
(with-primitive ob
(cond ((bb/point-intersect? (cadr line) 0)
(cond
((not (null? (geo/line-intersect
(car line) (cadr line))))
#t)
(else #f)))
(else #f)))))
#f
objs))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; the base class logic object - all logic side objects can
@ -73,7 +91,8 @@
(pos 0)
(type 'none)
(d (if (eq? type 'worm) (+ 20 (* 20 (rndf)))
(+ 10 (* 2 (rndf)))))) ; time to get from one place to another
(+ 10 (* 2 (rndf))))) ; time to get from one place to another
(mission-time -1))
(field
(next-update 0)
@ -93,19 +112,27 @@
(define/public (set-centre s)
(set! centre s))
(define/public (move-to p)
(set! mission-time 5)
(set! pos p))
(define (move)
; todo check stones
(let ((speed (if (eq? type 'worm) 5 50)))
(if (> (vdist pos centre) 100)
(set! pos (vadd pos (vmul (vnormalise (vsub centre pos)) speed)))
(set! pos (vadd pos (vmul (srndvec) speed))))
;(when (< (vdist pos centre) 12) (move))
(when (eq? type 'spider)
(set! pos (vector (vx pos) 0 (vz pos))))
(when (eq? type 'worm) (> (vy pos) -10)
(set! pos (vector (vx pos) 0 (vz pos))))
(when (and (eq? type 'butterfly) (< (vy pos) 50))
(set! pos (vector (vx pos) 50 (vz pos))))))
(when (> mission-time 0)
(set! pos (vadd pos (vmul (hsrndvec) 5))))
(when (< mission-time 0)
(let ((speed (if (eq? type 'worm) 5 50)))
(if (> (vdist pos centre) 100)
(set! pos (vadd pos (vmul (vnormalise (vsub centre pos)) speed)))
(set! pos (vadd pos (vmul (srndvec) speed))))
;(when (< (vdist pos centre) 12) (move))
(when (eq? type 'spider)
(set! pos (vector (vx pos) 0 (vz pos))))
(when (and (eq? type 'worm) (> (vy pos) -10))
(set! pos (vector (vx pos) -10 (vz pos))))
(when (and (eq? type 'butterfly) (< (vy pos) 50))
(set! pos (vector (vx pos) 50 (vz pos)))))))
(define/augment (update time delta)
(cond ((> time next-update)
@ -113,11 +140,16 @@
; todo: drop stuff
;(when (zero? (random pickup-drop-probability))
; (send cell set-pickup! 'default))
(set! next-update (+ time d))
(send-message 'insect-move (list
(list 'insect-id id)
(list 'pos pos)
(list 'duration d)))))
(let ((d (if (> mission-time 0) (/ d 3) d)))
(set! next-update (+ time d))
(send-message 'insect-move (list
(list 'insect-id id)
(list 'pos pos)
(list 'duration d))))))
(when (> mission-time 0)
(set! mission-time (- mission-time delta)))
'())
(super-new)))
@ -281,6 +313,9 @@
(let ((o (assq point-index ornaments)))
(if o (cadr o) #f)))
(define/public (get-random-ornament)
(if (null? ornaments) #f (cadr (choose ornaments))))
(define/public (room-for-new-ornament? point-index)
(and (not (get-ornament point-index))
(< (length ornaments) max-ornaments)))
@ -362,7 +397,7 @@
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; abilities live on twigs, and can do things.
; this is the base class for all abilities.
(define ornaments-above-ground '(flower leaf))
(define ornaments-above-ground '(flower leaf fork horn))
(define ornaments-below-ground '(inflatoe))
(define ornament-logic%
@ -383,6 +418,9 @@
(define/public (get-pos)
pos)
(define/public (get-global-pos)
(vadd (send plant get-pos) pos))
(define/public (drop-pickup type game-logic)
(when (eq? property 'inflatoe)
; put a pickup inside of the inflatoe
@ -437,7 +475,8 @@
(col (vector 1 1 1))
(tex "fff")
(is-player #f)
(implicit-property #f))
(implicit-property #f)
(shape-params '(0 0)))
(field
(twigs '()) ; a assoc list map of ids to twigs
@ -453,8 +492,7 @@
(auto-pilot-t 0)
(auto-pilot-d (* (+ 1 (rndf)) auto-time))
(auto-twig #f)
(auto-twig-dir (hsrndvec))
(auto-twig-pos (vector 0 0 0)))
(auto-path-gen (make-object path-gen% (car shape-params) (cadr shape-params))))
(inherit send-message)
@ -476,6 +514,9 @@
(define/public (get-twig-size)
twig-size)
(define/public (get-shape-params)
shape-params)
(define/public (grow pos)
(when leader-twig
(send leader-twig grow pos)
@ -536,6 +577,8 @@
(cons thing out))
(else (cons-twig thing (cdr in) (- count 1) (append out (list (car in)))))))
(define/public (get-random-ornament)
(if (null? twigs) #f (send (cadr (choose twigs)) get-random-ornament)))
(define/public (add-twig twig)
(send twig set-id! (get-next-twig-id))
@ -582,23 +625,22 @@
(send (cadr twig) serialise))
twigs))))
(define/public (run-auto-pilot t d)
(when (> t auto-pilot-t)
(define/public (run-auto-pilot t d stones)
(when (or (> t auto-pilot-t) (< (length twigs) 3))
(set! auto-pilot-t (+ t auto-pilot-d))
(when (or (not auto-twig) (not (send auto-twig growing?)))
(set! auto-twig-dir (hsrndvec))
(set! auto-twig-pos auto-twig-dir)
(set! auto-twig (make-object twig-logic% (vector 0 0 0) 0 this 'root
auto-twig-dir
(let ((auto-twig-dir (hsrndvec)))
(send auto-path-gen reset auto-twig-dir auto-twig-dir)
(set! auto-twig (make-object twig-logic% (vector 0 0 0) 0 this 'root
auto-twig-dir
start-twig-width
twig-size
'extruded))
'extruded)))
(add-twig auto-twig))
(set! auto-twig-dir (vmul (vnormalise (vadd auto-twig-dir (vmul (srndvec) auto-twig-var)))
(send auto-twig get-dist)))
(set! auto-twig-pos (vadd auto-twig-pos auto-twig-dir))
(grow auto-twig-pos)))
(let ((pos (send auto-path-gen get-pos (send auto-twig get-dist))))
(when (not (collide? pos stones))
(grow pos)))))
(define/augment (update t d)
; grow a new ornament?
@ -611,8 +653,8 @@
(when (and (send twig room-for-new-ornament? point-index)
; check we can grow here
(not (or (and (list-contains property ornaments-above-ground) (< (vy pos) -2))
(and (list-contains property ornaments-below-ground) (> (vy pos) 2)))))
(and (or (not (list-contains property ornaments-above-ground)) (> (vy pos) 5))
(or (not (list-contains property ornaments-below-ground)) (< (vy pos) -5))))
(send twig add-ornament point-index
(make-object ornament-logic%
(get-next-ornament-id)
@ -637,10 +679,14 @@
(player #f)
(insects '())
(next-pickup-id 0)
(next-insect-id 0))
(next-insect-id 0)
(stones '()))
(inherit send-message)
(define/public (set-stones s)
(set! stones s))
(define/public (new-pickup-id)
(let ((r next-pickup-id))
(set! next-pickup-id (+ next-pickup-id 1)) r))
@ -670,7 +716,9 @@
(list 'pos (send plant get-pos))
(list 'size (send plant get-size))
(list 'col (send plant get-col))
(list 'tex (send plant get-tex))))
(list 'tex (send plant get-tex))
(list 'curve (car (send plant get-shape-params)))
(list 'corner (cadr (send plant get-shape-params)))))
(set! player plant)
(set! plants (cons plant plants))
@ -685,7 +733,9 @@
(list 'pos (send plant get-pos))
(list 'size (send plant get-size))
(list 'col (send plant get-col))
(list 'tex (send plant get-tex))))
(list 'tex (send plant get-tex))
(list 'curve (car (send plant get-shape-params)))
(list 'corner (cadr (send plant get-shape-params)))))
(set! plants (cons plant plants)))
(define/public (add-pickup pickup)
@ -706,14 +756,24 @@
(set! insects (cons insect insects)))
(define/public (serialise)
(send player serialise))
; send player-plant serialise I think...
0)
(define/public (insect-send)
(let ((ornament (send (choose plants) get-random-ornament)))
(when (and ornament
(not (eq? (send ornament get-property) 'inflatoe))
#;(or (eq? (send ornament get-property) 'flower)
(eq? (send ornament get-property) 'horn)))
(let ((insect (choose insects)))
(when (eq? (send insect get-type) 'butterfly)
(send insect move-to (send ornament get-global-pos)))))))
(define/public (run-auto-pilot t d)
(for-each
(lambda (plant)
(when (not (eq? plant player))
(send plant run-auto-pilot t d)))
(send plant run-auto-pilot t d stones)))
plants))
@ -724,6 +784,9 @@
(run-auto-pilot t d)
(when (zero? (random insect-send-prob))
(insect-send))
(for-each
(lambda (pickup)
(for-each

View file

@ -3,7 +3,8 @@
#lang scheme/base
(require scheme/class
fluxus-016/fluxus
"sound.ss")
"sound.ss"
"list-utils.ss")
(provide (all-defined-out))
@ -13,11 +14,31 @@
(define (property->ornament property pos width dir col)
(make-object (cond
((eq? property 'horn) horn-ornament-view%)
((eq? property 'inflatoe) inflatoe-ornament-view%)
((eq? property 'leaf) leaf-ornament-view%)
((eq? property 'flower) flower-ornament-view%)
((eq? property 'fork) fork-ornament-view%)
;((eq? property 'horn) horn-ornament-view%)
;((eq? property 'leaf) leaf-ornament-view%)
;((eq? property 'flower) flower-ornament-view%)
;((eq? property 'fork) fork-ornament-view%)
; horn
((eq? property 'horn) (choose (list horn-ornament-view%
fork-ornament-view%
flower-ornament-view%)))
; fork
((eq? property 'flower) (choose (list tot-flower-ornament-view%
tot-bud-ornament-view%)))
; flower
((eq? property 'fork) (choose (list tot-hanger-ornament-view%
tot-mushroom-ornament-view%)))
; leaf
((eq? property 'leaf) (choose (list tot-leaf-ornament-view%
tot-leaf2-ornament-view%)))
(else (error "can't find ornament for property " property)))
pos width dir col))
@ -39,7 +60,7 @@
(const-scale 4)
(rot (vector 0 0 0))
(excitation-changed #f)
(root (build-root))
(root (let ((p (with-state (build-root)))) (with-primitive p (hide 1)) p))
(particles (if (want-particles?)
(let ((p (with-state
(parent root)
@ -71,11 +92,15 @@
(destroy root))
(define/pubment (want-particles?)
(inner #f want-particles?))
#f
#;(inner #f want-particles?))
(define/pubment (centred?)
(inner #f centred?))
(define/pubment (fixed?)
(inner #f fixed?))
(define/pubment (want-morph?)
(inner #f want-morph?))
@ -97,10 +122,15 @@
(when (< time 1)
(with-primitive root
(hide 0)
(identity)
(translate pos)
(concat (maim dir (vector 0 1 0)))
(rotate rot)
(cond ((fixed?)
(concat (maim (vcross dir (vector 0 1 0)) (vector 0 1 0)))
(rotate (vector 0 90 -90)))
(else
(concat (maim dir (vector 0 1 0)))
(rotate rot)))
(scale (* const-scale sc 0.2 time))
(when (not (centred?))
(translate (vector 0 0 0.8)))
@ -112,7 +142,9 @@
(identity)
(translate pos)
(concat (maim dir (vector 0 1 0)))
(rotate rot)
(if (fixed?)
(concat (maim (vtransform (vector 0 1 0) (get-transform)) (vector 0 1 0)))
(rotate rot))
(scale (* const-scale sc 0.2 (/ shrink-t 10)))
(when (not (centred?))
(translate (vector 0 0 0.8)))
@ -134,13 +166,6 @@
(when (< ev-time 0)
(play-sound "snd/wateringcan.wav" pos (+ 0.1 (rndf)) 0.3)
#;(with-primitive root
(identity)
(translate pos)
(concat (maim dir (vector 0 1 0)))
(rotate rot)
(scale (* const-scale sc 0.2 ev-time)))
; todo inherit and call event happen or somesuch
(when (want-particles?)
(with-primitive particles
@ -162,43 +187,50 @@
(define leaf-ornament-view%
(class ornament-view%
(inherit-field col rot)
(inherit-field col rot pos)
(define/augment (centred?) #t)
(define/augment (build-root)
(colour col)
(texture (load-texture "textures/leaf.png"))
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(set! rot (vector 0 0 0))
(load-primitive "meshes/leaf.obj"))
(let ((p (load-primitive "meshes/leaf.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define horn-ornament-view%
(class ornament-view%
(inherit-field rot col)
(inherit-field rot col pos)
(define/augment (want-particles?) #t)
(define/augment (build-root)
(texture (load-texture "textures/wiggle.png"))
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour col)
(set! rot (vector (* (rndf) 360) 0 0))
(load-primitive "meshes/horn.obj"))
(let ((p (load-primitive "meshes/horn.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define inflatoe-ornament-view%
(class ornament-view%
(inherit-field rot col)
(inherit-field rot col pos)
(define/augment (want-morph?) #t)
(define/augment (build-root)
(shader "shaders/toon.vert.glsl" "shaders/textoon.frag.glsl")
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(texture (load-texture "textures/wiggle.png"))
(colour col)
(set! rot (vector (* (rndf) 360) 0 0))
(let ((p (load-primitive "meshes/inflatoe-full.obj")))
(let ((dp (load-primitive "meshes/inflatoe-empty.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))
(pdata-copy "p" "p1")
(pdata-add "p2" "v")
(pdata-index-map!
@ -214,27 +246,116 @@
(define fork-ornament-view%
(class ornament-view%
(inherit-field rot col)
(inherit-field rot col pos)
(define/augment (build-root)
(texture (load-texture "textures/wiggle.png"))
(shader "shaders/toon.vert.glsl" "shaders/textoon.frag.glsl")
;(texture (load-texture "textures/wiggle.png"))
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour col)
(set! rot (vector (* (rndf) 360) 0 0))
(load-primitive "meshes/fork.obj"))
(let ((p (load-primitive "meshes/fork.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define flower-ornament-view%
(class ornament-view%
(inherit-field rot col)
(inherit-field rot col pos)
(define/augment (build-root)
(texture (load-texture "textures/wiggle.png"))
(shader "shaders/toon.vert.glsl" "shaders/textoon.frag.glsl")
(colour col)
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour (hsv->rgb (vector 0.9 0.5 (+ 0.5 (* 0.5 (rndf))))))
(set! rot (vector (* (rndf) 360) 0 0))
(load-primitive "meshes/flower.obj"))
(let ((p (load-primitive "meshes/flower.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define tot-flower-ornament-view%
(class ornament-view%
(inherit-field rot col pos)
(define/augment (build-root)
;(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour (hsv->rgb (vector 0.7 0.5 (+ 0.5 (* 0.5 (rndf))))))
(set! rot (vector (* (rndf) 360) 0 0))
(let ((p (load-primitive "meshes/tot-flower.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define tot-bud-ornament-view%
(class ornament-view%
(inherit-field rot col pos)
(define/augment (build-root)
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour (hsv->rgb (vector 0.7 0.5 (+ 0.5 (* 0.5 (rndf))))))
(set! rot (vector (* (rndf) 360) 0 0))
(let ((p (load-primitive "meshes/tot-bud.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define tot-mushroom-ornament-view%
(class ornament-view%
(inherit-field rot col pos)
(define/augment (build-root)
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour col)
(set! rot (vector (* (rndf) 360) 0 0))
(let ((p (load-primitive "meshes/tot-mushroom.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define tot-leaf2-ornament-view%
(class ornament-view%
(inherit-field rot col pos)
(define/augment (build-root)
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour col)
(set! rot (vector (* (rndf) 360) 0 0))
(let ((p (load-primitive "meshes/tot-leaf2.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define tot-hanger-ornament-view%
(class ornament-view%
(inherit-field rot col pos)
(define/augment (fixed?) #t)
(define/augment (build-root)
;(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(colour col)
;(set! rot (vector (* (rndf) 360) 0 0))
(let ((p (load-primitive "meshes/tot-hanger.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define tot-leaf-ornament-view%
(class ornament-view%
(inherit-field col rot pos)
(define/augment (centred?) #t)
(define/augment (build-root)
(colour col)
(texture (load-texture "textures/leaf.png"))
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(set! rot (vector 0 0 0))
(let ((p (load-primitive "meshes/tot-leaf.obj")))
(with-primitive p
(shader-set! (list "Origin" pos))) p))
(super-new)))

View file

@ -4,10 +4,11 @@
(require scheme/class fluxus-016/fluxus)
(provide (all-defined-out))
(define audio-on #f)
(define audio-on #t)
(when audio-on (oa-start)) ;; start openAL audio
(oa-set-acoustics 1 10000 1 5)
(oa-set-cull-dist 100)
(define (play-sound sound pos freq vol)
(when audio-on (let ((noise (oa-load-sample (fullpath sound))))

View file

@ -7,7 +7,8 @@
"sound.ss"
"message.ss"
"list-utils.ss"
"ornament-views.ss")
"ornament-views.ss"
"path-gen.ss")
(provide (all-defined-out))
@ -19,10 +20,11 @@
(define (pickup-colour) (vector 1 1 1))
(define (earth-colour) (vector 0 0 0))
(define (dust-colour) (vmul (vector 0.05 0.05 0.05) (* 2 (rndf))))
(define (stones-colour) (vector 0.6 0.5 0.4))
(define (stones-colour) (vector 0.55 0.5 0.45))
(define (alive-colour) (vmul (vector 1 1 1) (+ 0.5 (* (rndf) 0.5))))
(define (worm-colour) (vmul (vector 1.0 0.8 0.8) (+ 0.5 (* (rndf) 0.5))))
(define (marker-colour) (vector 1.0 1.0 0.5))
(define (marker-colour) (vector 0.3 0.8 0.3))
(define (sky-colour) (vdiv (vector 170 153 135) 256))
(define wire-mode #f)
(define fog-col (earth-colour))
@ -129,8 +131,8 @@
(field
(to from)
(from-dir (vector 1 0 0))
(to-dir (vector 1 0 0))
(from-dir (vector 0 0 0))
(to-dir (vector 0 0 0))
(time 0)
(tick 1)
(speed 0))
@ -212,7 +214,10 @@
(inherit do-tx)
(field
(root (let ((p (build-locator)))
(root (let ((p (with-state
(hint-unlit)
(colour 0)
(load-primitive "meshes/butterfly-body.obj"))))
(with-state
(colour (rndvec))
(parent p)
@ -440,7 +445,7 @@
(define/public (set-col! s) (set! col s))
(define/public (set-tex! s) (set! tex s))
(define/public (get-pos) pos)
(define/public (build) 0)
(define/public (build sp) 0)
(define/public (get-num-points) index)
(define/public (get-grow-t) grow-t)
(define/public (set-pos! s) (set! pos s))
@ -471,18 +476,26 @@
(inner (void) start-shrinking))
(define/pubment (add-point point width make-marker)
(play-sound "snd/event01.wav" point (+ 0.1 (rndf)) 0.3)
(when make-marker
(set! markers (append markers (list (with-state
(play-sound "snd/event01.wav" point (+ 0.1 (rndf)) 0.3)
(set! markers (append markers (list (let ((p (with-state
(parent (get-root))
(translate point)
(scale 0.1)
(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(scale 0.001)
(colour (marker-colour))
(build-sphere 8 8))))))
(build-sphere 8 8)))) (with-primitive p (shader-set! (list "Pos" point))) p)))))
(inner (void) add-point point width make-marker))
(define/pubment (update-markers t d)
(for-each
(lambda (marker)
(with-primitive marker
(let ((sc (vmag (vtransform-rot (vector 0 1 0) (get-transform)))))
(when (< sc 0.1)
(scale (+ 1.0 (* d 1)))))))
markers))
(define/public (add-ornament point-index property)
(when (< point-index grow-t)
(play-sound "snd/nix.00203.wav" (get-point point-index) (+ 0.1 (rndf)) 0.3)
@ -504,6 +517,8 @@
(define/pubment (update t d)
(inner (void) update t d)
(update-markers t d)
(when (> shrink-t 0)
(set! shrink-t (- shrink-t (* d grow-speed))))
@ -518,7 +533,6 @@
(destroy (car markers))
(set! markers (cdr markers))))
(when (> grow-t (+ num-points 10))
(set! grow-t 999)))
@ -541,18 +555,18 @@
(finalised #f))
(define/override (build)
(define/override (build sp)
(set! grow-speed (* grow-speed 5))
(set! root (let ((p (with-state
(translate pos)
(hint-frustum-cull)
(colour col)
(hint-unlit)
(shader "shaders/spark.vert.glsl" "shaders/spark.frag.glsl")
(shader "shaders/ribbon.vert.glsl" "shaders/ribbon.frag.glsl")
(texture (load-texture "textures/ribbon-twig.png"))
(build-ribbon num-points))))
(with-primitive p
(shader-set! (list "Base" 0))
(shader-set! (list "Base" 0 "Origin" pos))
(pdata-map!
(lambda (w)
0)
@ -650,7 +664,8 @@
(class object%
(init-field
(par 0)
(col (vector 1 1 1)))
(col (vector 1 1 1))
(shape-params '(0 0)))
(field
(twigs '()))
@ -666,15 +681,13 @@
(send t set-col! col)
(with-state
(parent par)
(send t build))
(let ((m (mrotate (vmul (srndvec) 45)))
(send t build shape-params))
(let ((path-gen (make-object path-gen% (car shape-params) (cadr shape-params)
(vector 0 0 0) (send t get-dir)))
(ppos (vector 0 0 0)))
(for ((i (in-range 0 length)))
(let ((dir (vtransform (send t get-dir) m))
(width (if (eq? i (- length 1)) 0 (/ width (+ i 1)))))
(send t set-dir! dir)
(send t add-point ppos width #f)
(set! ppos (vadd ppos (vmul dir (* 5 width)))))))
(let ((width (if (eq? i (- length 1)) 0 (/ width (+ i 1)))))
(send t add-point (send path-gen get-pos (* 5 width)) width #f))))
(send t start-growing)
t))
@ -779,9 +792,11 @@
(widths '())
(fins '())
(twiglets '())
(finalised #f))
(finalised #f)
(shape-params '(0 0)))
(define/override (build)
(define/override (build sp)
(set! shape-params sp)
(set! profile (build-circle-points 7 1))
(set! path (build-list num-points (lambda (_) (vector 0 0 0))))
(set! widths (build-list num-points (lambda (_) 1)))
@ -790,18 +805,13 @@
(when wire-mode
(hint-none)
(hint-wire))
(shader "shaders/twig.vert.glsl" "shaders/twig.frag.glsl")
;(shader "shaders/toon.vert.glsl" "shaders/toon.frag.glsl")
(texture (load-texture "textures/cells-1.png"))
;(multitexture 1 (load-texture "textures/cells-2.png"))
;(multitexture 2 (load-texture "textures/cells-3.png"))
;(multitexture 3 (load-texture "textures/root-norm.png"))
(colour col)
#;(colour (vector 1 1 1))
#;(texture (load-texture "textures/root.png"))
(ambient (vmul col 0.5))
(shader "shaders/tree.vert.glsl" "shaders/tree.frag.glsl")
(texture (load-texture "textures/root-norm.png"))
(colour col)
(build-partial-extrusion profile path 3))))
(with-primitive p
(shader-set! (list "Maps" (list 0 1 2) "NormalMap" 3)))
(shader-set! (list "NormalMap" 0)))
p)))
@ -872,7 +882,7 @@
(< grow-t num-points)
(> grow-t 3)
(< (length twiglets) max-twiglets-per-twig))
(let ((t (make-object twiglets% (get-root) col))
(let ((t (make-object twiglets% (get-root) col shape-params))
(pi (inexact->exact (floor grow-t))))
(send t build (get-point pi) dir (/ (get-width pi) 2) 20)
(set! twiglets (cons t twiglets))))
@ -908,7 +918,8 @@
(size 0)
(col (vector 1 1 1))
(tex "")
(is-player #f))
(is-player #f)
(shape-params '(0 0)))
(field
(twigs '()) ; a assoc list map between ids and twigs stored flat here,
@ -926,6 +937,7 @@
(backfacecull 0)
(opacity 0.75)
(colour col)
(ambient (vmul col 0.5))
(hint-depth-sort)
(scale (* 0.06 size))
(when wire-mode
@ -939,7 +951,7 @@
(dust (if is-player (with-state
(parent root)
(make-object dust%)) #f))
(nutrients (if is-player (let ((p (with-state
(nutrients (if (and #f is-player) (let ((p (with-state
(hint-depth-sort)
(hint-unlit)
(parent root)
@ -1025,7 +1037,7 @@
(send twig set-col! col)
(send twig set-tex! tex)
(send twig build)
(send twig build shape-params)
(with-primitive (send twig get-root)
(parent root))
@ -1047,6 +1059,13 @@
(when (get-twig twig-id)
(send (get-twig twig-id) add-ornament point-index property)))
(define/public (hide-twigs s)
(for-each
(lambda (twig)
(with-primitive (send (cadr twig) get-root)
(hide s)))
twigs))
(define/public (set-excitations! a b)
(for-each
(lambda (twig)
@ -1054,7 +1073,7 @@
twigs))
(define/public (nutrient-absorb twig-id twig-point)
(when is-player
(when nutrients
(with-primitive nutrients
(let ((p (random (pdata-size))))
(pdata-set! "twig" p twig-id)
@ -1064,7 +1083,7 @@
send (get-twig twig-id) get-width twig-point)))))))
(define/public (update-nutrients t d)
(when (and is-player (not (null? twigs)))
(when (and nutrients (not (null? twigs)))
(with-primitive nutrients
(pdata-index-map!
(lambda (i p twig-id point offset speed)
@ -1106,7 +1125,7 @@
(update-nutrients t d)
(with-primitive seed
#;(with-primitive seed
(scale (+ 1 (* 0.001 (sin (* 2 t))))))
(for-each
(lambda (twig)
@ -1181,8 +1200,8 @@
(field
(cam #f)
(hud (build-locator))
(grow-mode-hud
(let ((p (with-state
(grow-mode-hud (build-locator)
#;(let ((p (with-state
(parent hud)
(translate (vector 0 0 3))
(scale (vector 1.3 1 1))
@ -1205,7 +1224,7 @@
(lambda (_)
(let ((p (with-state
(parent hud)
(hint-unlit)
;(hint-unlit)
(colour 0.5)
(build-sphere 8 8))))
(with-primitive p (hide 1)) p))))
@ -1242,7 +1261,7 @@
(define/public (display text time)
(set! new-text #t)
(set! text-list (append text-list (list (list time (let ((t (with-state
(build-type "meshes/zeimusu_-_Let_s_Trace_Basic.ttf" text))))
(build-type "meshes/pensharp.ttf" text))))
(let* ((p (type->poly t))
(shad (build-copy p)))
(destroy t)
@ -1251,7 +1270,7 @@
(parent hud)
(hint-unlit)
(colour 1)
(scale 0.08)
(scale 0.04)
(translate (vector 0 10 0))
; subtract the centre point to centre the text
(let ((c (vdiv (pdata-fold vadd (vector 0 0 0) "p") (pdata-size))))
@ -1283,11 +1302,22 @@
(define/public (scrub-marker)
(with-primitive (list-ref markers next-marker)
(hide 1))
;(hide 1)
(scale 0.99))
(set! next-marker (+ next-marker 1)))
(define/pubment (update-markers t d)
(for-each
(lambda (marker)
(with-primitive marker
(let ((sc (vmag (vtransform-rot (vector 0 1 0) (get-transform)))))
(when (and (< sc 0.1) (> sc 0))
(scale (- 1.0 (* d 1)))))))
markers))
(define/public (update t d)
(update-text t d)
(update-markers t d)
(when (< grow-mode-hud-t 1)
(with-primitive grow-mode-hud
(opacity (if grow-mode-hud-state
@ -1373,20 +1403,23 @@
(cond
((eq? (list-ref stone 0) 'stone)
(colour (stones-colour))
(shader "shaders/twig.vert.glsl" "shaders/twig.frag.glsl"))
(ambient (vmul (stones-colour) 0.5))
(shader "shaders/tree.vert.glsl" "shaders/rocks.frag.glsl")
(texture (load-texture "textures/root-norm.png")))
((eq? (list-ref stone 0) 'tree)
(colour (vector 0.45 0.4 0.3))
(ambient 0)
(shader "shaders/tree.vert.glsl" "shaders/tree.frag.glsl")
(ambient (vmul (vector 0.45 0.4 0.3) 0.5))
(shader "shaders/tree.vert.glsl" "shaders/rocks.frag.glsl")
(texture (load-texture "textures/root-norm.png")))
((eq? (list-ref stone 0) 'bg)
(hint-unlit)
(translate (vector 0 12 0))
(colour 1)
(texture (load-texture "textures/bg.png"))))
(texture (load-texture "textures/bg3.png"))))
(load-primitive (list-ref stone 1)))))
(with-primitive p
(when (eq? (list-ref stone 0) 'stone)
#;(when (eq? (list-ref stone 0) 'stone)
(pdata-map!
(lambda (t)
(vmul t 4))
@ -1395,34 +1428,55 @@
(recalc-bb)) ; apply the transform to speed up the ray tracing, don't have to tranform the ray into object space
p))
(list-ref world-list 2)))
(set! floor (let ((p (with-state
#;(set! floor (let ((p (with-state
(hint-none)
(hint-unlit)
(colour 0.2)
(texture (load-texture "textures/stone.png"))
(hint-wire)
(colour 0.5)
;(opacity 0.2)
(texture (load-texture "textures/top.png"))
(hint-vertcols)
(translate (vector 0 0 0))
(rotate (vector 90 0 0))
(scale 1000)
(scale 500)
(line-width 2)
(backfacecull 0)
(build-seg-plane 10 10))))
(build-seg-plane 80 80))))
(with-primitive p
(poly-convert-to-indexed)
(pdata-map!
(lambda (t)
(vmul t 10))
"t")) p))
"t")
(pdata-map!
(lambda (c)
(vmul (vector 1 0.8 0.7) (rndf)))
"c")
(pdata-map!
(lambda (p)
(vadd p (vmul (grndvec) 0.001)))
"p")) p))
(with-state ; cap the top of the world
(translate (vector 0 300 0))
(rotate (vector 90 0 0))
(scale 5000)
(hint-unlit)
(colour (sky-colour))
(build-plane))
(below-ground))
(define/public (set-cam s)
(send grow-hud set-cam s))
(define/public (above-ground)
(with-primitive floor
#;(with-primitive floor
(colour (vector 0.4 0.6 0.4))
(texture (load-texture "textures/top.png")))
(for-each
(lambda (plant)
(send (cadr plant) above-ground))
plants)
(for-each
#;(for-each
(lambda (pickup)
(with-primitive (send (cadr pickup) get-root) (hide 1)))
pickups)
@ -1430,14 +1484,14 @@
(set! ground-change-t ground-change-duration))
(define/public (below-ground)
(with-primitive floor
#;(with-primitive floor
(texture (load-texture "textures/top.png"))
(colour (vector 0.4 0.6 0.4)))
(for-each
(lambda (plant)
(send (cadr plant) below-ground))
plants)
(for-each
#;(for-each
(lambda (pickup)
(with-primitive (send (cadr pickup) get-root) (hide 0)))
pickups)
@ -1450,9 +1504,13 @@
(let* ((t (max 0 (/ ground-change-t ground-change-duration)))
(anim-t (if going-up t (- 1 t))))
(set-fov 53 0.1 (lerp 500 500 anim-t))
(clear-colour (vmix fog-col above-fog-col anim-t))
(fog (vmix fog-col above-fog-col anim-t) (lerp fog-strength above-fog-strength anim-t) 1 100))))
(set-fov 53 0.1 (lerp 1000 1000 anim-t))
(clear-colour fog-col)
;(clear-colour (vmix fog-col above-fog-col anim-t))
;(fog (vmix fog-col above-fog-col anim-t) (lerp fog-strength above-fog-strength anim-t) 1 100)
)
)
)
(define/public (get-stones)
stones)
@ -1518,11 +1576,11 @@
(display
(cond
((eq? type 'nutrient) "found a nutrient")
((eq? type 'leaf) "found a leaf growing ability")
((eq? type 'horn) "found a horn growing ability")
((eq? type 'leaf) "found a nutrient from the leaf plant")
((eq? type 'horn) "found a nutrient from the horn plant")
((eq? type 'inflatoe) "found an inflatoe growing ability")
((eq? type 'fork) "found a fork growing ability")
((eq? type 'flower) "found a flower growing ability")) 4))))))
((eq? type 'fork) "found a nutrient from the hanging plant")
((eq? type 'flower) "found a nutrient from the flower plant")) 4))))))
(define/public (add-ornament plant-id twig-id point-index property)
(when (get-plant plant-id)
@ -1576,6 +1634,8 @@
(send msg print))
messages))
;(when (> (length messages) 0) (printf "~a~n" (length messages)))
(set! pickups (filter
(lambda (pickup)
(not (send (cadr pickup) delme?)))
@ -1591,7 +1651,10 @@
(send msg get-data 'pos)
(send msg get-data 'size)
(send msg get-data 'col)
(send msg get-data 'tex) #t)))
(send msg get-data 'tex)
#t
(list (send msg get-data 'curve)
(send msg get-data 'corner)))))
((eq? (send msg get-name) 'new-plant)
(printf "adding new plant to view ~a~n" (send msg get-data 'plant-id))
@ -1600,7 +1663,10 @@
(send msg get-data 'pos)
(send msg get-data 'size)
(send msg get-data 'col)
(send msg get-data 'tex))))
(send msg get-data 'tex)
#f
(list (send msg get-data 'curve)
(send msg get-data 'corner)))))
((eq? (send msg get-name) 'grow-seed)

View file

@ -0,0 +1,14 @@
varying vec2 T;
uniform sampler2D BaseMap;
varying vec3 P;
uniform vec3 Origin;
void main()
{
vec4 MidColour=mix(vec4(0.171,0.273,0.336,1),
gl_FrontMaterial.diffuse,
smoothstep(-5.0,5.0,P.y+Origin.y));
gl_FragColor = vec4(MidColour.xyz*texture2D(BaseMap, T).xyz,1);
}

View file

@ -0,0 +1,9 @@
varying vec2 T;
varying vec3 P;
void main()
{
T = gl_MultiTexCoord0.xy;
P = gl_Vertex.xyz;
gl_Position = ftransform();
}

View file

@ -0,0 +1,43 @@
varying vec3 N;
varying vec3 L;
varying vec3 V;
varying vec2 T;
varying vec3 P;
uniform sampler2D NormalMap;
void main()
{
vec3 bump = normalize(texture2D(NormalMap,T).xyz*2.0-1.0)-vec3(0,0,1);
vec3 n = normalize(N);
vec3 bn = normalize(N+bump*2.0);
vec3 l = normalize(L);
vec3 v = normalize(V);
float HighlightSize=0.1;
float ShadowSize=0.2;
float OutlineWidth=0.2;
//vec4 MidColour=gl_FrontMaterial.diffuse;
//if(P.y<0) MidColour=vec4(1,1,1,1);
vec4 MidColour=mix(vec4((1-gl_FrontMaterial.diffuse.r)*0.2f,
(1-gl_FrontMaterial.diffuse.g)*0.2f,
(1-gl_FrontMaterial.diffuse.b)*0.2f,1),
gl_FrontMaterial.diffuse,
smoothstep(-5.0,5.0,P.y));
vec4 HighlightColour=MidColour*1.3;
vec4 ShadowColour=MidColour*0.6;
MidColour.a=1.0;
HighlightColour.a=1.0;
ShadowColour.a=1.0;
float lambert = dot(l,bn);
vec4 colour = MidColour;
if (lambert > 1.0-HighlightSize) colour = HighlightColour;
if (lambert < ShadowSize) colour = ShadowColour;
//if (dot(n,v) < OutlineWidth) colour = vec4(0,0,0,1);
gl_FragColor = vec4(colour.rgb,1);
}

View file

@ -1,6 +1,7 @@
varying vec3 N;
varying vec3 L;
varying vec3 V;
varying vec3 P;
varying vec2 T;
uniform sampler2D Maps[3];
uniform sampler2D NormalMap;
@ -18,7 +19,10 @@ void main()
float ShadowSize=0.2;
float OutlineWidth=0.2;
vec4 MidColour=gl_FrontMaterial.diffuse;
vec4 MidColour=mix(vec4(0.171,0.273,0.336,1),
gl_FrontMaterial.diffuse,
smoothstep(-5.0,5.0,P.y));
vec4 HighlightColour=MidColour*1.3;
vec4 ShadowColour=MidColour*0.6;
MidColour.a=1.0;

View file

@ -2,7 +2,9 @@ varying vec3 N;
varying vec3 L;
varying vec3 V;
varying vec2 T;
varying vec3 P;
uniform sampler2D BaseMap;
uniform vec3 Origin;
void main()
{
@ -15,8 +17,9 @@ void main()
float OutlineWidth=0.2;
vec4 MidColour=gl_FrontMaterial.diffuse;
vec4 HighlightColour=MidColour*2.0;
vec4 ShadowColour=MidColour*0.5;
if (Origin.y<0) MidColour=vec4(0.171,0.273,0.336,1);
vec4 HighlightColour=MidColour*1.3;
vec4 ShadowColour=MidColour*0.6;
HighlightColour.a=1.0;
ShadowColour.a=1.0;
@ -27,5 +30,5 @@ void main()
if (dot(n,v) < OutlineWidth) colour = vec4(0,0,0,1);
if (dot(n,v) < 0.0) colour = MidColour*texture2D(BaseMap, T);
gl_FragColor = colour;
gl_FragColor = vec4(colour.xyz,1);
}

View file

@ -2,6 +2,7 @@ varying vec3 N;
varying vec3 L;
varying vec3 V;
varying vec2 T;
varying vec3 P;
uniform sampler2D NormalMap;
void main()
@ -16,7 +17,10 @@ void main()
float ShadowSize=0.2;
float OutlineWidth=0.2;
vec4 MidColour=gl_FrontMaterial.diffuse;
vec4 MidColour=mix(vec4(0.171,0.273,0.336,1),
gl_FrontMaterial.diffuse,
smoothstep(-5.0,5.0,P.y));
vec4 HighlightColour=MidColour*1.3;
vec4 ShadowColour=MidColour*0.6;
MidColour.a=1.0;
@ -32,6 +36,6 @@ void main()
// add linear fog
//float fog_factor = clamp((gl_Fog.end - gl_FogFragCoord) * gl_Fog.scale, 0.0, 1.0);
//gl_FragColor = mix(gl_Fog.color, colour, fog_factor);
gl_FragColor = vec4(colour.rgb+gl_FrontMaterial.ambient.rgb,1);
gl_FragColor = vec4(colour.rgb,1);
}

BIN
plant-eyes/textures/bg3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

File diff suppressed because one or more lines are too long