# HG changeset patch # User Robert McIntyre # Date 1396042293 14400 # Node ID f14fa9e5b67fd22724a356692ea5a6cb99a51013 # Parent 3401053124b0a867d1598f36904df062d260a061 complete first draft of vision. diff -r 3401053124b0 -r f14fa9e5b67f thesis/comp.pl --- a/thesis/comp.pl Fri Mar 28 17:10:43 2014 -0400 +++ b/thesis/comp.pl Fri Mar 28 17:31:33 2014 -0400 @@ -1,4 +1,4 @@ -#!/bin/perl +#!/usr/bin/env perl use List::Flatten; diff -r 3401053124b0 -r f14fa9e5b67f thesis/cortex.org --- a/thesis/cortex.org Fri Mar 28 17:10:43 2014 -0400 +++ b/thesis/cortex.org Fri Mar 28 17:31:33 2014 -0400 @@ -1160,7 +1160,7 @@ #+caption: This is the core of vision in =CORTEX=. A given eye node #+caption: is converted into a function that returns visual #+caption: information from the simulation. - #+name: name + #+name: vision-kernel #+begin_listing clojure (defn vision-kernel "Returns a list of functions, each of which will return a color @@ -1231,9 +1231,25 @@ (vision-kernel creature eye)))) #+end_listing + #+caption: Simulated vision with a test creature and the + #+caption: human-like eye approximation. Notice how each channel + #+caption: of the eye responds differently to the differently + #+caption: colored balls. + #+name: worm-vision-test. + #+ATTR_LaTeX: :width 13cm + [[./images/worm-vision.png]] + The vision code is not much more complicated than the body code, + and enables multiple further paths for simulated vision. For + example, it is quite easy to create bifocal vision -- you just + make two eyes next to each other in blender! It is also possible + to encode vision transforms in the retinal files. For example, the + human like retina file in figure \ref{retina} approximates a + log-polar transform. - + This vision code has already been absorbed by the jMonkeyEngine + community and is now (in modified form) part of a system for + capturing in-game video to a file. ** Hearing is hard; =CORTEX= does it right diff -r 3401053124b0 -r f14fa9e5b67f thesis/images/worm-vision.png Binary file thesis/images/worm-vision.png has changed