Commit Graph

75 Commits

Author SHA1 Message Date
Bruno Dilly 1337582286 ephysics: add test for light
SVN revision: 77805
2012-10-10 20:32:35 +00:00
Leandro Dorileo 17fa1d7756 EPhysics: add depth parameter to boundary api
Patch by: Leandro Dorileo <>

SVN revision: 77785
2012-10-10 19:18:15 +00:00
Bruno Dilly f75457d4b9 ephysics: add new 3d shapes
Instead of creating it from 2d shapes.
Bad news is that for some cases basically points will need to
be kind of duplicated.

SVN revision: 77783
2012-10-10 19:17:54 +00:00
Bruno Dilly 59cc6c6f2f ephysics: support forces (and torques) on 3 axes
SVN revision: 77782
2012-10-10 19:17:49 +00:00
Bruno Dilly bdd5ba2115 ephysics: expose z-axis gravity
SVN revision: 77781
2012-10-10 19:17:44 +00:00
Bruno Dilly a1897ddf57 ephysics: impulses support the 3 planes
SVN revision: 77780
2012-10-10 19:17:36 +00:00
Bruno Dilly 71583d30e3 ephysics: support angular and linear velocity on 3

SVN revision: 77779
2012-10-10 19:17:29 +00:00
Bruno Dilly f7c2009910 ephysics: collision detection inform z coordinate
SVN revision: 77778
2012-10-10 19:17:13 +00:00
Bruno Dilly 8b9c28f003 ephysics: support 3 axes on body geometry related

geometry set / get, move, resize

SVN revision: 77777
2012-10-10 19:17:01 +00:00
Bruno Dilly 32f03f55a4 ephysics: body rotation getter / setter changed to
support 3 axes

SVN revision: 77776
2012-10-10 19:16:55 +00:00
Bruno Dilly 290a7d8821 ephysics: allow to enable angular movement on all the

SVN revision: 77775
2012-10-10 19:16:48 +00:00
Bruno Dilly f8136287ad ephysics: fix soft body test
The rigid ball was initialized inside the roof.

SVN revision: 77773
2012-10-10 19:16:37 +00:00
Bruno Dilly 26262cb719 ephysics: fix sandbox gravity and rate spinners
They were using wrong units, default values and
not reasonable min / max.

SVN revision: 77679
2012-10-09 20:00:27 +00:00
Bruno Dilly 2a7949dd53 ephysics: fix ball theme group
SVN revision: 77671
2012-10-09 19:59:08 +00:00
Bruno Dilly 9ac7594b3a ephysics: fix sandbox shutdown
SVN revision: 77598
2012-10-08 22:47:28 +00:00
Bruno Dilly 18433ec343 ephysics: fix sandbox material callback
SVN revision: 77597
2012-10-08 22:47:19 +00:00
Bruno Dilly 1d5fbc9850 ephysics: print sandbox error msgs correctly
SVN revision: 77596
2012-10-08 22:47:11 +00:00
Bruno Dilly 0955e6258c ephysics: cosmetic clean up on sandbox code
Respect 80 cols, remove extra blank lines and blank spaces.

SVN revision: 77595
2012-10-08 22:46:58 +00:00
Bruno Dilly 5e2b7efe13 ephysics: separate test and sandbox themes
SVN revision: 77593
2012-10-08 22:46:29 +00:00
Ricardo de Almeida Gonzaga 8bd4f13b0d ephysics: initial commit to sandbox
Patch by: Ricardo de Almeida Gonzaga <>

SVN revision: 77592
2012-10-08 22:46:19 +00:00
Leandro Dorileo e084960cf3 EPhysics: dragging body test
New test where the user can drag a body around the world by grabbing
and dragging.

Patch by: Leandro Dorileo <>

SVN revision: 77585
2012-10-08 18:01:06 +00:00
Bruno Dilly 14459c4d74 ephysics: add heavy test to check threads work
Simulate 600 small balls.

Ok, it's not so huge, but I've tested to add a sleep on step simulation
on bullet. Things looks to be working just fine.

SVN revision: 77470
2012-10-04 22:40:46 +00:00
Leandro Dorileo 8079624030 EPhysics: soft body test
Soft Body Test, add smart soft bodies in the list for exclusion.

Patch by: Leandro Dorileo <>

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 <>

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 <>

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 7fe038a1c8 ephysics: add test for materials
SVN revision: 77463
2012-10-04 22:39:47 +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 3f27034dc7 ephysics: shrink convex shapes to avoid margin gap
SVN revision: 76563
2012-09-12 21:50:01 +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 <>

SVN revision: 76560
2012-09-12 21:49:14 +00:00
Bruno Dilly aa76c79c86 EPhysics: fix tests using vertical impulse
SVN revision: 75573
2012-08-22 20:05:30 +00:00
Bruno Dilly eae54a26ee EPhysics: improve convex shapes
Center of these shapes were wrong, now it's much better.
But collision still seems a bit inaccurate.

SVN revision: 75572
2012-08-22 20:05:25 +00:00
Bruno Dilly 5044cf3501 EPhysics: remove a rigid ball and weird amount of mass
Let's see what was it masking and focus on making it works with

SVN revision: 75568
2012-08-22 20:05:02 +00:00
Bruno Dilly eec20918d0 EPhysics: don't show input msg if won't handle it
Also, respect 80 col

SVN revision: 75567
2012-08-22 20:04:57 +00:00
Bruno Dilly ef82a631a9 EPhysics: keep tests in alphabetical order
SVN revision: 75566
2012-08-22 20:04:51 +00:00
Leandro Dorileo 18743b72ad EPhysics: soft body implementation
Introduces soft body dynamics and calls to create soft circles and boxes.

Patch by: Leandro Dorileo <>

SVN revision: 75564
2012-08-22 20:04:39 +00:00
Bruno Dilly 335dcc1165 EPhysics: add test for forces API
SVN revision: 75478
2012-08-20 22:17:11 +00:00
Bruno Dilly b66f460e84 EPhysics: test torque forces
SVN revision: 75477
2012-08-20 22:16:02 +00:00
Bruno Dilly 4bccde902a EPhysics: rotation set implemented
SVN revision: 75475
2012-08-20 22:14:43 +00:00
Bruno Dilly d3e74fce50 EPhysics: implement generic apply impulse for bodies
It results in central and torque impulses.

SVN revision: 75474
2012-08-20 22:14:25 +00:00
Bruno Dilly 1ef5ae1a2d EPhysics: fix torque impulse
SVN revision: 75473
2012-08-20 22:13:38 +00:00
Bruno Dilly 5c32157f04 EPhysics: fix ephysics central impulse unit and
improve docs

It should use a unit based on pixels, not meters.
This way is more compatible with the rest of API and easier
to see the result.

SVN revision: 75472
2012-08-20 22:12:14 +00:00
Bruno Dilly df457b4645 EPhysics: implement body move(), resize()
It was already possible to move and resize using geometry get / set,
but if just one of the actions is wanted, this new API is easier for the user
and save a few operations.

SVN revision: 75471
2012-08-20 22:10:52 +00:00
Bruno Dilly b5221d0705 EPhysics: fix old bug on velocity setter
It should invert y component since evas y coords increase
going down.

SVN revision: 75337
2012-08-16 21:35:31 +00:00
Bruno Dilly b007921b94 EPhysics: add test for windows resize
It listen for windows resize and changes objects size,
world render geometry and world rate.

SVN revision: 75336
2012-08-16 21:35:25 +00:00
Bruno Dilly eff2ac3302 EPhysics: add test displaying body acceleration
Linear and angular.

It has to be done on user side, since it requires to keep previous
velocity to calculate it.

I'll expose forces later but I don't think it would be enough
because impulses just modifies the ammount of velocity directly,
it doesn't create a force for a tick or something like that.

So velocity changes caused by impulse wouldn't be get as acceleration.

SVN revision: 75330
2012-08-16 21:34:54 +00:00
Bruno Dilly 7a759f05b6 EPhysics: support running only specified test
SVN revision: 75325
2012-08-16 21:34:29 +00:00
Bruno Dilly ae28b7a504 EPhysics: listen for associated evas object resize event
So physics body will resize together.

SVN revision: 75230
2012-08-13 22:24:47 +00:00