forked from Ramblurr/scriptbots
-
Notifications
You must be signed in to change notification settings - Fork 44
/
README.txt
43 lines (30 loc) · 1.35 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
SCRIPTBOTS
Author: Andrej Karpathy
Contributors: Casey Link
Licence: BSD
Project website and attached forum:
https://sites.google.com/site/scriptbotsevo/home
------------------------------------------------------
BUILDING:
To compile scriptbots you will need:
CMake >= 2.8 (http://www.cmake.org/cmake/resources/software.html)
OpenGL and GLUT (http://www.opengl.org/resources/libraries/glut/)
* Linux: freeglut (http://freeglut.sourceforge.net/)
It will use OpenMP to speed up everything, in case you have multicore cpu.
If you are on Ubuntu (or debian) you can install all the dependencies with:
$ apt-get install cmake build-essential libopenmpi-dev libglut32-dev libxi-dev libxmu-dev
To build ScriptBots on Linux:
$ cd path/to/source
$ mkdir build
$ cd build
$ cmake ../ # this is the equiv of ./configure
$ make
To execute ScriptBots simply type the following in the build directory:
$ ./scriptbots
For Windows:
Follow basically the same steps, but after running cmake open up the VS solution (.sln) file it generates and compile the project from VS.
USAGE:
Compile and run. Hit 'd' to make it go MUCH FASTER (and not draw). Speed can
also be controlled with + and -. Use mouse to pan and zoom around.
QUESTIONS COMMENTS are best posted at the google group, available on project site
or contact me at [email protected]