# HG changeset patch # User Robert McIntyre # Date 1342808062 18000 # Node ID fdc98824d69bab85c57ae3fc862cbb8d9351057c # Parent 70469ff8eb5632bc213b5b859378299aaf30da4f working on problem with vision. diff -r 70469ff8eb56 -r fdc98824d69b .hgignore --- a/.hgignore Fri Jul 20 13:04:25 2012 -0500 +++ b/.hgignore Fri Jul 20 13:14:22 2012 -0500 @@ -10,6 +10,9 @@ libbulletjme64.so liblwjgl64.so libopenal64.so +liblwjgl.so +libopenal.so +libbulletjme.so syntax: regexp diff -r 70469ff8eb56 -r fdc98824d69b org/vision.org --- a/org/vision.org Fri Jul 20 13:04:25 2012 -0500 +++ b/org/vision.org Fri Jul 20 13:14:22 2012 -0500 @@ -562,7 +562,7 @@ ([record?] (let [the-worm (doto (worm)(body!)) vision (vision! the-worm) - vision-display (view-vision) + ;;vision-display (view-vision) fix-display (gen-fix-display) me (sphere 0.5 :color ColorRGBA/Blue :physical? false) x-axis @@ -584,9 +584,9 @@ "key-g" (colored-cannon-ball ColorRGBA/Green)) (fn [world] (light-up-everything world) - (speed-up world) + ;;(speed-up world) (.setTimer world timer) - (display-dilated-time world timer) + ;;(display-dilated-time world timer) ;; add a view from the worm's perspective (if record? (Capture/captureVideo @@ -609,16 +609,16 @@ (fn [world _ ] (.setLocalTranslation me (.getLocation (.getCamera world))) - (vision-display - (map #(% world) vision) - (if record? - (File. "/home/r/proj/cortex/render/worm-vision"))) + ;; (vision-display + ;; (map #(% world) vision) + ;; (if record? + ;; (File. "/home/r/proj/cortex/render/worm-vision"))) (fix-display world) ))))) #+end_src #+RESULTS: test-2 -| | #'cortex.test.vision/test-worm-vision | +: #'cortex.test.vision/test-worm-vision The world consists of the worm and a flat gray floor. I can shoot red,