Commit Graph

167 Commits

Author SHA1 Message Date
Leandro Dorileo 8079624030 EPhysics: soft body test
Soft Body Test, add smart soft bodies in the list for exclusion.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77468
2012-10-04 22:40:29 +00:00
Leandro Dorileo 252643a33b EPhysics: add cloth support
This patch introduces the cloth support. Auxiliary API's for setting
full anchors, cloth nodes anchors and so on is also introduced. Few
other issues concerning soft body and cloth transform, has been worked
to fit the cloth support needs.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77467
2012-10-04 22:40:16 +00:00
Leandro Dorileo 1cb8f6fc0c EPhysics: multi point deformation
This patch introduces support for multi point deformation mapping,
it's wrapped with an evas smart object to handle multiple slices.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77466
2012-10-04 22:40:07 +00:00
Bruno Dilly da4c5234f2 ephysics: use new ELM_POLICY_EXIT
To make sure windows will be properly deleted at shutdown.



SVN revision: 77465
2012-10-04 22:39:59 +00:00
Bruno Dilly 7d994cc8e6 ephysics: don't try to lock on internal delete
SVN revision: 77464
2012-10-04 22:39:53 +00:00
Bruno Dilly 7fe038a1c8 ephysics: add test for materials
SVN revision: 77463
2012-10-04 22:39:47 +00:00
Bruno Dilly 0bdec67255 ephysics: support body material
Using material_set it will be easier to set density, friction
and restitution to a body, simulating properties of the selected
material.



SVN revision: 77462
2012-10-04 22:39:42 +00:00
Bruno Dilly f0b85f701d ephysics: add some material constants
Pre-defined values of some properties, as density, friction and
restitution.

Ricardo researched these values on the following sources:

http://www.matbase.com/
http://www.matweb.com/
http://physics.info/density/
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=616
http://www.woodweb.com/knowledge_base/Wood_Handbook.html
http://www.engineershandbook.com/Tables/frictioncoefficients.htm
http://www.engineeringtoolbox.com/friction-coefficients-d_778.html
http://hypertextbook.com/facts/2006/restitution.shtml

Since they diverge a lot, he calculated an average value.



SVN revision: 77461
2012-10-04 22:39:35 +00:00
Bruno Dilly 748cfbe2f4 ephysics: support density
SVN revision: 77460
2012-10-04 22:39:29 +00:00
Bruno Dilly b52d2ed85e ephysics: add define to infinite mass
Also check for invalid values on mass set.



SVN revision: 77459
2012-10-04 22:39:10 +00:00
Bruno Dilly 7b7bef6087 ephysics: delete all worlds on exit
sure, it won't work until externals init / shutdown mess is fixed.



SVN revision: 77458
2012-10-04 22:38:58 +00:00
Bruno Dilly 6181303ab5 ephysics: no need to delete all the bodies on test
data del

It's already done when deleting the world.



SVN revision: 77457
2012-10-04 22:38:17 +00:00
Bruno Dilly a3eda42485 ephysics: add a log domain usage counter
This way we assure eina log will be working until the last
thread ends.



SVN revision: 77456
2012-10-04 22:38:11 +00:00
Bruno Dilly 9668304291 ephysics: use multiple threads
Use a mainloop thread and one thread per world dedicated to simulation.

It's using ecore threads, out of the pool.

For now there are still some locks when trying to change physics
elements properties while a simulation is going on, but soon it will
have a queue of properties to be applied after a simulation step, so
it won't lock.



SVN revision: 77455
2012-10-04 22:38:06 +00:00
Leandro Dorileo cfdd39c2d7 ephysics: free overlap filter callback
This patch makes sure the overlap filter callback instance is removed
on world removal.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77454
2012-10-04 22:38:00 +00:00
Ricardo de Almeida Gonzaga 62f7b42c3b ephysics: updated authors.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77453
2012-10-04 22:37:54 +00:00
Ricardo de Almeida Gonzaga 45c3c60ea3 ephysics: add some references to technical terms.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77452
2012-10-04 22:37:47 +00:00
Ricardo de Almeida Gonzaga fcea4e820a ephysics: add a new example doc: EPhysics Logo -
ephysics_logo.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77451
2012-10-04 22:37:40 +00:00
Ricardo de Almeida Gonzaga bd9c06c5f5 ephysics: add a new example doc: Rotating Forever -
test_rotating_forever.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77450
2012-10-04 22:37:25 +00:00
Bruno Dilly b497625f3f ephysics: ignore spec file
SVN revision: 77214
2012-09-28 22:24:30 +00:00
Carsten Haitzler 1049bac905 and make a single efl.spec file.
SVN revision: 77108
2012-09-27 03:09:17 +00:00
Rui Seabra 58f5ec5047 Add rpm support
SVN revision: 77023
2012-09-23 13:39:53 +00:00
Bruno Dilly c62e06f738 ephysics: doc clean up
remove wrong reference



SVN revision: 76979
2012-09-21 17:02:39 +00:00
Bruno Dilly b5944e9679 ephysics: add more images for examples
SVN revision: 76978
2012-09-21 17:02:28 +00:00
Ricardo de Almeida Gonzaga 38395758ab ephysics: add a new example doc: Camera Track -
test_camera_track.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76977
2012-09-21 17:02:07 +00:00
Ricardo de Almeida Gonzaga 8ac96ab8e7 ephysics: add a new example doc: Growing Balls -
test_growing_balls.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76976
2012-09-21 17:01:59 +00:00
Ricardo de Almeida Gonzaga 85b32d701e ephysics: add a new example doc: Camera -
test_camera.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76975
2012-09-21 17:01:49 +00:00
Ricardo de Almeida Gonzaga 9f61d9be2b ephysics: add a new example doc: Slider -
test_slider.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76974
2012-09-21 17:01:40 +00:00
Ricardo de Almeida Gonzaga ca41ab29ed ephysics: add a new example doc: Forces -
test_forces.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76973
2012-09-21 17:01:27 +00:00
Ricardo de Almeida Gonzaga 0055318b51 ephysics: add a new example doc: Shapes -
test_shapes.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76972
2012-09-21 17:01:17 +00:00
Bruno Dilly dfc0331373 ephysics: add some images to documented examples
SVN revision: 76702
2012-09-14 22:06:43 +00:00
Bruno Dilly 005be7be8c ephysics: improve doc description and remove redundant
links




SVN revision: 76701
2012-09-14 22:06:09 +00:00
Bruno Dilly ff792ee8e8 ephysics: improve diagram displayed on docs
SVN revision: 76700
2012-09-14 22:05:54 +00:00
Bruno Dilly e7cbd4818a ephysics: add link to modules page in docs header
SVN revision: 76699
2012-09-14 22:05:41 +00:00
Bruno Dilly 70c3dd925b ephysics: small fixes on docs
Spotted by gastal



SVN revision: 76698
2012-09-14 22:05:29 +00:00
Ricardo de Almeida Gonzaga e3822da595 ephysics: add a new example doc: Sleeping Threshold -
test_sleeping_threshold.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76697
2012-09-14 22:05:18 +00:00
Ricardo de Almeida Gonzaga 4be55425e7 ephysics: add a new example doc: Gravity -
test_no_gravity.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76696
2012-09-14 22:05:06 +00:00
Ricardo de Almeida Gonzaga 134d52aa9d ephysics: add a new example doc: Velocity -
test_velocity.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76695
2012-09-14 22:04:56 +00:00
Ricardo de Almeida Gonzaga e302c3d27e ephysics: add a new example doc: Collision Filter -
test_collision_filter.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76694
2012-09-14 22:04:44 +00:00
Ricardo de Almeida Gonzaga 7ae00ec501 ephysics: add a new example doc: Collision Detection -
test_collision_detection.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76693
2012-09-14 22:04:31 +00:00
Ricardo de Almeida Gonzaga ead58d536e ephysics: add a new example doc: Bouncing Text -
test_bouncing_text.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76692
2012-09-14 22:02:12 +00:00
Ricardo de Almeida Gonzaga 886d35fc6d ephysics: add a new example doc: Constraint -
test_constrant.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76691
2012-09-14 22:01:43 +00:00
Ricardo de Almeida Gonzaga 49366a7a84 ephysics: add a new example doc: Delete Body -
test_delete.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 76690
2012-09-14 22:01:28 +00:00
Bruno Dilly b3ee2a8313 ephysics: increase doc pages title size
SVN revision: 76689
2012-09-14 22:01:16 +00:00
Leandro Dorileo cb63d40a90 EPhysics: conditinal doc building
This patch introduces a --enable-build-docs-only and in that case
will not check for dependencies and will have just the make doc
target.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 76680
2012-09-14 15:51:30 +00:00
Bruno Dilly 3f27034dc7 ephysics: shrink convex shapes to avoid margin gap
SVN revision: 76563
2012-09-12 21:50:01 +00:00
Leandro Dorileo 81786a748a ephysics: fix issues with world destructor
Makes sure the body is removed from the world before deleting it
so it will not mess with overlapping pair caches, proxies and so on.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 76562
2012-09-12 21:49:47 +00:00
Leandro Dorileo 075029bdfe ephysics: soft body memory usage/leak
Added a call for sparsesdf garbage collector after every simulation
avoiding bullet's soft dynamics leaks.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 76561
2012-09-12 21:49:29 +00:00
Leandro Dorileo 3ecddb724a ephysics: softbody
** linear/angular joints:
We don't need the linear and angular joints for soft bodies.

Actually these joint's are pulling the soft body towards (0, 0, 0).
The soft body is anchored with the rigid one, so limiting the rigid body
angular and linear movements seems to be enough.

** soft body configs:
Some soft body configurations were tweaked to fix issues of instability
of soft bodies.

** soft body hardness API:
Soft body hardness API was introduced as well.

** points of deformation:
The points of deformation were inverted;

** soft body mass:
Fixed issues with soft body mass changing, now it doesn't "explode" after
changing its mass.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 76560
2012-09-12 21:49:14 +00:00
Gustavo Sverzut Barbieri 9eb7f9bf35 ephysics: bump bullet requirement to 2.80
seems that before that it crashes in its own memory management.



SVN revision: 76482
2012-09-11 23:27:07 +00:00