comparison thesis/cortex.org @ 556:531bcd85d153

very minor spell check and formating.
author Robert McIntyre <rlm@mit.edu>
date Fri, 02 May 2014 14:31:39 -0400
parents c8f7d10b1a2a
children 830dc2e426b6
comparison
equal deleted inserted replaced
555:c8f7d10b1a2a 556:531bcd85d153
1343 jMonkeyEngine's sound system works as follows: 1343 jMonkeyEngine's sound system works as follows:
1344 1344
1345 - jMonkeyEngine uses the =AppSettings= for the particular 1345 - jMonkeyEngine uses the =AppSettings= for the particular
1346 application to determine what sort of =AudioRenderer= should be 1346 application to determine what sort of =AudioRenderer= should be
1347 used. 1347 used.
1348 - Although some support is provided for multiple AudioRendering 1348 - Although some support is provided for multiple AudioRenderer
1349 backends, jMonkeyEngine at the time of this writing will either 1349 backends, jMonkeyEngine at the time of this writing will either
1350 pick no =AudioRenderer= at all, or the =LwjglAudioRenderer=. 1350 pick no =AudioRenderer= at all, or the =LwjglAudioRenderer=.
1351 - jMonkeyEngine tries to figure out what sort of system you're 1351 - jMonkeyEngine tries to figure out what sort of system you're
1352 running and extracts the appropriate native libraries. 1352 running and extracts the appropriate native libraries.
1353 - The =LwjglAudioRenderer= uses the [[http://lwjgl.org/][=LWJGL=]] (LightWeight Java Game 1353 - The =LwjglAudioRenderer= uses the [[http://lwjgl.org/][=LWJGL=]] (LightWeight Java Game
2368 pool-integral (reductions + pool) 2368 pool-integral (reductions + pool)
2369 forces 2369 forces
2370 (vec (map #(float (* strength (/ % (last pool-integral)))) 2370 (vec (map #(float (* strength (/ % (last pool-integral))))
2371 pool-integral)) 2371 pool-integral))
2372 control (.getControl target RigidBodyControl)] 2372 control (.getControl target RigidBodyControl)]
2373 ;;(println-repl (.getName target) axis)
2374 (fn [n] 2373 (fn [n]
2375 (let [pool-index (max 0 (min n (dec (count pool)))) 2374 (let [pool-index (max 0 (min n (dec (count pool))))
2376 force (forces pool-index)] 2375 force (forces pool-index)]
2377 (.applyTorque control (.mult axis force)) 2376 (.applyTorque control (.mult axis force))
2378 (float (/ force strength)))))) 2377 (float (/ force strength))))))
3446 #+caption: The =draped?= predicate detects the presence of the cube 3445 #+caption: The =draped?= predicate detects the presence of the cube
3447 #+caption: whenever the worm interacts with it. The details of the 3446 #+caption: whenever the worm interacts with it. The details of the
3448 #+caption: cube are irrelevant; only the way it influences the 3447 #+caption: cube are irrelevant; only the way it influences the
3449 #+caption: worm's body matters. The ``unknown'' label on the fifth 3448 #+caption: worm's body matters. The ``unknown'' label on the fifth
3450 #+caption: frame is due to the fact that the worm is not 3449 #+caption: frame is due to the fact that the worm is not
3451 #+caption: stationairy. =draped?= will only declare that the worm 3450 #+caption: stationary. =draped?= will only declare that the worm
3452 #+caption: is draped if it has been still for a while. 3451 #+caption: is draped if it has been still for a while.
3453 #+name: draped-video 3452 #+name: draped-video
3454 #+ATTR_LaTeX: :width 13cm 3453 #+ATTR_LaTeX: :width 13cm
3455 [[./images/draped.png]] 3454 [[./images/draped.png]]
3456 3455
3564 3563
3565 Those who write a thesis should endeavor to make their code not only 3564 Those who write a thesis should endeavor to make their code not only
3566 accessible, but actually usable, as a way to pay back the community 3565 accessible, but actually usable, as a way to pay back the community
3567 that made the thesis possible in the first place. This thesis would 3566 that made the thesis possible in the first place. This thesis would
3568 not be possible without Free Software such as jMonkeyEngine3, 3567 not be possible without Free Software such as jMonkeyEngine3,
3569 Blender, clojure, emacs, ffmpeg, and many other tools. That is why I 3568 Blender, clojure, =emacs=, =ffmpeg=, and many other tools. That is
3570 have included this user guide, in the hope that someone else might 3569 why I have included this user guide, in the hope that someone else
3571 find =CORTEX= useful. 3570 might find =CORTEX= useful.
3572 3571
3573 ** Obtaining =CORTEX= 3572 ** Obtaining =CORTEX=
3574 3573
3575 You can get cortex from its mercurial repository at 3574 You can get cortex from its mercurial repository at
3576 http://hg.bortreb.com/cortex. You may also download =CORTEX= 3575 http://hg.bortreb.com/cortex. You may also download =CORTEX=
3918 function will import all jMonkeyEngine3 classes for immediate 3917 function will import all jMonkeyEngine3 classes for immediate
3919 use. 3918 use.
3920 3919
3921 - =(display-dilated-time world timer)= :: Shows the time as it is 3920 - =(display-dilated-time world timer)= :: Shows the time as it is
3922 flowing in the simulation on a HUD display. 3921 flowing in the simulation on a HUD display.
3923
3924
3925
3926 TODO -- add a paper about detecting biological motion from only a few dots.