Commit Graph

381 Commits

Author SHA1 Message Date
Leandro Dorileo c6f4ab7643 EPhysics: restacking per layer
This patch fixes issues with restacking bodies in different evas
layers.


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



SVN revision: 78681
2012-10-30 18:31:52 +00:00
Leandro Dorileo 36fbbb75d7 EPhysics: disable evas map on
ephysics_body_evas_object_set/unset

When unsetting or chaging the body's associated evas object we must
disable the evas map so the user can handle it afterwards.


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



SVN revision: 78680
2012-10-30 18:31:45 +00:00
Leandro Dorileo 5bf3f3cf7d EPhysics: soft body rotation set
Fix implementation for ephysics_body_rotation_set for soft bodies.


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



SVN revision: 78679
2012-10-30 18:31:38 +00:00
Bruno Dilly 54a8f1678d ephysics: break up light functions
Long list of same typed parameters is very error prone.
Not the scene will have a initial light configuration, that can
be enabled and modified.



SVN revision: 78678
2012-10-30 18:31:32 +00:00
Leandro Dorileo f9b904ae03 EPhysics: test delete body, fix bodies list mess.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 78677
2012-10-30 18:31:21 +00:00
Leandro Dorileo c636562644 EPhysics: flag - cloth test, remove unneeded
boundaries



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



SVN revision: 78493
2012-10-25 21:55:48 +00:00
Bruno Dilly 54775f34b5 ephysics: fix test "rotating forever"
It should delete timers when evas object is deleted, not when
body is deleted.



SVN revision: 78492
2012-10-25 21:55:35 +00:00
Bruno Dilly 829065f97a ephysics: support disabling stacking based on Z axis
Since now we support movement on Z axis the evas objects
associated to bodies need to be re-stacked to be below / above
each other.

But if Z axis movement is disabled, no cloth is used, ...,
it can be safely disabled, since evas objects won't overlap.
And it will save performance.



SVN revision: 78491
2012-10-25 21:55:23 +00:00
Bruno Dilly 651b562ebd ephysics: docs fixes (missing params / typos)
SVN revision: 78490
2012-10-25 21:55:14 +00:00
Bruno Dilly 8ae0d9af74 ephysics: stack respect body adding order for same z
When bodies have the same z coordinate, the added first will
be below the others.



SVN revision: 78489
2012-10-25 21:55:03 +00:00
Leandro Dorileo 65b9ff36ad EPhysics: make anchors harder
This patch resets the anchors nodes mass proportional to the mesh
size so it becomes harder. For that we also handle the mass resetting
to leave anchors and dragging nodes in their current state.


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



SVN revision: 78488
2012-10-25 21:54:55 +00:00
Leandro Dorileo 6eb262cdbb EPhysics: cloth add receives the number of rows and
columns



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



SVN revision: 78487
2012-10-25 21:54:48 +00:00
Leandro Dorileo b0bd7beac3 EPhysics: soft body position solver iterations
This patch introduces getters and setters API for setting the
soft body position solver iterations.


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



SVN revision: 78486
2012-10-25 21:54:37 +00:00
Bruno Dilly a360657718 ephysics: remove unneeded code from slices init
function




SVN revision: 78485
2012-10-25 21:54:29 +00:00
Bruno Dilly 3772783cc3 ephysics: fix segfault on restack
SVN revision: 78484
2012-10-25 21:54:22 +00:00
Bruno Dilly 8d4e7bdd62 ephysics: fix soft body slicing
Also, fix evas_object_set on cases when it shouldn't use
evas object geometry.



SVN revision: 78483
2012-10-25 21:54:14 +00:00
Leandro Dorileo 5d3d4978ad EPhysics: soft body geometry get fix
Since every shape has its own implementation for local scaling it`s
better to trust just our selves and hold it for further calculations.


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



SVN revision: 78482
2012-10-25 21:54:06 +00:00
Leandro Dorileo 4906b47a59 EPhysics: ephysics_body_move cloth support
Implementation of body moving for cloth bodies.


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



SVN revision: 78481
2012-10-25 21:53:59 +00:00
Leandro Dorileo d3097a3db1 EPhysics: implement central impulse apply for cloth
bodies



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



SVN revision: 78480
2012-10-25 21:53:51 +00:00
Leandro Dorileo 906fff0011 EPhysics: no need to anchor props
Actually for cloth anchors its hardness must always be 0.8.


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



SVN revision: 78479
2012-10-25 21:53:44 +00:00
Bruno Dilly 03c52724db ephysics: apply perspective and back face culling on
soft body




SVN revision: 78478
2012-10-25 21:53:37 +00:00
Bruno Dilly 98d327c3b6 ephysics: invert clothes mesh
So objects won't be back-facing the camera.



SVN revision: 78477
2012-10-25 21:53:30 +00:00
Bruno Dilly 3804a911e1 ephysics: support light on soft bodies
SVN revision: 78476
2012-10-25 21:53:23 +00:00
Bruno Dilly b13d5d054f ephysics: let all slice map stuff only on slice apply
Instead of some settings on slice init and others on apply.
It will be required to apply light and other things.



SVN revision: 78475
2012-10-25 21:53:16 +00:00
Leandro Dorileo 755a182add EPhysics: do not call update deleted object
If a body has been marked for deletion do not updated it neither call
its BODY_UPDATE callbacks.


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



SVN revision: 78474
2012-10-25 21:53:08 +00:00
Stefan Schmidt cedf5d0cf9 Doxyfile.in: Remove obsolte doxygen tags from all our Doxyfile.in files.
Doygen tells us:
warning: Tag `SHOW_DIRECTORIES' at line 507 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `HTML_ALIGN_MEMBERS' at line 879 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `USE_INLINE_TREES' at line 1065 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"

So we are nice and remove them. A yay for the day where we have amerged tree and
not two dozens of Doxyfile.in files floating around.

SVN revision: 78409
2012-10-24 19:50:29 +00:00
Bruno Dilly 22cc05a9fe ephysics: support back-face culling
SVN revision: 78265
2012-10-19 18:50:46 +00:00
Ricardo de Almeida Gonzaga e46c4e83d5 ephysics: fine tunning on sandbox layout
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78264
2012-10-19 18:50:38 +00:00
Bruno Dilly 211d38aac0 ephysics: move perspective stuff to camera component
Looks like it fits better the camera component than world.



SVN revision: 78206
2012-10-18 23:55:45 +00:00
Bruno Dilly 08643f3112 ephysics: add perspective support
SVN revision: 78205
2012-10-18 23:27:26 +00:00
Bruno Dilly 30a0f7c659 ephysics: change bouncing 3d example
Make it easier to test 3d rotations



SVN revision: 78204
2012-10-18 23:27:19 +00:00
Bruno Dilly 90e21f1637 ephysics: don't set density 0 when setting mass on
sandbox




SVN revision: 78203
2012-10-18 21:23:21 +00:00
Bruno Dilly 2db55269f6 ephysics: set velocity before applying impulse on
sandbox

Otherwise the velocity implied by impulse will be zeroed.



SVN revision: 78202
2012-10-18 21:23:16 +00:00
Bruno Dilly 64bc76ba49 ephysics: expose volume getter
useful to calculate density given a mass



SVN revision: 78201
2012-10-18 21:23:05 +00:00
Ricardo de Almeida Gonzaga e7b72f567a ephysics: sandbox apply actions on restart
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78195
2012-10-18 19:18:13 +00:00
Ricardo de Almeida Gonzaga d7757986c2 ephysics: adjust sandbox body type combo alignment
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78194
2012-10-18 19:18:08 +00:00
Leandro Dorileo 02903536b3 EPhysics: avoid restacking objects on different layers
If the two objects are not in the same layer avoid restacking it.


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



SVN revision: 78193
2012-10-18 19:18:00 +00:00
Bruno Dilly 5fb31dfbd9 ephysics: fix configure.ac regarding tests
Fix trac ticket #1615.

The first issue with configure is that `./configure --disable-build-tests`
doesn't disable tests.

And the second issue is that tests actually require elementary >= 1.7.99



SVN revision: 78135
2012-10-17 21:37:22 +00:00
Bruno Dilly bb1ef80447 ephysics: don't change body properties if custom
material is set

It shouldn't imply in specific properties



SVN revision: 78134
2012-10-17 21:37:10 +00:00
Ricardo de Almeida Gonzaga 7a2e5cbdce ephysics: adjust example docs based on Z axis enable.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78133
2012-10-17 21:37:00 +00:00
Bruno Dilly 477e836db1 ephysics: sandbox rewrite
Too much duplicated / boilerplate code.
Things are much simpler now.
Also fix resizing constraint.



SVN revision: 78132
2012-10-17 21:36:41 +00:00
Bruno Dilly b09c303d52 ephysics: use hoversel to select material on sandbox
SVN revision: 78096
2012-10-16 23:18:55 +00:00
Bruno Dilly e25a9d45e8 ephysics: don't try to unset dragging if it's not set
Otherwise weird behaviors could happens
<evil laughs>



SVN revision: 78095
2012-10-16 23:18:48 +00:00
Bruno Dilly fe2c242367 ephysics: revert "EPhysics: suppersions file"
Oops, accidentally commited.
I need to investigate these leaks.



SVN revision: 78094
2012-10-16 23:18:42 +00:00
Leandro Dorileo a376a5ceeb EPhysics: random fixes
This patch fixes:
+ the scale_get function(the soft body shape scale was not been set),
+ the soft body evas object deletion callback, it wasn't properly freeing
the slices evas objects;
+ puts the soft body base evas object back to canvas;


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



SVN revision: 78093
2012-10-16 23:18:35 +00:00
Leandro Dorileo 103c9ffaa0 EPhysics: test_flag cleanup
Get rid of the dragging -> grabbing naming mess.


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



SVN revision: 78092
2012-10-16 23:18:29 +00:00
Leandro Dorileo 56bdc31570 EPhysics: soft body dragging support
This patch introduces an API to freeze(dragging_set) an specific
soft body trimesh face untill it gets called to unfreeze(dragging_unset) it.


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



SVN revision: 78091
2012-10-16 23:18:21 +00:00
Leandro Dorileo f4fa980cce EPhysics: get rid of soft body smart object
Since we want to restack all the bodies evas objects against each other,
being it a soft body or not, we can't have the soft body slices member
of something else.


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



SVN revision: 78090
2012-10-16 23:12:59 +00:00
Leandro Dorileo 9bb6e8ce7c EPhysics: flag test - grabbing support
Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 78089
2012-10-16 23:12:53 +00:00
Leandro Dorileo 4f73c6d46e EPhysics: triangle API
This patch introduces soft body's mesh triangle manipulation, for picking
the triangle of a body in X and Y and moving it as well.


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



SVN revision: 78088
2012-10-16 23:12:47 +00:00
Leandro Dorileo d06196ca8d EPhysics: suppersions file
Add leak suppressions for eet and eina mempool leaks.


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



SVN revision: 78087
2012-10-16 23:12:40 +00:00
Bruno Dilly eb4860c6e1 ephysics: let pages on top, not centered
suggested by marina



SVN revision: 78086
2012-10-16 23:12:34 +00:00
Bruno Dilly 647f74efd6 ephysics: start sandbox with some sections collapsed
SVN revision: 78085
2012-10-16 23:12:29 +00:00
Bruno Dilly 722506ddaa ephysics: use auto policy for scroller on sandbox
SVN revision: 78084
2012-10-16 23:12:23 +00:00
Bruno Dilly 3f8e18202b ephysics: remove sanbox title and align reset button
suggested by marina



SVN revision: 78083
2012-10-16 23:12:18 +00:00
Bruno Dilly f06f14c426 ephysics: make body type selection works
SVN revision: 78082
2012-10-16 23:12:13 +00:00
Bruno Dilly 1ddcacf1f5 ephysics: remove annoying debug info
Since it's very frequent to not have light set.



SVN revision: 78081
2012-10-16 23:12:08 +00:00
Ricardo de Almeida Gonzaga 1364bbc547 ephysics: changed sandbox spinners to sliders
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78080
2012-10-16 23:12:03 +00:00
Ricardo de Almeida Gonzaga 2cf55524a2 ephysics: sandbox widgets divided into smaller
categories



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



SVN revision: 78079
2012-10-16 23:11:58 +00:00
Ricardo de Almeida Gonzaga 42c6779423 ephysics: changed sandbox toggle to radio
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78078
2012-10-16 23:11:32 +00:00
Ricardo de Almeida Gonzaga c39bc45d85 ephysics: changed sandbox layout to toolbar and
naviframe



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



SVN revision: 78077
2012-10-16 23:11:27 +00:00
Ricardo de Almeida Gonzaga 23d89c2e5a ephysics: fix sandbox initial impulse and material
mass



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



SVN revision: 78076
2012-10-16 23:11:21 +00:00
Ricardo de Almeida Gonzaga 0ff841ed53 ephysics: fix sandbox callbacks
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78075
2012-10-16 23:11:16 +00:00
Ricardo de Almeida Gonzaga ba35b81215 ephysics: sandbox removed some useless widget
variables



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



SVN revision: 78074
2012-10-16 23:11:11 +00:00
Ricardo de Almeida Gonzaga eb9079aecf ephysics: fix sandbox spinner values
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 78073
2012-10-16 23:11:05 +00:00
Bruno Dilly bb90530f7b ephysics: add autodel functions for front and back of
the scene




SVN revision: 78016
2012-10-15 21:54:35 +00:00
Bruno Dilly c2b0c76b74 ephysics: add front and back boundaries
Use it on test "Bouncing 3D"



SVN revision: 78015
2012-10-15 21:54:29 +00:00
Bruno Dilly 9447db42d8 ephysics: fix boundaries position
SVN revision: 78014
2012-10-15 21:54:22 +00:00
Bruno Dilly f6e0e9a3f5 ephysics: revert add depth parameter to boundary api
reverts r77785, since it will be properly handled before adding
front and back boundaries



SVN revision: 78013
2012-10-15 21:54:14 +00:00
Ricardo de Almeida Gonzaga 25e3dd2a44 ephysics: show default value of sleeping threshold on
doc



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



SVN revision: 78012
2012-10-15 21:54:08 +00:00
Bruno Dilly bbdb0ecb7e ephysics: remove duplicated logo example page
SVN revision: 78011
2012-10-15 21:54:02 +00:00
Bruno Dilly 66b8ca8afc ephysics: implement rotation quartenion getter
So it's possible to create a custom body update callback using
it with evas_map_util_quat_rotate().



SVN revision: 78010
2012-10-15 21:53:56 +00:00
Bruno Dilly 05dab66b0b ephysics: render 3d rotation
SVN revision: 78009
2012-10-15 21:53:51 +00:00
Bruno Dilly 3532a4620f ephysics: add bouncing 3d test
SVN revision: 78008
2012-10-15 21:53:43 +00:00
Bruno Dilly 1337582286 ephysics: add test for light
SVN revision: 77805
2012-10-10 20:32:35 +00:00
Bruno Dilly 3655372571 ephysics: fix world structure coding style
SVN revision: 77804
2012-10-10 20:32:29 +00:00
Bruno Dilly c970090254 ephysics: lights, camera, action!
Add light support.

It uses evas_map_util_3d_lighting() internally and is only applied
over selected bodies.



SVN revision: 77803
2012-10-10 20:32:08 +00:00
Leandro Dorileo 17fa1d7756 EPhysics: add depth parameter to boundary api
Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77785
2012-10-10 19:18:15 +00:00
Bruno Dilly 21e6264deb ephysics: fix z position on geometry set using cm
SVN revision: 77784
2012-10-10 19:18:02 +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
axes




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
functions

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
planes




SVN revision: 77775
2012-10-10 19:16:48 +00:00
Bruno Dilly 4ef1a74d4c ephysics: support enabling moves on z axis
SVN revision: 77774
2012-10-10 19:16:43 +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 e5e90c233d ephysics: re-activate bodies when gravity is set
So it can be applied on all the bodies.



SVN revision: 77680
2012-10-09 20:00:36 +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 6f1b2ce82d ephysics: fix default rate on docs
SVN revision: 77678
2012-10-09 20:00:15 +00:00
Leandro Dorileo 179efa1d66 EPhysics: soft body members stacking
Using evas stacking for soft body slices members.


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



SVN revision: 77677
2012-10-09 20:00:03 +00:00
Leandro Dorileo 6f9e9a67f7 EPhysics: body evas object unset return the base
object

In the unset operation return the base object, not the smart one.


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



SVN revision: 77676
2012-10-09 19:59:53 +00:00
Ricardo de Almeida Gonzaga b36c0c9d62 ephysics: fix a reference on doc
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77675
2012-10-09 19:59:43 +00:00
Bruno Dilly bb46db9051 ephysics: update README
SVN revision: 77674
2012-10-09 19:59:34 +00:00
Bruno Dilly 9a5f9bc6d5 ephysics: use macro for balls groups on sandbox theme
SVN revision: 77673
2012-10-09 19:59:25 +00:00
Bruno Dilly 02d551e3a9 ephysics: remove duplicated image
SVN revision: 77672
2012-10-09 19:59:16 +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 f5f0427c9b ephysics: fix make distcheck
SVN revision: 77594
2012-10-08 22:46:50 +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 <ricardo@profusion.mobi>



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 <dorileo@profusion.mobi>



SVN revision: 77585
2012-10-08 18:01:06 +00:00
Bruno Dilly 3db5bdd771 ephysics: re-activate body when velocity is set
SVN revision: 77584
2012-10-08 18:00:55 +00:00
Bruno Dilly 227ef6982e ephysics: add valgrind suppression file
stop complaining about fontconfig and libz stuff



SVN revision: 77541
2012-10-05 15:41:10 +00:00
Bruno Dilly aa484b1411 ephysics: update TODO
remove some done tasks



SVN revision: 77472
2012-10-04 22:40:58 +00:00
Bruno Dilly c6e04869ea ephysics: don't send a msg per sub step
Only send one msg at the end of the simulation step.



SVN revision: 77471
2012-10-04 22:40:52 +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
Bruno Dilly d6d51d86f8 ephysics: fix typos on docs
SVN revision: 77469
2012-10-04 22:40:35 +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 <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