changeset 44:f3e33fd5f97d

working through blender tutorial
author Robert McIntyre <rlm@mit.edu>
date Tue, 08 Nov 2011 01:38:22 -0700
parents 117eb477d0a7
children f080f1e49fba
files assets/Models/beachBall/beachBall.blend assets/Models/beachBall/beachBall.blend1 assets/Models/beachBall/beachBall.blend2 assets/Models/bones/bones.blend assets/Models/bones/bones.blend1 assets/Models/bones/bones.blend2 assets/Models/bones/stargazing.png assets/Models/bones/stargazing2.png assets/Models/die.blend1 assets/Models/die/die.blend assets/Models/die/die.blend1 assets/Models/die/die.blend2 assets/Models/die/die.png assets/Models/fox/Toywolf-front.jpg assets/Models/fox/Toywolf-left.jpg assets/Models/fox/Toywolf-top.jpg assets/Models/goblet/gob.png assets/Models/goblet/noob-goblet.blend assets/Models/goblet/noob-goblet.blend1 assets/Models/goblet/noob-goblet.blend2 assets/Models/goblet/rlm-goblet.blend assets/Models/goblet/rlm-goblet.blend1 assets/Models/goblet/rlm-goblet.blend2 assets/Models/ooze/ooze.blend assets/Models/ooze/ooze.blend1 assets/Models/ooze/ooze.blend2 assets/Models/para/parachute.blend assets/Models/para/parachute.blend1 assets/Models/penguin/penguin.blend assets/Models/penguin/penguin.blend1 assets/Models/penguin/penguin.blend2 assets/Models/person/person.blend assets/Models/person/person.blend1 assets/Models/person/person.blend2 assets/Models/pipe/pipe.blend assets/Models/pipe/pipe.blend1 assets/Models/pipe/pipe.blend2 assets/Models/pyaramid/Trianglexemplar.png assets/Models/pyaramid/pyaramid.blend assets/Models/pyaramid/pyaramid.blend1 assets/Models/pyaramid/pyaramid.blend2 assets/Models/texture/bump.blend assets/Models/texture/halo.blend assets/Models/texture/halo.blend1 assets/Models/texture/halo.blend2 assets/Models/texture/plants.jpeg assets/Models/texture/seamless.blend assets/Models/texture/seamless.blend1 assets/Models/texture/seamless.blend2 assets/Models/volcano/volcano.blend assets/Models/volcano/volcano.blend1 assets/Models/volcano/volcano.blend2 assets/Models/wolf/fox.blend assets/Models/wolf/fox.blend1 assets/Models/wolf/fox.blend2 org/body.org
diffstat 56 files changed, 15 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
     1.1 Binary file assets/Models/beachBall/beachBall.blend has changed
     2.1 Binary file assets/Models/beachBall/beachBall.blend1 has changed
     3.1 Binary file assets/Models/beachBall/beachBall.blend2 has changed
     4.1 Binary file assets/Models/bones/bones.blend has changed
     5.1 Binary file assets/Models/bones/bones.blend1 has changed
     6.1 Binary file assets/Models/bones/bones.blend2 has changed
     7.1 Binary file assets/Models/bones/stargazing.png has changed
     8.1 Binary file assets/Models/bones/stargazing2.png has changed
     9.1 Binary file assets/Models/die.blend1 has changed
    10.1 Binary file assets/Models/die/die.blend has changed
    11.1 Binary file assets/Models/die/die.blend1 has changed
    12.1 Binary file assets/Models/die/die.blend2 has changed
    13.1 Binary file assets/Models/die/die.png has changed
    14.1 Binary file assets/Models/fox/Toywolf-front.jpg has changed
    15.1 Binary file assets/Models/fox/Toywolf-left.jpg has changed
    16.1 Binary file assets/Models/fox/Toywolf-top.jpg has changed
    17.1 Binary file assets/Models/goblet/gob.png has changed
    18.1 Binary file assets/Models/goblet/noob-goblet.blend has changed
    19.1 Binary file assets/Models/goblet/noob-goblet.blend1 has changed
    20.1 Binary file assets/Models/goblet/noob-goblet.blend2 has changed
    21.1 Binary file assets/Models/goblet/rlm-goblet.blend has changed
    22.1 Binary file assets/Models/goblet/rlm-goblet.blend1 has changed
    23.1 Binary file assets/Models/goblet/rlm-goblet.blend2 has changed
    24.1 Binary file assets/Models/ooze/ooze.blend has changed
    25.1 Binary file assets/Models/ooze/ooze.blend1 has changed
    26.1 Binary file assets/Models/ooze/ooze.blend2 has changed
    27.1 Binary file assets/Models/para/parachute.blend has changed
    28.1 Binary file assets/Models/para/parachute.blend1 has changed
    29.1 Binary file assets/Models/penguin/penguin.blend has changed
    30.1 Binary file assets/Models/penguin/penguin.blend1 has changed
    31.1 Binary file assets/Models/penguin/penguin.blend2 has changed
    32.1 Binary file assets/Models/person/person.blend has changed
    33.1 Binary file assets/Models/person/person.blend1 has changed
    34.1 Binary file assets/Models/person/person.blend2 has changed
    35.1 Binary file assets/Models/pipe/pipe.blend has changed
    36.1 Binary file assets/Models/pipe/pipe.blend1 has changed
    37.1 Binary file assets/Models/pipe/pipe.blend2 has changed
    38.1 Binary file assets/Models/pyaramid/Trianglexemplar.png has changed
    39.1 Binary file assets/Models/pyaramid/pyaramid.blend has changed
    40.1 Binary file assets/Models/pyaramid/pyaramid.blend1 has changed
    41.1 Binary file assets/Models/pyaramid/pyaramid.blend2 has changed
    42.1 Binary file assets/Models/texture/bump.blend has changed
    43.1 Binary file assets/Models/texture/halo.blend has changed
    44.1 Binary file assets/Models/texture/halo.blend1 has changed
    45.1 Binary file assets/Models/texture/halo.blend2 has changed
    46.1 Binary file assets/Models/texture/plants.jpeg has changed
    47.1 Binary file assets/Models/texture/seamless.blend has changed
    48.1 Binary file assets/Models/texture/seamless.blend1 has changed
    49.1 Binary file assets/Models/texture/seamless.blend2 has changed
    50.1 Binary file assets/Models/volcano/volcano.blend has changed
    51.1 Binary file assets/Models/volcano/volcano.blend1 has changed
    52.1 Binary file assets/Models/volcano/volcano.blend2 has changed
    53.1 Binary file assets/Models/wolf/fox.blend has changed
    54.1 Binary file assets/Models/wolf/fox.blend1 has changed
    55.1 Binary file assets/Models/wolf/fox.blend2 has changed
    56.1 --- a/org/body.org	Fri Nov 04 07:54:20 2011 -0700
    56.2 +++ b/org/body.org	Tue Nov 08 01:38:22 2011 -0700
    56.3 @@ -5,20 +5,28 @@
    56.4  #+SETUPFILE: ../../aurellem/org/setup.org
    56.5  #+INCLUDE: ../../aurellem/org/level-0.org
    56.6  
    56.7 -
    56.8 -
    56.9 -
   56.10  * Body ! 
   56.11  
   56.12  #+srcname: body-main
   56.13  #+begin_src clojure 
   56.14 -(ns body.body)
   56.15 -(use 'cortex.world)
   56.16 -(use 'cortex.import)
   56.17 +(ns cortex.body
   56.18 +  (use (cortex world util import)))
   56.19 +
   56.20  (use 'clojure.contrib.def)
   56.21  (cortex.import/mega-import-jme3)
   56.22  (rlm.rlm-commands/help)
   56.23  
   56.24 +;;(.loadModel 
   56.25 +;; (doto (asset-manager)
   56.26 +;;   (.registerLoader BlenderModelLoader (into-array String ["blend"])))
   56.27 +;;   "Models/person/person.blend")
   56.28 +
   56.29 +(defn view-model [^String model]
   56.30 +  (view 
   56.31 +   (.loadModel 
   56.32 +    (doto (asset-manager)
   56.33 +      (.registerLoader BlenderModelLoader (into-array String ["blend"])))
   56.34 +    model)))
   56.35  
   56.36  
   56.37  #+end_src
   56.38 @@ -31,7 +39,7 @@
   56.39  
   56.40  
   56.41  * COMMENT generate Source.
   56.42 -#+begin_src clojure :tangle ../src/body/body.clj
   56.43 +#+begin_src clojure :tangle ../src/cortex/body.clj
   56.44  <<body-main>>
   56.45  #+end_src
   56.46