diff org/sense.org @ 276:54ec231dec4c

I changed Capture Video, then merged with Robert.
author Dylan Holmes <ocsenave@gmail.com>
date Wed, 15 Feb 2012 01:16:54 -0600
parents c39b8b29a79e
children 23aadf376e9d
line wrap: on
line diff
     1.1 --- a/org/sense.org	Wed Feb 15 01:15:15 2012 -0600
     1.2 +++ b/org/sense.org	Wed Feb 15 01:16:54 2012 -0600
     1.3 @@ -6,12 +6,11 @@
     1.4  #+SETUPFILE: ../../aurellem/org/setup.org
     1.5  #+INCLUDE: ../../aurellem/org/level-0.org
     1.6  
     1.7 -
     1.8  * Blender Utilities
     1.9  In blender, any object can be assigned an arbitray number of key-value
    1.10  pairs which are called "Custom Properties". These are accessable in
    1.11  jMonkyeEngine when blender files are imported with the
    1.12 -=BlenderLoader=. =(meta-data)= extracts these properties.
    1.13 +=BlenderLoader=. =meta-data= extracts these properties.
    1.14  
    1.15  #+name: blender-1
    1.16  #+begin_src clojure
    1.17 @@ -108,10 +107,10 @@
    1.18  [[../images/finger-3.png]]
    1.19  
    1.20  The following code loads images and gets the locations of the white
    1.21 -pixels so that they can be used to create senses. =(load-image)= finds
    1.22 +pixels so that they can be used to create senses. =load-image= finds
    1.23  images using jMonkeyEngine's asset-manager, so the image path is
    1.24  expected to be relative to the =assets= directory.  Thanks to Dylan
    1.25 -for the beautiful version of =(filter-pixels)=.
    1.26 +for the beautiful version of =filter-pixels=.
    1.27  
    1.28  #+name: topology-1
    1.29  #+begin_src clojure
    1.30 @@ -159,7 +158,7 @@
    1.31  axons, whether it be the optic nerve or the spinal cord. While these
    1.32  bundles more or less perserve the overall topology of a sense's
    1.33  two-dimensional surface, they do not perserve the percise euclidean
    1.34 -distances between every sensor. =(collapse)= is here to smoosh the
    1.35 +distances between every sensor. =collapse= is here to smoosh the
    1.36  sensors described by a UV-map into a contigous region that still
    1.37  perserves the topology of the original sense.
    1.38  
    1.39 @@ -235,10 +234,10 @@
    1.40  * Viewing Sense Data
    1.41  
    1.42  It's vital to /see/ the sense data to make sure that everything is
    1.43 -behaving as it should. =(view-sense)= and its helper, =(view-image)=
    1.44 +behaving as it should. =view-sense= and its helper, =view-image=
    1.45  are here so that each sense can define its own way of turning
    1.46  sense-data into pictures, while the actual rendering of said pictures
    1.47 -stays in one central place.  =(points->image)= helps senses generate a
    1.48 +stays in one central place.  =points->image= helps senses generate a
    1.49  base image onto which they can overlay actual sense data.
    1.50  
    1.51  #+name: view-senses
    1.52 @@ -351,7 +350,7 @@
    1.53     to the sense, including a UV-map describing the number/distribution
    1.54     of sensors if applicipable.
    1.55   - Make each empty-node the child of the top-level
    1.56 -   node. =(sense-nodes)= below generates functions to find these children.
    1.57 +   node. =sense-nodes= below generates functions to find these children.
    1.58  
    1.59  For touch, store the path to the UV-map which describes touch-sensors in the
    1.60  meta-data of the object to which that map applies.
    1.61 @@ -363,7 +362,7 @@
    1.62  Empty nodes created in blender have no appearance or physical presence
    1.63  in jMonkeyEngine, but do appear in the scene graph. Empty nodes that
    1.64  represent a sense which "follows" another geometry (like eyes and
    1.65 -ears) follow the closest physical object.  =(closest-node)= finds this
    1.66 +ears) follow the closest physical object.  =closest-node= finds this
    1.67  closest object given the Creature and a particular empty node.
    1.68  
    1.69  #+name: node-1
    1.70 @@ -409,7 +408,7 @@
    1.71  
    1.72  ** Sense Binding
    1.73  
    1.74 -=(bind-sense)= binds either a Camera or a Listener object to any
    1.75 +=bind-sense= binds either a Camera or a Listener object to any
    1.76  object so that they will follow that object no matter how it
    1.77  moves. It is used to create both eyes and ears.
    1.78  
    1.79 @@ -442,7 +441,7 @@
    1.80  #+end_src
    1.81  
    1.82  Here is some example code which shows how a camera bound to a blue box
    1.83 -with =(bind-sense)= moves as the box is buffeted by white cannonballs.
    1.84 +with =bind-sense= moves as the box is buffeted by white cannonballs.
    1.85  
    1.86  #+name: test
    1.87  #+begin_src clojure