diff org/test-creature.org @ 124:90154bd674e9

going to work on proprioception
author Robert McIntyre <rlm@mit.edu>
date Tue, 24 Jan 2012 18:12:14 -0700
parents 91773e8ec50f
children 3d65633dd736
line wrap: on
line diff
     1.1 --- a/org/test-creature.org	Mon Jan 23 03:41:26 2012 -0700
     1.2 +++ b/org/test-creature.org	Tue Jan 24 18:12:14 2012 -0700
     1.3 @@ -6,13 +6,17 @@
     1.4  #+SETUPFILE: ../../aurellem/org/setup.org
     1.5  #+INCLUDE: ../../aurellem/org/level-0.org
     1.6  
     1.7 -* objectives
     1.8 - - [X] get an overall bitmap-like image for touch
     1.9 - - [X] write code to visuliaze this bitmap
    1.10 - - [ ] directly change the UV-pixels to show touch sensor activation
    1.11 - - [ ] write an explination for why b&w bitmaps for senses is appropiate
    1.12 - - [ ] clean up touch code and write visulazation test
    1.13 - - [ ] do the same for eyes
    1.14 +* ideas
    1.15 + - [ ] directly change the UV-pixels to show sensor activation
    1.16 + - [ ] write an explination for why greyscale bitmaps for senses is appropiate
    1.17 + - [ ] write tests for integration
    1.18 + - [ ] usertime/gametime HUD display
    1.19 + - [ ] use sawfish to auto-tile sense windows
    1.20 + - [ ] sawfish keybinding to automatically delete all sense windows
    1.21 + - [ ] proprioception sensor map in the style of the other senses
    1.22 + - [ ] optional fourier view of sound
    1.23 + - [ ] enable greyscale bitmaps for touch
    1.24 +
    1.25  
    1.26  * Intro 
    1.27  So far, I've made the following senses -- 
    1.28 @@ -779,7 +783,6 @@
    1.29          lis (Listener.)
    1.30          audio-renderer (.getAudioRenderer world)
    1.31          sp (sound-processor continuation)]
    1.32 -    (println-repl "audio-renderer is " audio-renderer)
    1.33      (.setLocation lis (.getWorldTranslation ear))
    1.34      (.setRotation lis (.getWorldRotation ear))
    1.35      (bind-sense target lis)
    1.36 @@ -803,7 +806,6 @@
    1.37                 (map
    1.38                  #(rem (int (* 255 (/ (+ 1 %) 2)))  256)
    1.39                     data))]
    1.40 -          (println-repl (take 10 scaled-data))
    1.41            [topology scaled-data]))
    1.42          ]]))
    1.43  
    1.44 @@ -962,8 +964,8 @@
    1.45          [init-hearing-fns hearing-senses] (hearing creature)
    1.46          hearing-windows (map (fn [_] (debug-hearing-window 50))
    1.47                               hearing-senses)
    1.48 -        bang (AudioNode. (asset-manager)
    1.49 -                         "Sounds/dream.wav" false)
    1.50 +        bell (AudioNode. (asset-manager)
    1.51 +                         "Sounds/ear-and-eye.wav" false)
    1.52          ;; dream
    1.53  
    1.54          ]
    1.55 @@ -980,7 +982,7 @@
    1.56               (if value
    1.57                 (do
    1.58                   (println-repl "play-sound")
    1.59 -                 (.play bang))))})
    1.60 +                 (.play bell))))})
    1.61     (fn [world]
    1.62       (light-up-everything world)
    1.63       (enable-debug world)