added world, seed and camera following roots

This commit is contained in:
Dave Griffiths 2009-06-20 01:11:20 +01:00
parent d5f08b881b
commit 386d1560dc
17 changed files with 909 additions and 23 deletions

BIN
fpp/blender/seed.blend Normal file

Binary file not shown.

View file

@ -1,5 +1,7 @@
(require scheme/class) (require scheme/class)
(clear)
(define (build-ring n sr er) (define (build-ring n sr er)
(let ((p (build-polygons (+ (* n 2) 2) 'triangle-strip))) (let ((p (build-polygons (+ (* n 2) 2) 'triangle-strip)))
(with-primitive p (with-primitive p
@ -9,9 +11,11 @@
(s (if (odd? i) sr er))) (s (if (odd? i) sr er)))
(vector (* (cos a) s) (* (sin a) s) (if (odd? i) 0 1)))) (vector (* (cos a) s) (* (sin a) s) (if (odd? i) 0 1))))
"p") "p")
(recalc-normals 1)) (recalc-normals 1))
p)) p))
(define camera (build-locator))
(define twig% (define twig%
(class object% (class object%
@ -29,49 +33,67 @@
(define/public (build pos dir) (define/public (build pos dir)
(with-primitive root (with-primitive root
(translate pos) (translate pos)
(if dir (concat (maim dir (vector 0 0 1))) (cond (dir
(rotate (vmul (crndvec) 20))))) (concat (maim dir (vector 0 0 1)))
(rotate (vector 0 -90 0)))
(else (rotate (vmul (crndvec) 20))))))
(define/public (update) (define/public (update)
(for-each
(lambda (child)
(send child update))
child-twigs)
(when (and (< age size) (< next-ring-time (time))) (when (and (< age size) (< next-ring-time (time)))
(set! next-ring-time (+ (time) speed)) (set! next-ring-time (+ (time) speed))
(with-state (let ((p (with-state
(parent root) (parent root)
(hint-none) (hint-depth-sort)
(hint-wire) (colour (vector 0.8 1 0.6))
(backfacecull 0) (texture (load-texture "textures/skin.png"))
;(hint-none)
;(hint-wire)
(backfacecull 1)
(let* ((s (- size age)) (let* ((s (- size age))
(sr (* radius (/ s size))) (sr (* radius (/ s size)))
(er (* radius (/ (- s 1) size)))) (er (* radius (/ (- s 1) size))))
(translate (vector 0 0 age)) (translate (vector 0 0 age))
(when (zero? (random 10)) (when (zero? (random 3))
(with-state (with-state
(identity) (identity)
(set! child-twigs (cons (set! child-twigs (cons
(make-object twig% (/ size 2) sr speed) child-twigs)) (make-object twig% (/ size 2) sr speed) child-twigs))
(send (car child-twigs) build (vector 0 0 age) #f))) (send (car child-twigs) build (vector 0 0 age) #f)))
(build-ring 5 sr er))) (build-ring 5 sr er)))))
(set! age (+ age 1))) (with-primitive camera (parent p)))
(for-each (set! age (+ age 1))))
(lambda (child)
(send child update))
child-twigs))
(super-new))) (super-new)))
(define seed% (define seed%
(class object% (class object%
(field (field
(twigs '()) (twigs '())
(debounce #t) (debounce #t)
(debounce-time 0)) (debounce-time 0)
(root (with-state
(translate (vector 0 -0.25 0))
(texture (load-texture "textures/skin.png"))
(backfacecull 0)
(opacity 0.6)
(colour (vector 0.8 1 0.6))
(hint-depth-sort)
(hint-unlit)
(load-primitive "meshes/seed.obj"))))
(define/public (add-twig dir) (define/public (add-twig dir)
(let ((t (make-object twig% 20 1 0.1))) (let ((t (make-object twig% 10 0.2 2)))
(set! twigs (cons (with-state (set! twigs (cons (with-state
(colour (vector 0.3 0.8 0.4)) (colour (vector 0.3 0.8 0.4))
(send t build (vector 0 0 0) dir) t) twigs)))) (send t build (vector 0 0 0) dir) t) twigs))))
@ -79,6 +101,8 @@
(define/public (update) (define/public (update)
(when (key-pressed "r") (with-primitive camera (parent 1)))
(when (and debounce (key-pressed " ")) (when (and debounce (key-pressed " "))
(add-twig (vtransform-rot (vector 0 0 1) (minverse (get-camera-transform)))) (add-twig (vtransform-rot (vector 0 0 1) (minverse (get-camera-transform))))
(set! debounce #f) (set! debounce #f)
@ -94,12 +118,104 @@
(super-new))) (super-new)))
; build world
(clear) (with-state
(show-axis 1) (texture (load-texture "textures/top.png"))
(clear-colour (vector 0.2 0.5 0.3)) (translate (vector 0 20 0))
(rotate (vector 90 0 0))
(scale 40)
(hint-unlit)
(build-plane))
(fog (vector 0.2 0.5 0.3) 0.1 1 100) (with-state
(texture (load-texture "textures/left.png"))
(translate (vector 0 0 -20))
(rotate (vector 0 0 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/back.png"))
(translate (vector 20 0 0))
(rotate (vector 0 90 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/right.png"))
(translate (vector 0 0 20))
(rotate (vector 0 0 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/front.png"))
(translate (vector -20 0 0))
(rotate (vector 0 90 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/bottom.png"))
(opacity 0.8)
(hint-depth-sort)
(translate (vector 0 2 0))
(rotate (vector 90 0 0))
(scale 40)
(hint-unlit)
(build-plane))
; soil
(with-state
(texture (load-texture "textures/sback.png"))
(translate (vector 0 -15 -19.99))
(rotate (vector 0 0 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/sleft.png"))
(translate (vector 19.9 -15 0))
(rotate (vector 0 90 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/sfront.png"))
(translate (vector 0 -15 19.9))
(rotate (vector 0 0 0))
(scale 40)
(hint-unlit)
(build-plane))
(with-state
(texture (load-texture "textures/sright.png"))
(translate (vector -19.9 -15 0))
(rotate (vector 0 90 0))
(scale 40)
(hint-unlit)
(build-plane))
(lock-camera camera)
(camera-lag 0.05)
(define l (make-light 'point 'free))
(light-diffuse 0 (vector 0 0 0))
(light-diffuse l (vector 1 1 1))
(light-position l (vector 10 50 -4))
(clear-colour (vector 0.1 0.3 0.2))
(fog (vector 0.2 0.5 0.3) 0.03 1 100)
(define s (make-object seed%)) (define s (make-object seed%))
(every-frame (send s update)) (every-frame (send s update))

770
fpp/meshes/seed.obj Normal file
View file

@ -0,0 +1,770 @@
# Blender3D v245 OBJ File: seed.blend
# www.blender3d.org
mtllib seed.mtl
o Cube_Cube.001
v 1.221041 -1.702002 -0.546279
v 1.233427 -1.583117 0.729731
v 1.178437 0.928835 -1.709087
v -1.761092 -0.487755 -0.522942
v -0.688353 -2.004662 -0.666274
v -0.093595 0.959288 -1.855016
v 0.487953 -1.646613 1.195946
v 0.827805 -0.888284 -1.696130
v 1.785367 -0.426664 -0.433229
v -0.759986 -1.600365 -1.166784
v -0.520387 -0.447532 1.690327
v -1.248192 -1.703656 -0.471514
v 0.847865 -0.008070 1.817925
v 1.847417 -0.898883 0.486957
v -0.021104 2.012028 0.892526
v 1.397422 0.472701 1.349872
v -0.683116 1.950675 -0.698182
v 1.195548 0.000984 -1.742694
v 0.607084 -0.432487 -1.701792
v 1.378576 -0.401227 -1.319254
v -0.718459 -2.112875 0.252606
v 0.051565 2.238782 0.044846
v 2.001967 -0.001635 0.502407
v -0.458405 -0.034569 1.912255
v 0.592267 0.477989 1.744324
v -0.563858 -0.017975 -1.902761
v -1.639108 0.418249 -0.946720
v -1.794961 0.849395 0.835335
v 0.014508 -2.118439 -0.685310
v 0.731587 -1.614124 -1.174462
v 1.737039 0.496819 -0.773053
v -0.001636 -2.107388 0.652609
v -1.236814 -1.629705 0.653059
v -1.186898 -0.908879 1.542204
v -1.468697 0.839571 -1.235888
v -1.409908 -0.888405 -1.346238
v -1.084387 0.429269 1.559983
v -1.826992 -0.951801 0.558436
v 0.770765 -0.427680 1.608089
v 0.589026 -0.889892 1.739814
v 1.515636 0.004087 1.451145
v 1.607533 -0.423020 1.015778
v -1.462904 -0.064238 1.452331
v -0.570988 -0.907825 -1.743266
v 1.625535 -0.860910 -1.182391
v -1.751670 -0.940982 -0.757772
v -0.681292 1.601254 1.204959
v 1.139731 0.489714 -1.568557
v -1.122080 0.905242 1.685176
v 1.213168 1.566025 0.955511
v 1.826363 0.509289 0.460049
v -1.777490 0.396632 0.570141
v 1.437443 -0.836676 1.350222
v -1.559264 -0.474133 1.044918
v -0.980284 1.901717 0.056233
v 0.059711 2.119792 -0.664256
v 0.759041 2.129376 0.046131
v 0.452632 0.953977 1.879595
v 1.963308 0.982669 0.019815
v 1.911563 0.008562 -0.817632
v -1.965649 -0.088115 0.590765
v 1.611745 0.922850 1.363833
v 0.656671 1.683118 -1.316851
v 1.311276 1.719500 0.070508
v 1.830199 0.960789 -0.855755
v 0.001853 -2.251091 -0.021194
v -1.872660 0.862941 -0.721947
v -0.241456 0.500319 -1.757971
v -1.786815 -0.059061 -1.087677
v -0.887463 1.798638 0.834816
v -1.095748 -0.441742 -1.490339
v 0.018770 -1.684757 -1.225649
v 0.713386 1.914374 0.944882
v -0.795512 -1.606322 1.147262
v 0.711679 -1.976701 0.640985
v 0.796523 2.006572 -0.696318
v 0.705030 -2.088246 -0.381301
v -1.236250 1.547626 -0.689512
vt 0.572347 0.627109 0.0
vt 0.584280 0.754201 0.0
vt 0.542255 0.789870 0.0
vt 0.947654 0.642652 0.0
vt 0.984381 0.831318 0.0
vt 0.872949 0.777180 0.0
vt 0.848767 0.585228 0.0
vt 0.782231 0.625403 0.0
vt 0.773210 0.574561 0.0
vt 0.872949 0.777180 0.0
vt 0.984381 0.831318 0.0
vt 0.866439 0.867046 0.0
vt 0.291254 0.448767 0.0
vt 0.245037 0.384139 0.0
vt 0.315999 0.391707 0.0
vt 0.560174 0.377747 0.0
vt 0.469494 0.374356 0.0
vt 0.494803 0.256741 0.0
vt 0.513274 0.434831 0.0
vt 0.541881 0.496630 0.0
vt 0.470493 0.496478 0.0
vt 0.811381 0.263234 0.0
vt 0.714903 0.239726 0.0
vt 0.784563 0.179246 0.0
vt 0.513274 0.434831 0.0
vt 0.470493 0.496478 0.0
vt 0.385185 0.437725 0.0
vt 0.063552 0.396861 0.0
vt 0.120746 0.265735 0.0
vt 0.134118 0.389108 0.0
vt 0.111795 0.516734 0.0
vt 0.030663 0.587692 0.0
vt 0.029461 0.514366 0.0
vt 0.951366 0.249891 0.0
vt 0.811381 0.263234 0.0
vt 0.966540 0.163245 0.0
vt 0.704331 0.577300 0.0
vt 0.782231 0.625403 0.0
vt 0.691013 0.636718 0.0
vt 0.728898 0.952981 0.0
vt 0.443807 0.829233 0.0
vt 0.542255 0.789870 0.0
vt 0.966540 0.163245 0.0
vt 0.811381 0.263234 0.0
vt 0.784563 0.179246 0.0
vt 0.245037 0.384139 0.0
vt 0.281413 0.268325 0.0
vt 0.315999 0.391707 0.0
vt 0.111795 0.516734 0.0
vt 0.082390 0.455161 0.0
vt 0.149825 0.449172 0.0
vt 0.107239 0.588517 0.0
vt 0.111795 0.516734 0.0
vt 0.219344 0.598248 0.0
vt 0.376058 0.632080 0.0
vt 0.443807 0.829233 0.0
vt 0.357596 0.756429 0.0
vt 0.385185 0.437725 0.0
vt 0.470493 0.496478 0.0
vt 0.348447 0.506792 0.0
vt 0.811381 0.263234 0.0
vt 0.849833 0.380208 0.0
vt 0.776962 0.388286 0.0
vt 0.469494 0.374356 0.0
vt 0.385185 0.437725 0.0
vt 0.367056 0.380739 0.0
vt 0.494803 0.256741 0.0
vt 0.469494 0.374356 0.0
vt 0.371231 0.249900 0.0
vt 0.784563 0.179246 0.0
vt 0.714903 0.239726 0.0
vt 0.655616 0.133075 0.0
vt 0.385185 0.437725 0.0
vt 0.348447 0.506792 0.0
vt 0.291254 0.448767 0.0
vt 0.241345 0.515399 0.0
vt 0.291254 0.448767 0.0
vt 0.348447 0.506792 0.0
vt 0.376058 0.632080 0.0
vt 0.357596 0.756429 0.0
vt 0.327496 0.635972 0.0
vt 0.966540 0.163245 0.0
vt 0.784563 0.179246 0.0
vt 0.971571 0.045565 0.0
vt 0.945693 0.587692 0.0
vt 0.947654 0.642652 0.0
vt 0.882308 0.645193 0.0
vt 0.082390 0.455161 0.0
vt 0.063552 0.396861 0.0
vt 0.134118 0.389108 0.0
vt 0.971571 0.045565 0.0
vt 0.784563 0.179246 0.0
vt 0.655616 0.133075 0.0
vt 0.866439 0.867046 0.0
vt 0.654178 0.839007 0.0
vt 0.747864 0.800484 0.0
vt 0.872949 0.777180 0.0
vt 0.747864 0.800484 0.0
vt 0.785727 0.736340 0.0
vt 0.327496 0.635972 0.0
vt 0.219344 0.598248 0.0
vt 0.352585 0.578193 0.0
vt 0.110392 0.639106 0.0
vt 0.107239 0.588517 0.0
vt 0.219344 0.598248 0.0
vt 0.944490 0.514366 0.0
vt 0.945693 0.587692 0.0
vt 0.848767 0.585228 0.0
vt 0.654178 0.839007 0.0
vt 0.542255 0.789870 0.0
vt 0.584280 0.754201 0.0
vt 0.848767 0.585228 0.0
vt 0.882308 0.645193 0.0
vt 0.782231 0.625403 0.0
vt 0.945693 0.587692 0.0
vt 0.882308 0.645193 0.0
vt 0.848767 0.585228 0.0
vt 0.111795 0.516734 0.0
vt 0.149825 0.449172 0.0
vt 0.241345 0.515399 0.0
vt 0.849833 0.380208 0.0
vt 0.921183 0.445511 0.0
vt 0.804295 0.442466 0.0
vt 0.036336 0.249891 0.0
vt 0.051511 0.163245 0.0
vt 0.120746 0.265735 0.0
vt 0.107239 0.588517 0.0
vt 0.110392 0.639106 0.0
vt 0.032625 0.642652 0.0
vt 0.032625 0.642652 0.0
vt 0.129759 0.765426 0.0
vt 0.069352 0.831318 0.0
vt 0.811381 0.263234 0.0
vt 0.776962 0.388286 0.0
vt 0.714903 0.239726 0.0
vt 0.063552 0.396861 0.0
vt 0.082390 0.455161 0.0
vt 0.006154 0.445511 0.0
vt 0.866439 0.867046 0.0
vt 0.728898 0.952981 0.0
vt 0.654178 0.839007 0.0
vt 0.704331 0.577300 0.0
vt 0.691013 0.636718 0.0
vt 0.572347 0.627109 0.0
vt 0.082390 0.455161 0.0
vt 0.029461 0.514366 0.0
vt 0.006154 0.445511 0.0
vt 0.051511 0.163245 0.0
vt 0.203090 0.063437 0.0
vt 0.197246 0.151828 0.0
vt 0.474113 0.569795 0.0
vt 0.493066 0.625939 0.0
vt 0.376058 0.632080 0.0
vt 0.371231 0.249900 0.0
vt 0.367056 0.380739 0.0
vt 0.315999 0.391707 0.0
vt 0.921183 0.445511 0.0
vt 0.849868 0.508108 0.0
vt 0.804295 0.442466 0.0
vt 0.206696 0.657078 0.0
vt 0.219344 0.598248 0.0
vt 0.327496 0.635972 0.0
vt 0.149825 0.449172 0.0
vt 0.245037 0.384139 0.0
vt 0.291254 0.448767 0.0
vt 0.371231 0.249900 0.0
vt 0.315999 0.391707 0.0
vt 0.281413 0.268325 0.0
vt 0.120746 0.265735 0.0
vt 0.051511 0.163245 0.0
vt 0.197246 0.151828 0.0
vt 0.219344 0.598248 0.0
vt 0.348447 0.506792 0.0
vt 0.352585 0.578193 0.0
vt 0.947654 0.642652 0.0
vt 0.872949 0.777180 0.0
vt 0.882308 0.645193 0.0
vt 0.722348 0.435086 0.0
vt 0.720477 0.502440 0.0
vt 0.622603 0.498322 0.0
vt 0.493066 0.625939 0.0
vt 0.443807 0.829233 0.0
vt 0.376058 0.632080 0.0
vt 0.120746 0.265735 0.0
vt 0.197246 0.151828 0.0
vt 0.197562 0.243886 0.0
vt 0.951366 0.249891 0.0
vt 0.849833 0.380208 0.0
vt 0.811381 0.263234 0.0
vt 0.317312 0.838616 0.0
vt 0.206696 0.657078 0.0
vt 0.357596 0.756429 0.0
vt 0.747864 0.800484 0.0
vt 0.654178 0.839007 0.0
vt 0.691013 0.636718 0.0
vt 0.921183 0.445511 0.0
vt 0.944490 0.514366 0.0
vt 0.849868 0.508108 0.0
vt 0.655616 0.133075 0.0
vt 0.714903 0.239726 0.0
vt 0.565808 0.255673 0.0
vt 0.572347 0.627109 0.0
vt 0.654178 0.839007 0.0
vt 0.584280 0.754201 0.0
vt 0.082390 0.455161 0.0
vt 0.111795 0.516734 0.0
vt 0.029461 0.514366 0.0
vt 0.560174 0.377747 0.0
vt 0.613048 0.431416 0.0
vt 0.513274 0.434831 0.0
vt 0.541881 0.496630 0.0
vt 0.474113 0.569795 0.0
vt 0.470493 0.496478 0.0
vt 0.655616 0.133075 0.0
vt 0.565808 0.255673 0.0
vt 0.467084 0.152137 0.0
vt 0.082390 0.455161 0.0
vt 0.134118 0.389108 0.0
vt 0.149825 0.449172 0.0
vt 0.134118 0.389108 0.0
vt 0.120746 0.265735 0.0
vt 0.197562 0.243886 0.0
vt 0.219344 0.598248 0.0
vt 0.241345 0.515399 0.0
vt 0.348447 0.506792 0.0
vt 0.203090 0.063437 0.0
vt 0.655616 0.133075 0.0
vt 0.467084 0.152137 0.0
vt 0.872949 0.777180 0.0
vt 0.866439 0.867046 0.0
vt 0.747864 0.800484 0.0
vt 0.776962 0.388286 0.0
vt 0.704931 0.371955 0.0
vt 0.714903 0.239726 0.0
vt 0.952771 0.868983 0.0
vt 0.317312 0.838616 0.0
vt 0.728898 0.952981 0.0
vt 0.613048 0.431416 0.0
vt 0.622603 0.498322 0.0
vt 0.541881 0.496630 0.0
vt 0.882308 0.645193 0.0
vt 0.872949 0.777180 0.0
vt 0.785727 0.736340 0.0
vt 0.722348 0.435086 0.0
vt 0.622603 0.498322 0.0
vt 0.613048 0.431416 0.0
vt 0.206696 0.657078 0.0
vt 0.327496 0.635972 0.0
vt 0.357596 0.756429 0.0
vt 0.371231 0.249900 0.0
vt 0.469494 0.374356 0.0
vt 0.367056 0.380739 0.0
vt 0.241345 0.515399 0.0
vt 0.149825 0.449172 0.0
vt 0.291254 0.448767 0.0
vt 0.776962 0.388286 0.0
vt 0.722348 0.435086 0.0
vt 0.704931 0.371955 0.0
vt 0.467084 0.152137 0.0
vt 0.565808 0.255673 0.0
vt 0.494803 0.256741 0.0
vt 0.951366 0.249891 0.0
vt 0.978581 0.396861 0.0
vt 0.849833 0.380208 0.0
vt 0.110392 0.639106 0.0
vt 0.219344 0.598248 0.0
vt 0.206696 0.657078 0.0
vt 0.622603 0.498322 0.0
vt 0.568945 0.569468 0.0
vt 0.541881 0.496630 0.0
vt 0.714903 0.239726 0.0
vt 0.704931 0.371955 0.0
vt 0.560174 0.377747 0.0
vt 0.984381 0.831318 0.0
vt 0.952771 0.868983 0.0
vt 0.866439 0.867046 0.0
vt 0.704931 0.371955 0.0
vt 0.613048 0.431416 0.0
vt 0.560174 0.377747 0.0
vt 0.149825 0.449172 0.0
vt 0.134118 0.389108 0.0
vt 0.245037 0.384139 0.0
vt 0.315999 0.391707 0.0
vt 0.385185 0.437725 0.0
vt 0.291254 0.448767 0.0
vt 0.467084 0.152137 0.0
vt 0.494803 0.256741 0.0
vt 0.371231 0.249900 0.0
vt 0.197246 0.151828 0.0
vt 0.203090 0.063437 0.0
vt 0.467084 0.152137 0.0
vt 0.197246 0.151828 0.0
vt 0.467084 0.152137 0.0
vt 0.311063 0.188687 0.0
vt 0.134118 0.389108 0.0
vt 0.197562 0.243886 0.0
vt 0.245037 0.384139 0.0
vt 0.470493 0.496478 0.0
vt 0.474113 0.569795 0.0
vt 0.352585 0.578193 0.0
vt 0.704931 0.371955 0.0
vt 0.722348 0.435086 0.0
vt 0.613048 0.431416 0.0
vt 0.804295 0.442466 0.0
vt 0.774465 0.505649 0.0
vt 0.720477 0.502440 0.0
vt 0.470493 0.496478 0.0
vt 0.352585 0.578193 0.0
vt 0.348447 0.506792 0.0
vt 0.565808 0.255673 0.0
vt 0.560174 0.377747 0.0
vt 0.494803 0.256741 0.0
vt 0.197562 0.243886 0.0
vt 0.197246 0.151828 0.0
vt 0.311063 0.188687 0.0
vt 0.474113 0.569795 0.0
vt 0.376058 0.632080 0.0
vt 0.352585 0.578193 0.0
vt 0.572347 0.627109 0.0
vt 0.542255 0.789870 0.0
vt 0.493066 0.625939 0.0
vt 0.129759 0.765426 0.0
vt 0.110392 0.639106 0.0
vt 0.206696 0.657078 0.0
vt 0.804295 0.442466 0.0
vt 0.720477 0.502440 0.0
vt 0.722348 0.435086 0.0
vt 0.197562 0.243886 0.0
vt 0.311063 0.188687 0.0
vt 0.281413 0.268325 0.0
vt 0.849868 0.508108 0.0
vt 0.848767 0.585228 0.0
vt 0.773210 0.574561 0.0
vt 0.129759 0.765426 0.0
vt 0.206696 0.657078 0.0
vt 0.317312 0.838616 0.0
vt 0.245037 0.384139 0.0
vt 0.197562 0.243886 0.0
vt 0.281413 0.268325 0.0
vt 0.129759 0.765426 0.0
vt 0.184290 0.886855 0.0
vt 0.069352 0.831318 0.0
vt 0.063552 0.396861 0.0
vt 0.036336 0.249891 0.0
vt 0.120746 0.265735 0.0
vt 0.541881 0.496630 0.0
vt 0.568945 0.569468 0.0
vt 0.474113 0.569795 0.0
vt 0.352585 0.578193 0.0
vt 0.376058 0.632080 0.0
vt 0.327496 0.635972 0.0
vt 0.568945 0.569468 0.0
vt 0.572347 0.627109 0.0
vt 0.493066 0.625939 0.0
vt 0.311063 0.188687 0.0
vt 0.467084 0.152137 0.0
vt 0.371231 0.249900 0.0
vt 0.714903 0.239726 0.0
vt 0.560174 0.377747 0.0
vt 0.565808 0.255673 0.0
vt 0.978581 0.396861 0.0
vt 0.921183 0.445511 0.0
vt 0.849833 0.380208 0.0
vt 0.952771 0.868983 0.0
vt 0.728898 0.952981 0.0
vt 0.866439 0.867046 0.0
vt 0.849868 0.508108 0.0
vt 0.773210 0.574561 0.0
vt 0.774465 0.505649 0.0
vt 0.568945 0.569468 0.0
vt 0.493066 0.625939 0.0
vt 0.474113 0.569795 0.0
vt 0.281413 0.268325 0.0
vt 0.311063 0.188687 0.0
vt 0.371231 0.249900 0.0
vt 0.219344 0.598248 0.0
vt 0.111795 0.516734 0.0
vt 0.241345 0.515399 0.0
vt 0.774465 0.505649 0.0
vt 0.704331 0.577300 0.0
vt 0.720477 0.502440 0.0
vt 0.469494 0.374356 0.0
vt 0.513274 0.434831 0.0
vt 0.385185 0.437725 0.0
vt 0.774465 0.505649 0.0
vt 0.773210 0.574561 0.0
vt 0.704331 0.577300 0.0
vt 0.782231 0.625403 0.0
vt 0.747864 0.800484 0.0
vt 0.691013 0.636718 0.0
vt 0.944490 0.514366 0.0
vt 0.848767 0.585228 0.0
vt 0.849868 0.508108 0.0
vt 0.613048 0.431416 0.0
vt 0.541881 0.496630 0.0
vt 0.513274 0.434831 0.0
vt 0.367056 0.380739 0.0
vt 0.385185 0.437725 0.0
vt 0.315999 0.391707 0.0
vt 0.493066 0.625939 0.0
vt 0.542255 0.789870 0.0
vt 0.443807 0.829233 0.0
vt 0.110392 0.639106 0.0
vt 0.129759 0.765426 0.0
vt 0.032625 0.642652 0.0
vt 0.107239 0.588517 0.0
vt 0.032625 0.642652 0.0
vt 0.030663 0.587692 0.0
vt 0.773210 0.574561 0.0
vt 0.782231 0.625403 0.0
vt 0.704331 0.577300 0.0
vt 0.704331 0.577300 0.0
vt 0.572347 0.627109 0.0
vt 0.568945 0.569468 0.0
vt 0.849833 0.380208 0.0
vt 0.804295 0.442466 0.0
vt 0.776962 0.388286 0.0
vt 0.111795 0.516734 0.0
vt 0.107239 0.588517 0.0
vt 0.030663 0.587692 0.0
vt 0.622603 0.498322 0.0
vt 0.704331 0.577300 0.0
vt 0.568945 0.569468 0.0
vt 0.804295 0.442466 0.0
vt 0.849868 0.508108 0.0
vt 0.774465 0.505649 0.0
vt 0.129759 0.765426 0.0
vt 0.317312 0.838616 0.0
vt 0.184290 0.886855 0.0
vt 0.720477 0.502440 0.0
vt 0.704331 0.577300 0.0
vt 0.622603 0.498322 0.0
vt 0.776962 0.388286 0.0
vt 0.804295 0.442466 0.0
vt 0.722348 0.435086 0.0
vt 0.317312 0.838616 0.0
vt 0.443807 0.829233 0.0
vt 0.728898 0.952981 0.0
vt 0.691013 0.636718 0.0
vt 0.654178 0.839007 0.0
vt 0.572347 0.627109 0.0
vt 0.782231 0.625403 0.0
vt 0.785727 0.736340 0.0
vt 0.747864 0.800484 0.0
vt 0.882308 0.645193 0.0
vt 0.785727 0.736340 0.0
vt 0.782231 0.625403 0.0
vt 0.560174 0.377747 0.0
vt 0.513274 0.434831 0.0
vt 0.469494 0.374356 0.0
vt 0.317312 0.838616 0.0
vt 0.357596 0.756429 0.0
vt 0.443807 0.829233 0.0
vt 0.728898 0.952981 0.0
vt 0.542255 0.789870 0.0
vt 0.654178 0.839007 0.0
vn -0.420362 0.257790 0.869930
vn -0.177404 0.680258 0.711142
vn -0.471603 0.801202 0.368236
vn 0.892514 0.230995 -0.387310
vn 0.406781 0.856807 -0.316782
vn 0.671682 0.739769 0.039369
vn 0.979858 -0.012604 0.199286
vn 0.752403 0.173345 0.635456
vn 0.727439 -0.016449 0.685934
vn 0.356975 0.932188 0.059511
vn -0.510208 -0.148015 -0.847194
vn -0.190008 -0.174047 -0.966216
vn -0.689261 -0.173223 -0.703482
vn -0.497696 -0.206427 0.842402
vn -0.953673 -0.197241 0.226997
vn -0.638569 -0.703726 0.311350
vn -0.834529 -0.130711 0.535203
vn -0.674886 -0.076205 0.733940
vn -0.974151 -0.097354 0.203803
vn 0.631489 -0.696402 0.340861
vn 0.152409 -0.677694 0.719321
vn 0.374340 -0.864772 0.334605
vn -0.965026 -0.160558 -0.207099
vn 0.821345 -0.209143 -0.530656
vn 0.319742 -0.700919 -0.637532
vn 0.305124 -0.241096 -0.921262
vn 0.490371 -0.050630 -0.870022
vn 0.941465 0.022767 -0.336314
vn 0.933256 -0.051424 -0.355480
vn 0.667745 -0.710807 -0.220954
vn 0.383923 -0.906949 -0.173223
vn 0.149022 0.091037 0.984619
vn 0.128025 0.227241 0.965361
vn -0.061464 0.996979 0.047395
vn -0.550798 0.834162 0.027497
vn -0.337291 -0.676595 -0.654530
vn 0.717612 -0.152409 -0.679525
vn 0.130284 -0.180578 -0.974883
vn 0.495560 0.017212 -0.868374
vn -0.225501 0.064364 -0.972106
vn -0.940336 0.191809 -0.280953
vn -0.585955 0.691763 -0.422010
vn -0.828578 -0.002594 -0.559801
vn 0.963622 -0.215247 0.158238
vn 0.669332 -0.175909 0.721824
vn -0.919889 -0.240883 -0.309458
vn -0.667684 -0.715140 -0.206610
vn -0.010437 -0.903531 0.428358
vn -0.255440 -0.037141 -0.966094
vn -0.597797 0.173986 -0.782495
vn 0.003540 -0.999969 -0.003449
vn 0.972198 0.231056 0.037721
vn -0.051881 0.835414 0.547136
vn 0.305063 0.824763 0.476058
vn 0.599322 0.709769 0.370128
vn -0.844600 0.002411 -0.535356
vn 0.490768 0.162694 -0.855953
vn 0.980773 -0.136204 -0.139531
vn 0.843593 -0.156133 0.513749
vn 0.204932 0.726707 -0.655629
vn -0.018403 -0.922483 -0.385571
vn -0.970031 0.013916 0.242561
vn -0.909696 0.205786 0.360607
vn 0.977447 -0.091494 0.190283
vn -0.168828 0.283151 -0.944090
vn 0.350078 -0.073702 0.933805
vn 0.328837 -0.171545 0.928648
vn -0.159612 -0.035737 0.986511
vn -0.004852 -0.689413 -0.724326
vn -0.368145 0.827448 -0.423933
vn -0.278848 -0.704520 0.652577
vn -0.257698 -0.105777 0.960387
vn -0.363628 -0.924863 0.111332
vn 0.170110 -0.228980 0.958434
vn -0.042207 0.927091 -0.372387
vn -0.513382 0.078890 0.854488
vn -0.334483 -0.868068 -0.366802
vn 0.683950 -0.076724 0.725455
usemtl (null)
s 1
f 49/1/1 47/2/2 70/3/3
f 65/4/4 76/5/5 64/6/6
f 51/7/7 62/8/8 16/9/9
f 64/10/6 76/11/5 57/12/10
f 71/13/11 44/14/12 36/15/13
f 34/16/14 38/17/15 33/18/16
f 54/19/17 43/20/18 61/21/19
f 2/22/20 7/23/21 75/24/22
f 54/25/17 61/26/19 4/27/23
f 45/28/24 30/29/25 8/30/26
f 18/31/27 31/32/28 60/33/29
f 1/34/30 2/35/20 77/36/31
f 25/37/32 62/38/8 58/39/33
f 22/40/34 55/41/35 70/42/3
f 77/43/31 2/44/20 75/45/22
f 44/46/12 10/47/36 36/48/13
f 18/49/27 20/50/37 19/51/38
f 48/52/39 18/53/27 68/54/40
f 67/55/41 55/56/35 78/57/42
f 4/58/23 61/59/19 69/60/43
f 2/61/20 14/62/44 53/63/45
f 38/64/15 4/65/23 46/66/46
f 33/67/16 38/68/15 12/69/47
f 75/70/22 7/71/21 32/72/48
f 4/73/23 69/74/43 71/75/11
f 26/76/49 71/77/11 69/78/43
f 67/79/41 78/80/42 35/81/50
f 77/82/31 75/83/22 66/84/51
f 31/85/28 65/86/4 59/87/52
f 20/88/37 45/89/24 8/90/26
f 66/91/51 75/92/22 32/93/48
f 57/94/10 15/95/53 73/96/54
f 64/97/6 73/98/54 50/99/55
f 35/100/50 68/101/40 27/102/56
f 3/103/57 48/104/39 68/105/40
f 60/106/29 31/107/28 51/108/7
f 15/109/53 70/110/3 47/111/2
f 51/112/7 59/113/52 62/114/8
f 31/115/28 59/116/52 51/117/7
f 18/118/27 19/119/38 26/120/49
f 14/121/44 9/122/58 42/123/59
f 1/124/30 77/125/31 30/126/25
f 48/127/39 3/128/57 65/129/4
f 65/130/4 63/131/60 76/132/5
f 2/133/20 53/134/45 7/135/21
f 45/136/24 20/137/37 9/138/58
f 57/139/10 22/140/34 15/141/53
f 25/142/32 58/143/33 49/144/1
f 20/145/37 60/146/29 9/147/58
f 77/148/31 66/149/51 29/150/61
f 52/151/62 28/152/63 67/153/41
f 12/154/47 46/155/46 36/156/13
f 9/157/58 23/158/64 42/159/59
f 6/160/65 68/161/40 35/162/50
f 19/163/38 44/164/12 71/165/11
f 12/166/47 36/167/13 10/168/36
f 30/169/25 77/170/31 29/171/61
f 68/172/40 69/173/43 27/174/56
f 65/175/4 64/176/6 59/177/52
f 39/178/66 13/179/67 24/180/68
f 28/181/63 55/182/35 67/183/41
f 30/184/25 29/185/61 72/186/69
f 1/187/30 14/188/44 2/189/20
f 17/190/70 6/191/65 78/192/42
f 73/193/54 15/194/53 58/195/33
f 9/196/58 60/197/29 23/198/64
f 32/199/48 7/200/21 74/201/71
f 49/202/1 15/203/53 47/204/2
f 20/205/37 18/206/27 60/207/29
f 34/208/14 11/209/72 54/210/17
f 43/211/18 52/212/62 61/213/19
f 32/214/48 74/215/71 21/216/73
f 20/217/37 8/218/26 19/219/38
f 8/220/26 30/221/25 72/222/69
f 68/223/40 26/224/49 69/225/43
f 66/226/51 32/227/48 21/228/73
f 64/229/6 57/230/10 73/231/54
f 53/232/45 40/233/74 7/234/21
f 56/235/75 17/236/70 22/237/34
f 11/238/72 24/239/68 43/240/18
f 59/241/52 64/242/6 50/243/55
f 39/244/66 24/245/68 11/246/72
f 6/247/65 35/248/50 78/249/42
f 12/250/47 38/251/15 46/252/46
f 26/253/49 19/254/38 71/255/11
f 53/256/45 39/257/66 40/258/74
f 21/259/73 74/260/71 33/261/16
f 1/262/30 45/263/24 14/264/44
f 3/265/57 68/266/40 6/267/65
f 24/268/68 37/269/76 43/270/18
f 7/271/21 40/272/74 34/273/14
f 76/274/5 56/275/75 57/276/10
f 40/277/74 11/278/72 34/279/14
f 19/280/38 8/281/26 44/282/12
f 36/283/13 4/284/23 71/285/11
f 21/286/73 33/287/16 12/288/47
f 29/289/61 66/290/51 21/291/73
f 29/292/61 21/293/73 5/294/77
f 8/295/26 72/296/69 44/297/12
f 61/298/19 52/299/62 27/300/56
f 40/301/74 39/302/66 11/303/72
f 42/304/59 41/305/78 13/306/67
f 61/307/19 27/308/56 69/309/43
f 74/310/71 34/311/14 33/312/16
f 72/313/69 29/314/61 5/315/77
f 52/316/62 67/317/41 27/318/56
f 49/319/1 70/320/3 28/321/63
f 63/322/60 3/323/57 6/324/65
f 42/325/59 13/326/67 39/327/66
f 72/328/69 5/329/77 10/330/36
f 23/331/64 51/332/7 16/333/9
f 63/334/60 6/335/65 17/336/70
f 44/337/12 72/338/69 10/339/36
f 63/340/60 56/341/75 76/342/5
f 45/343/24 1/344/30 30/345/25
f 43/346/18 37/347/76 52/348/62
f 27/349/56 67/350/41 35/351/50
f 37/352/76 49/353/1 28/354/63
f 5/355/77 21/356/73 12/357/47
f 7/358/21 34/359/14 74/360/71
f 45/361/24 9/362/58 14/363/44
f 56/364/75 22/365/34 57/366/10
f 23/367/64 16/368/9 41/369/78
f 37/370/76 28/371/63 52/372/62
f 10/373/36 5/374/77 12/375/47
f 68/376/40 18/377/27 26/378/49
f 41/379/78 25/380/32 13/381/67
f 38/382/15 54/383/17 4/384/23
f 41/385/78 16/386/9 25/387/32
f 62/388/8 73/389/54 58/390/33
f 60/391/29 51/392/7 23/393/64
f 11/394/72 43/395/18 54/396/17
f 46/397/46 4/398/23 36/399/13
f 28/400/63 70/401/3 55/402/35
f 3/403/57 63/404/60 65/405/4
f 48/406/39 65/407/4 31/408/28
f 16/409/9 62/410/8 25/411/32
f 25/412/32 49/413/1 37/414/76
f 14/415/44 42/416/59 53/417/45
f 18/418/27 48/419/39 31/420/28
f 24/421/68 25/422/32 37/423/76
f 42/424/59 23/425/64 41/426/78
f 63/427/60 17/428/70 56/429/75
f 13/430/67 25/431/32 24/432/68
f 53/433/45 42/434/59 39/435/66
f 17/436/70 55/437/35 22/438/34
f 58/439/33 15/440/53 49/441/1
f 62/442/8 50/443/55 73/444/54
f 59/445/52 50/446/55 62/447/8
f 34/448/14 54/449/17 38/450/15
f 17/451/70 78/452/42 55/453/35
f 22/454/34 70/455/3 15/456/53

BIN
fpp/textures/back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
fpp/textures/bottom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

BIN
fpp/textures/front.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
fpp/textures/left.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
fpp/textures/left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
fpp/textures/right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

BIN
fpp/textures/sback.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
fpp/textures/sfront.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
fpp/textures/skin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

BIN
fpp/textures/sleft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
fpp/textures/sright.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
fpp/textures/top.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
fpp/textures/top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

View file

@ -263,7 +263,7 @@
(init-field (init-field
(id 0) (id 0)
(cell 0) (cell 0)
(d (+ 5.5 (* 2 (rndf))))) (d (+ 5.5 (* 2 (rndf))))) ; time to get from one cell to another
(field (field
(next-update 0)) (next-update 0))