diff org/games.org @ 31:f0562b9bde94

fixed picture links
author Robert McIntyre <rlm@mit.edu>
date Mon, 24 Oct 2011 12:54:04 -0700
parents 0206878c28b4
children 183744c179e6
line wrap: on
line diff
     1.1 --- a/org/games.org	Mon Oct 24 12:43:58 2011 -0700
     1.2 +++ b/org/games.org	Mon Oct 24 12:54:04 2011 -0700
     1.3 @@ -1,4 +1,4 @@
     1.4 -#+title: Simulated Senses
     1.5 +#+title: Games! Games! Games! <3
     1.6  #+author: Robert McIntyre
     1.7  #+email: rlm@mit.edu
     1.8  #+description: Simulating senses for AI research using JMonkeyEngine3
     1.9 @@ -7,12 +7,10 @@
    1.10  #+babel: :mkdirp yes :noweb yes :exports both
    1.11  
    1.12  
    1.13 -* Simulation Base
    1.14 -  
    1.15 +* Games!
    1.16  
    1.17 -** Hello
    1.18 -Here are the jmonkeyengine "Hello" programs translated to clojure.
    1.19 -*** Hello Simple App
    1.20 +Here are the jMonkeyEngine "Hello" programs translated to clojure.
    1.21 +** Hello Simple App
    1.22  Here is the hello world example for jme3 in clojure.  It's a more or
    1.23  less direct translation from the java source [[http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_simpleapplication][here]].
    1.24  
    1.25 @@ -62,11 +60,10 @@
    1.26  #+end_src
    1.27  
    1.28  #+caption: the simplest JME game.
    1.29 -[[./images/simple-app.jpg]]
    1.30 +[[../images/simple-app.jpg]]
    1.31  
    1.32  
    1.33 -
    1.34 -*** Hello Physics
    1.35 +** Hello Physics
    1.36  From http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_physics
    1.37  
    1.38  #+srcname: brick-wall-header
    1.39 @@ -214,12 +211,12 @@
    1.40  #+end_src
    1.41  
    1.42  #+caption: the brick wall standing
    1.43 -[[./images/brick-wall-standing.jpg]]
    1.44 +[[../images/brick-wall-standing.jpg]]
    1.45  
    1.46  #+caption: the brick wall after it has been knocked over by a "pok\eacute{}ball"
    1.47 -[[./images/brick-wall-knocked-down.jpg]]
    1.48 +[[../images/brick-wall-knocked-down.jpg]]
    1.49  
    1.50 -*** Other Brick Games
    1.51 +** Other Brick Games
    1.52  #+srcname: other-games
    1.53  #+begin_src clojure :results silent
    1.54  (ns cortex.other-games
    1.55 @@ -365,9 +362,9 @@
    1.56  #+end_src
    1.57  
    1.58  #+caption: floating dominos
    1.59 -[[./images/dominos.jpg]]
    1.60 +[[../images/dominos.jpg]]
    1.61  
    1.62 -*** Hello Loop
    1.63 +** Hello Loop
    1.64  #+srcname: hello-loop
    1.65  #+begin_src clojure :results silent
    1.66  (ns hello.loop)
    1.67 @@ -393,8 +390,8 @@
    1.68  	 (fn [game tpf]
    1.69  	   (.rotate cube 0.0 (* 2 tpf) 0.0)))))	 	 		  
    1.70  #+end_src
    1.71 -
    1.72 -*** Hello Collision
    1.73 +   
    1.74 +** Hello Collision
    1.75  
    1.76  #+srcname: hello-collision
    1.77  #+begin_src clojure :results silent
    1.78 @@ -516,7 +513,7 @@
    1.79  	  update-fn)))
    1.80  #+end_src
    1.81  
    1.82 -*** Hello Terrain
    1.83 +** Hello Terrain
    1.84  #+srcname: hello-terrain
    1.85  #+begin_src clojure :results silent
    1.86  (ns hello.terrain)
    1.87 @@ -666,7 +663,7 @@
    1.88        no-op))))
    1.89  #+end_src
    1.90  
    1.91 -*** Hello Materials
    1.92 +** Hello Materials
    1.93  #+srcname: material
    1.94  #+begin_src clojure :results silent
    1.95  (ns hello.material)
    1.96 @@ -718,10 +715,12 @@
    1.97  	  (TangentBinormalGenerator/generate)))
    1.98      (-> (.getMaterial)
    1.99  	(doto
   1.100 -	  (.setTexture "DiffuseMap" (.loadTexture (asset-manager)
   1.101 -						  "Textures/Terrain/Pond/Pond.png"))
   1.102 -	  (.setTexture "NormalMap"  (.loadTexture (asset-manager)
   1.103 -						  "Textures/Terrain/Pond/Pond_normal.png"))
   1.104 +	  (.setTexture "DiffuseMap" 
   1.105 +                       (.loadTexture (asset-manager)
   1.106 +                                     "Textures/Terrain/Pond/Pond.png"))
   1.107 +	  (.setTexture "NormalMap"
   1.108 +                       (.loadTexture (asset-manager)
   1.109 +                                     "Textures/Terrain/Pond/Pond_normal.png"))
   1.110  	  (.setFloat   "Shininess"  (float 5))))
   1.111      (.rotate (float 1.6) 0 0)))
   1.112  
   1.113 @@ -787,3 +786,4 @@
   1.114  
   1.115  
   1.116  
   1.117 +