# HG changeset patch # User Robert McIntyre # Date 1329294976 25200 # Node ID 5833b4ce877a961c8f17fc6412d613d62796a2c1 # Parent aa36410429588fb607277e91f600f7575db1520b# Parent bbd787e12025ae4bea67a791110362c64c0fd8a7 merged diff -r bbd787e12025 -r 5833b4ce877a org/vision.org --- a/org/vision.org Tue Feb 14 17:54:32 2012 -0600 +++ b/org/vision.org Wed Feb 15 01:36:16 2012 -0700 @@ -13,7 +13,6 @@ # /value/ at a particular point =(f x)=. Mathematicians have this # problem with their notation; we don't need it in ours. -#* Vision * JMonkeyEngine natively supports multiple views of the same world. Vision is one of the most important senses for humans, so I need to @@ -138,26 +137,6 @@ processing algorithm that is entirely hosted on the GPU does not have to pay for this convienence. -* COMMENT asdasd - -(vision creature) will take an optional :skip argument which will -inform the continuations in scene processor to skip the given -number of cycles 0 means that no cycles will be skipped. - -(vision creature) will return [init-functions sensor-functions]. -The init-functions are each single-arg functions that take the -world and register the cameras and must each be called before the -corresponding sensor-functions. Each init-function returns the -viewport for that eye which can be manipulated, saved, etc. Each -sensor-function is a thunk and will return data in the same -format as the tactile-sensor functions the structure is -[topology, sensor-data]. Internally, these sensor-functions -maintain a reference to sensor-data which is periodically updated -by the continuation function established by its init-function. -They can be queried every cycle, but their information may not -necessairly be different every cycle. - -# * Optical sensor arrays are described as images and stored as metadata. * Optical sensor arrays are described with images and referenced with metadata The vision pipeline described above handles the flow of rendered images. Now, we need simulated eyes to serve as the source of these @@ -198,8 +177,6 @@ Here, the camera is created based on metadata on the eye-node and attached to the nearest physical object with =(bind-sense)= - - ** The Retina An eye is a surface (the retina) which contains many discrete sensors @@ -745,8 +722,6 @@ (:import java.io.File) (:import (com.aurellem.capture Capture RatchetTimer))) #+end_src - - * Source Listing - [[../src/cortex/vision.clj][cortex.vision]] - [[../src/cortex/test/vision.clj][cortex.test.vision]]