# HG changeset patch # User Robert McIntyre # Date 1327453934 25200 # Node ID 90154bd674e9ffe8cd5afa17c171ed4caf2fa70b # Parent 91773e8ec50f48e82d87e0f53af2c16c791c435b going to work on proprioception diff -r 91773e8ec50f -r 90154bd674e9 assets/Models/creature1/try-again.blend Binary file assets/Models/creature1/try-again.blend has changed diff -r 91773e8ec50f -r 90154bd674e9 assets/Sounds/ear-and-eye.wav Binary file assets/Sounds/ear-and-eye.wav has changed diff -r 91773e8ec50f -r 90154bd674e9 org/test-creature.org --- a/org/test-creature.org Mon Jan 23 03:41:26 2012 -0700 +++ b/org/test-creature.org Tue Jan 24 18:12:14 2012 -0700 @@ -6,13 +6,17 @@ #+SETUPFILE: ../../aurellem/org/setup.org #+INCLUDE: ../../aurellem/org/level-0.org -* objectives - - [X] get an overall bitmap-like image for touch - - [X] write code to visuliaze this bitmap - - [ ] directly change the UV-pixels to show touch sensor activation - - [ ] write an explination for why b&w bitmaps for senses is appropiate - - [ ] clean up touch code and write visulazation test - - [ ] do the same for eyes +* ideas + - [ ] directly change the UV-pixels to show sensor activation + - [ ] write an explination for why greyscale bitmaps for senses is appropiate + - [ ] write tests for integration + - [ ] usertime/gametime HUD display + - [ ] use sawfish to auto-tile sense windows + - [ ] sawfish keybinding to automatically delete all sense windows + - [ ] proprioception sensor map in the style of the other senses + - [ ] optional fourier view of sound + - [ ] enable greyscale bitmaps for touch + * Intro So far, I've made the following senses -- @@ -779,7 +783,6 @@ lis (Listener.) audio-renderer (.getAudioRenderer world) sp (sound-processor continuation)] - (println-repl "audio-renderer is " audio-renderer) (.setLocation lis (.getWorldTranslation ear)) (.setRotation lis (.getWorldRotation ear)) (bind-sense target lis) @@ -803,7 +806,6 @@ (map #(rem (int (* 255 (/ (+ 1 %) 2))) 256) data))] - (println-repl (take 10 scaled-data)) [topology scaled-data])) ]])) @@ -962,8 +964,8 @@ [init-hearing-fns hearing-senses] (hearing creature) hearing-windows (map (fn [_] (debug-hearing-window 50)) hearing-senses) - bang (AudioNode. (asset-manager) - "Sounds/dream.wav" false) + bell (AudioNode. (asset-manager) + "Sounds/ear-and-eye.wav" false) ;; dream ] @@ -980,7 +982,7 @@ (if value (do (println-repl "play-sound") - (.play bang))))}) + (.play bell))))}) (fn [world] (light-up-everything world) (enable-debug world)