changeset 120:83e638955e89

fixed bug in retina-sensor-image
author Robert McIntyre <rlm@mit.edu>
date Sat, 21 Jan 2012 09:30:47 -0700
parents ebfd62779ab4
children 05e60a0ed043
files assets/Models/creature1/try-again.blend org/test-creature.org
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
     1.1 Binary file assets/Models/creature1/try-again.blend has changed
     2.1 --- a/org/test-creature.org	Sat Jan 21 08:30:28 2012 -0700
     2.2 +++ b/org/test-creature.org	Sat Jan 21 09:30:47 2012 -0700
     2.3 @@ -644,8 +644,7 @@
     2.4        #(ImageToAwt/convert
     2.5          (.getImage (.loadTexture (asset-manager) %))
     2.6          false false 0)
     2.7 -      (read-string
     2.8 -       eye-map))))
     2.9 +      (eval (read-string eye-map)))))
    2.10  
    2.11  (defn eye-dimensions
    2.12    "returns the width and height specified in the metadata of the eye"
    2.13 @@ -790,7 +789,7 @@
    2.14               topology
    2.15               (vec 
    2.16                (for [[x y] whites]
    2.17 -                (bit-xor
    2.18 +                (bit-and
    2.19                   mask (.getRGB @vision-image x y))))))))
    2.20          retinal-map))
    2.21      ]))