changeset 31:f0562b9bde94

fixed picture links
author Robert McIntyre <rlm@mit.edu>
date Mon, 24 Oct 2011 12:54:04 -0700
parents 0206878c28b4
children 97703c7f020e
files images/brick-wall-knocked-down.jpg images/brick-wall-standing.jpg images/dominos.jpg images/simple-app.jpg org/games.org
diffstat 5 files changed, 22 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
     1.1 Binary file images/brick-wall-knocked-down.jpg has changed
     2.1 Binary file images/brick-wall-standing.jpg has changed
     3.1 Binary file images/dominos.jpg has changed
     4.1 Binary file images/simple-app.jpg has changed
     5.1 --- a/org/games.org	Mon Oct 24 12:43:58 2011 -0700
     5.2 +++ b/org/games.org	Mon Oct 24 12:54:04 2011 -0700
     5.3 @@ -1,4 +1,4 @@
     5.4 -#+title: Simulated Senses
     5.5 +#+title: Games! Games! Games! <3
     5.6  #+author: Robert McIntyre
     5.7  #+email: rlm@mit.edu
     5.8  #+description: Simulating senses for AI research using JMonkeyEngine3
     5.9 @@ -7,12 +7,10 @@
    5.10  #+babel: :mkdirp yes :noweb yes :exports both
    5.11  
    5.12  
    5.13 -* Simulation Base
    5.14 -  
    5.15 +* Games!
    5.16  
    5.17 -** Hello
    5.18 -Here are the jmonkeyengine "Hello" programs translated to clojure.
    5.19 -*** Hello Simple App
    5.20 +Here are the jMonkeyEngine "Hello" programs translated to clojure.
    5.21 +** Hello Simple App
    5.22  Here is the hello world example for jme3 in clojure.  It's a more or
    5.23  less direct translation from the java source [[http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_simpleapplication][here]].
    5.24  
    5.25 @@ -62,11 +60,10 @@
    5.26  #+end_src
    5.27  
    5.28  #+caption: the simplest JME game.
    5.29 -[[./images/simple-app.jpg]]
    5.30 +[[../images/simple-app.jpg]]
    5.31  
    5.32  
    5.33 -
    5.34 -*** Hello Physics
    5.35 +** Hello Physics
    5.36  From http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_physics
    5.37  
    5.38  #+srcname: brick-wall-header
    5.39 @@ -214,12 +211,12 @@
    5.40  #+end_src
    5.41  
    5.42  #+caption: the brick wall standing
    5.43 -[[./images/brick-wall-standing.jpg]]
    5.44 +[[../images/brick-wall-standing.jpg]]
    5.45  
    5.46  #+caption: the brick wall after it has been knocked over by a "pok\eacute{}ball"
    5.47 -[[./images/brick-wall-knocked-down.jpg]]
    5.48 +[[../images/brick-wall-knocked-down.jpg]]
    5.49  
    5.50 -*** Other Brick Games
    5.51 +** Other Brick Games
    5.52  #+srcname: other-games
    5.53  #+begin_src clojure :results silent
    5.54  (ns cortex.other-games
    5.55 @@ -365,9 +362,9 @@
    5.56  #+end_src
    5.57  
    5.58  #+caption: floating dominos
    5.59 -[[./images/dominos.jpg]]
    5.60 +[[../images/dominos.jpg]]
    5.61  
    5.62 -*** Hello Loop
    5.63 +** Hello Loop
    5.64  #+srcname: hello-loop
    5.65  #+begin_src clojure :results silent
    5.66  (ns hello.loop)
    5.67 @@ -393,8 +390,8 @@
    5.68  	 (fn [game tpf]
    5.69  	   (.rotate cube 0.0 (* 2 tpf) 0.0)))))	 	 		  
    5.70  #+end_src
    5.71 -
    5.72 -*** Hello Collision
    5.73 +   
    5.74 +** Hello Collision
    5.75  
    5.76  #+srcname: hello-collision
    5.77  #+begin_src clojure :results silent
    5.78 @@ -516,7 +513,7 @@
    5.79  	  update-fn)))
    5.80  #+end_src
    5.81  
    5.82 -*** Hello Terrain
    5.83 +** Hello Terrain
    5.84  #+srcname: hello-terrain
    5.85  #+begin_src clojure :results silent
    5.86  (ns hello.terrain)
    5.87 @@ -666,7 +663,7 @@
    5.88        no-op))))
    5.89  #+end_src
    5.90  
    5.91 -*** Hello Materials
    5.92 +** Hello Materials
    5.93  #+srcname: material
    5.94  #+begin_src clojure :results silent
    5.95  (ns hello.material)
    5.96 @@ -718,10 +715,12 @@
    5.97  	  (TangentBinormalGenerator/generate)))
    5.98      (-> (.getMaterial)
    5.99  	(doto
   5.100 -	  (.setTexture "DiffuseMap" (.loadTexture (asset-manager)
   5.101 -						  "Textures/Terrain/Pond/Pond.png"))
   5.102 -	  (.setTexture "NormalMap"  (.loadTexture (asset-manager)
   5.103 -						  "Textures/Terrain/Pond/Pond_normal.png"))
   5.104 +	  (.setTexture "DiffuseMap" 
   5.105 +                       (.loadTexture (asset-manager)
   5.106 +                                     "Textures/Terrain/Pond/Pond.png"))
   5.107 +	  (.setTexture "NormalMap"
   5.108 +                       (.loadTexture (asset-manager)
   5.109 +                                     "Textures/Terrain/Pond/Pond_normal.png"))
   5.110  	  (.setFloat   "Shininess"  (float 5))))
   5.111      (.rotate (float 1.6) 0 0)))
   5.112  
   5.113 @@ -787,3 +786,4 @@
   5.114  
   5.115  
   5.116  
   5.117 +