2012-06-26 15:36:12 -07:00
|
|
|
EPhysics 0.1.0
|
|
|
|
|
|
|
|
******************************************************************************
|
|
|
|
|
|
|
|
FOR ANY ISSUES PLEASE EMAIL:
|
|
|
|
enlightenment-devel@lists.sourceforge.net
|
|
|
|
|
|
|
|
******************************************************************************
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Must:
|
|
|
|
libc
|
2012-06-27 12:09:03 -07:00
|
|
|
ecore (at least 1.2.99)
|
|
|
|
ecore-evas (at least 1.2.99)
|
|
|
|
evas (at least 1.2.99)
|
2012-07-01 01:47:05 -07:00
|
|
|
bullet (at least 2.79)
|
2012-06-26 15:36:12 -07:00
|
|
|
Optional:
|
2012-06-27 12:09:03 -07:00
|
|
|
elementary (at least 1.0.99, required to build ephysics_test)
|
2012-06-26 15:36:12 -07:00
|
|
|
|
|
|
|
EPhysics is a library that manages Ecore, Evas and Bullet Physics into
|
|
|
|
an easy to use way. It's a kind of wrapper, a glue, between these libraries.
|
|
|
|
It's not intended to be a physics library (we already have many out there).
|
|
|
|
|
2012-09-04 15:42:02 -07:00
|
|
|
WARNING: if you are building Bullet Physics instead of using a package,
|
|
|
|
use cmake build option. Autotools seems to be unmaintained.
|
|
|
|
|
2012-06-26 15:36:12 -07:00
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
COMPILING AND INSTALLING:
|
|
|
|
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
(as root unless you are installing in your users directories):
|
|
|
|
$ make install
|
|
|
|
|
|
|
|
If elementary is installed, it will build and install a test application as
|
|
|
|
well, that showcases EPhysics capabilites. Run
|
|
|
|
|
|
|
|
$ ephysics_test
|
|
|
|
|
|
|
|
to see these examples.
|
2012-08-16 14:34:29 -07:00
|
|
|
|
2012-10-09 12:59:34 -07:00
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
TESTS
|
|
|
|
|
|
|
|
Tests require elementary to be build.
|
|
|
|
|
|
|
|
List of test applications:
|
|
|
|
* ephysics_test => List with many tests to exemplify specific features
|
|
|
|
* ephysics_logo => Example of logo / loading screen made using ephysics
|
|
|
|
* ephysics_sandbox => Application to set many different properties to bodies
|
|
|
|
and see they interacting.
|
|
|
|
|
|
|
|
ephysics_test supports to launch a specified test on command line, like
|
2012-08-16 14:34:29 -07:00
|
|
|
|
|
|
|
$ ephysics_test "Jumping Balls"
|
|
|
|
|
|
|
|
Also, it can run only the test, avoiding the main menu, with parameter
|
|
|
|
--test-win-only or -to (it must to be passed before the test name):
|
|
|
|
|
|
|
|
$ ephysics_test -to Camera
|
|
|
|
|
2012-10-09 12:59:34 -07:00
|
|
|
The other programs don't accept parameters.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
2012-06-26 15:36:12 -07:00
|
|
|
|
|
|
|
DOCS
|
|
|
|
|
|
|
|
To generate documentation, doxygen is required.
|
|
|
|
|
|
|
|
$ make doc
|
|
|
|
|
|
|
|
will create a ephysics/doc/html directory. You could start looking at
|
|
|
|
index.html.
|