Panagiotis Christopoulos Charitos 884a4649f4 *Working on the ParticleEmitter and physics in general há 16 anos atrás
..
debug 884a4649f4 *Working on the ParticleEmitter and physics in general há 16 anos atrás
release bf5910d63f *Working on light scattering: Added the sun in the scene, and changed the shader and the cpp há 16 anos atrás
release_icpc 2af2b7d7e3 *Moved the controllers to new dir há 16 anos atrás
release_llvm 2af2b7d7e3 *Moved the controllers to new dir há 16 anos atrás
README 7a26d33dd4 *Working on new coding style há 16 anos atrás
genmakefile.py 6bda410163 Integrating Bullet physics. See README of how to build há 16 anos atrás

README

---------------------------------------------------------------------------------------------------------------------------------------
HOW TO GENERATE MAKEFILES
---------------------------------------------------------------------------------------------------------------------------------------

There are 4 build targets in this folder. There is also a build system that generates GNU makefiles. If you want to generate the makefile for the debug target (for example) do the following:

cd /build/debug
../genmakefile.py

This will generate a "Makefile". To build just type:

make

And the build will will begin.

Sometimes I forget to update all the targets. The debug is always updated though

The gen.cfg.py files contain the build options of every target. Their format is pretty straightforward and minimal


---------------------------------------------------------------------------------------------------------------------------------------
HOW TO BUILD BULLET PHYSICS
---------------------------------------------------------------------------------------------------------------------------------------

From now on the AnKi requires the Bullet Physics library. Bullet dev files do not ship with any Linux distribution, for now, so you have to download it manually and build it. Here is how:

1) Go to the root AnKi path (where src, shaders and blenderscripts are)
2) cd ..
3) svn checkout http://bullet.googlecode.com/svn/trunk/ bullet_svn
4) cd bullet_svn
5) cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
6) make

The above steps build Bullet statically. If you want to download bullet in a different dir then make the apropriate changes in the gen.cfg.py files