# HG changeset patch # User Robert McIntyre # Date 1320741502 25200 # Node ID f3e33fd5f97d31024d45c5f72442ca8291de0cda # Parent 117eb477d0a78d32655ee5ee6020b44f7fb196c7 working through blender tutorial diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/beachBall/beachBall.blend Binary file assets/Models/beachBall/beachBall.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/beachBall/beachBall.blend1 Binary file assets/Models/beachBall/beachBall.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/beachBall/beachBall.blend2 Binary file assets/Models/beachBall/beachBall.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/bones/bones.blend Binary file assets/Models/bones/bones.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/bones/bones.blend1 Binary file assets/Models/bones/bones.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/bones/bones.blend2 Binary file assets/Models/bones/bones.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/bones/stargazing.png Binary file assets/Models/bones/stargazing.png has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/bones/stargazing2.png Binary file assets/Models/bones/stargazing2.png has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/die.blend1 Binary file assets/Models/die.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/die/die.blend Binary file assets/Models/die/die.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/die/die.blend1 Binary file assets/Models/die/die.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/die/die.blend2 Binary file assets/Models/die/die.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/die/die.png Binary file assets/Models/die/die.png has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/fox/Toywolf-front.jpg Binary file assets/Models/fox/Toywolf-front.jpg has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/fox/Toywolf-left.jpg Binary file assets/Models/fox/Toywolf-left.jpg has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/fox/Toywolf-top.jpg Binary file assets/Models/fox/Toywolf-top.jpg has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/gob.png Binary file assets/Models/goblet/gob.png has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/noob-goblet.blend Binary file assets/Models/goblet/noob-goblet.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/noob-goblet.blend1 Binary file assets/Models/goblet/noob-goblet.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/noob-goblet.blend2 Binary file assets/Models/goblet/noob-goblet.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/rlm-goblet.blend Binary file assets/Models/goblet/rlm-goblet.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/rlm-goblet.blend1 Binary file assets/Models/goblet/rlm-goblet.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/goblet/rlm-goblet.blend2 Binary file assets/Models/goblet/rlm-goblet.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/ooze/ooze.blend Binary file assets/Models/ooze/ooze.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/ooze/ooze.blend1 Binary file assets/Models/ooze/ooze.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/ooze/ooze.blend2 Binary file assets/Models/ooze/ooze.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/para/parachute.blend Binary file assets/Models/para/parachute.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/para/parachute.blend1 Binary file assets/Models/para/parachute.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/penguin/penguin.blend Binary file assets/Models/penguin/penguin.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/penguin/penguin.blend1 Binary file assets/Models/penguin/penguin.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/penguin/penguin.blend2 Binary file assets/Models/penguin/penguin.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/person/person.blend Binary file assets/Models/person/person.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/person/person.blend1 Binary file assets/Models/person/person.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/person/person.blend2 Binary file assets/Models/person/person.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pipe/pipe.blend Binary file assets/Models/pipe/pipe.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pipe/pipe.blend1 Binary file assets/Models/pipe/pipe.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pipe/pipe.blend2 Binary file assets/Models/pipe/pipe.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pyaramid/Trianglexemplar.png Binary file assets/Models/pyaramid/Trianglexemplar.png has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pyaramid/pyaramid.blend Binary file assets/Models/pyaramid/pyaramid.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pyaramid/pyaramid.blend1 Binary file assets/Models/pyaramid/pyaramid.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/pyaramid/pyaramid.blend2 Binary file assets/Models/pyaramid/pyaramid.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/bump.blend Binary file assets/Models/texture/bump.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/halo.blend Binary file assets/Models/texture/halo.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/halo.blend1 Binary file assets/Models/texture/halo.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/halo.blend2 Binary file assets/Models/texture/halo.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/plants.jpeg Binary file assets/Models/texture/plants.jpeg has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/seamless.blend Binary file assets/Models/texture/seamless.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/seamless.blend1 Binary file assets/Models/texture/seamless.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/texture/seamless.blend2 Binary file assets/Models/texture/seamless.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/volcano/volcano.blend Binary file assets/Models/volcano/volcano.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/volcano/volcano.blend1 Binary file assets/Models/volcano/volcano.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/volcano/volcano.blend2 Binary file assets/Models/volcano/volcano.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/wolf/fox.blend Binary file assets/Models/wolf/fox.blend has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/wolf/fox.blend1 Binary file assets/Models/wolf/fox.blend1 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d assets/Models/wolf/fox.blend2 Binary file assets/Models/wolf/fox.blend2 has changed diff -r 117eb477d0a7 -r f3e33fd5f97d org/body.org --- a/org/body.org Fri Nov 04 07:54:20 2011 -0700 +++ b/org/body.org Tue Nov 08 01:38:22 2011 -0700 @@ -5,20 +5,28 @@ #+SETUPFILE: ../../aurellem/org/setup.org #+INCLUDE: ../../aurellem/org/level-0.org - - - * Body ! #+srcname: body-main #+begin_src clojure -(ns body.body) -(use 'cortex.world) -(use 'cortex.import) +(ns cortex.body + (use (cortex world util import))) + (use 'clojure.contrib.def) (cortex.import/mega-import-jme3) (rlm.rlm-commands/help) +;;(.loadModel +;; (doto (asset-manager) +;; (.registerLoader BlenderModelLoader (into-array String ["blend"]))) +;; "Models/person/person.blend") + +(defn view-model [^String model] + (view + (.loadModel + (doto (asset-manager) + (.registerLoader BlenderModelLoader (into-array String ["blend"]))) + model))) #+end_src @@ -31,7 +39,7 @@ * COMMENT generate Source. -#+begin_src clojure :tangle ../src/body/body.clj +#+begin_src clojure :tangle ../src/cortex/body.clj <> #+end_src