Commit Graph

255 Commits

Author SHA1 Message Date
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