summaryrefslogtreecommitdiff
path: root/src/lib/ephysics/EPhysics.h (unfollow)
AgeCommit message (Collapse)Author
2015-05-07ephysics: remove the need to order the header correctly for Windows.Cedric BAIL
2014-01-07fix typos in EFL documentsJihoon Kim
2013-11-04alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1Carsten Haitzler (Rasterman)
2013-01-03efl: merge ephysicsGustavo Sverzut Barbieri
changes: * __UNUSED__ -> EINA_UNUSED * Fixed doc hierarchy SVN revision: 82126
2012-12-11EPhysics: soft_circle and soft_ellipsoid renamingLeandro Dorileo
For sake of consistency moving soft_circle to soft_cylinder and soft_ellipsoid becomes soft_sphere. Their face identification were moved as well. The faces identifications were also unified. SVN revision: 80720
2012-12-11EPhysics: add ephysics_body_sphere_add() APILeandro Dorileo
SVN revision: 80717
2012-12-11EPhysics: ephysics_body_circle_add() becomes ephysics_body_cylinder_add()Leandro Dorileo
SVN revision: 80716
2012-12-05ephysics: add event WORLD_UPDATEBruno Dilly
SVN revision: 80274
2012-12-05EPhysics: soft body drag coefficientLeandro Dorileo
Add API for handling with soft body drag coefficient. --This line, and those below, will be ignored-- SVN revision: 80249
2012-12-05EPhysics: fix soft body velocity and stop implementationLeandro Dorileo
+ velocity Handle cloth cases on velocity functions and consider both rigid and soft body whenever touching velocities + stoping a body. + activation Activate the body when setting angular velocity. --This line, and those below, will be ignored-- SVN revision: 80248
2012-12-03EPhysics: anchor hardness api and small fixesLeandro Dorileo
This patch introduces a separeted API for handling with anchor hardness, and fixes small problems with pose and soft body impulses. --This line, and those below, will be ignored-- SVN revision: 80107
2012-11-29EPhysics: generic constraintLeandro Dorileo
This patch changes how constraints are created and configured, now we use a bullet generic implementation which let us operate on the 6 degrees of freedom(linear and angular ones). We have used 6dof for slider constraint but now we assume 2 types of constraints, single body - simply ephysics_constraint_add(body) - and a linked one - ephysics_constraint_linked_add(body1, body2) used to constrain 2 bodies linked together. Having said that we introduce the following changes: + migrate p2p constraint to 6Dof We want to have a constraint api generic enouth to allow many different constraint behaviour, 6Dof was picked to do that, so p2p needs a migration. + move ephysics_constraint_slider_* functions Since the whole constraint infra-sctructure is being migrated to 6Dof the linear and angular limit functions - previously used only by slider constraint - now looks more generic enough to be used by constraint in general. + add constraint anchor API Instead of telling the anchoring positioning in the constraint creating we have set it's default value to the the middle os the body and if the user wants to change it call ephysics_constraint_anchor_set and reset it. The ephysics_constraint_anchor_set() considers the canvas coordinate instead of using the body orientation. So now one can tell a constraints anchor is set to 100, 10, 0 in the canvas coordinate system and not (body_center.x - 20, body_center.y - 5, body_center.z - 1). + constraint migrate the bt_constraint Since we're working only with 6Dof constraints it is reasonable to change the constraints bt_constraint field to btGeneric6DofConstraint. + add 3 axes to constraints Now constraints API knows about x, y and z axes - linear and angular limiting, anchor setting and the constraint creation functions are fully supported. + constraint calls are renamed The constraint calls were renamed so ephysics_constraint_p2p_add() now is known as ephysics_constraint_linked_add() and ephysics_constraint_slider_add() became ephysics_constraint_add() where the first one is meant for constrain 2 bodies and the second one for single body constraints. --This line, and those below, will be ignored-- SVN revision: 79848
2012-11-28ephysics: random doc fixesBruno Dilly
SVN revision: 79781
2012-11-23EPhysics: soft body operations on triangles listLeandro Dorileo
This patch introduces API to get a list of triangles inside an area and another to apply impulse - also - in a list of triangles. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79607
2012-11-23EPhysics: add api to get the slice index based on itsLeandro Dorileo
evas object Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79604
2012-11-23EPhysics: add soft ellipsoid and multi faceLeandro Dorileo
implementation This patch introduces the ellipsoid soft body and its multi face implementation. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79603
2012-11-23EPhysics: soft body slice per faceLeandro Dorileo
This changes how initial points of deformations are mapped, now we must support multiple faces so different points of deformation for each. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79597
2012-11-23EPhysics: add soft body triangle impulse APILeandro Dorileo
Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79594
2012-11-23EPhysics: add soft body bending constraints APILeandro Dorileo
This patch introduces the API ephysics_body_soft_body_bending_constraints_add used define how deformeable a soft body is supposed to be. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79592
2012-11-14ephysics: change quaternion API to avoid many free callsBruno Dilly
It was really annoying and error prone (easy to leak). SVN revision: 79299
2012-11-14ephysics: add quaternion group to main doc pageBruno Dilly
I forgot that. SVN revision: 79297
2012-11-13ephysics: wrap bullet's quaternionBruno Dilly
Useful for 3d rotations. Avoid issues found when using euler angles, like gimbal locks. SVN revision: 79252
2012-11-13ephysics: fix docs regarding torque axis.Bruno Dilly
SVN revision: 79249
2012-11-09ephysics: fix outdates docs regarding lightBruno Dilly
SVN revision: 79043
2012-11-09ephysics: use a common API to add faces for all typesBruno Dilly
of body SVN revision: 79042
2012-11-09ephysics: support multiple evas objects associated toBruno Dilly
body SVN revision: 79041
2012-11-09ephysics: check for side value on anchors full addBruno Dilly
function SVN revision: 79037
2012-10-31ephysics: use evas_object_image_source APIBruno Dilly
Remove workaround on soft body slicing SVN revision: 78726
2012-10-30ephysics: break up light functionsBruno Dilly
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-25ephysics: support disabling stacking based on Z axisBruno Dilly
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-25ephysics: docs fixes (missing params / typos)Bruno Dilly
SVN revision: 78490
2012-10-25EPhysics: cloth add receives the number of rows andLeandro Dorileo
columns Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 78487
2012-10-25EPhysics: soft body position solver iterationsLeandro Dorileo
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-19ephysics: support back-face cullingBruno Dilly
SVN revision: 78265
2012-10-18ephysics: move perspective stuff to camera componentBruno Dilly
Looks like it fits better the camera component than world. SVN revision: 78206
2012-10-18ephysics: add perspective supportBruno Dilly
SVN revision: 78205
2012-10-18ephysics: expose volume getterBruno Dilly
useful to calculate density given a mass SVN revision: 78201
2012-10-16EPhysics: soft body dragging supportLeandro Dorileo
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-16EPhysics: triangle APILeandro Dorileo
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-15ephysics: add autodel functions for front and back ofBruno Dilly
the scene SVN revision: 78016
2012-10-15ephysics: add front and back boundariesBruno Dilly
Use it on test "Bouncing 3D" SVN revision: 78015
2012-10-15ephysics: revert add depth parameter to boundary apiBruno Dilly
reverts r77785, since it will be properly handled before adding front and back boundaries SVN revision: 78013
2012-10-15ephysics: show default value of sleeping threshold onRicardo de Almeida Gonzaga
doc Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 78012
2012-10-15ephysics: implement rotation quartenion getterBruno Dilly
So it's possible to create a custom body update callback using it with evas_map_util_quat_rotate(). SVN revision: 78010
2012-10-10ephysics: lights, camera, action!Bruno Dilly
Add light support. It uses evas_map_util_3d_lighting() internally and is only applied over selected bodies. SVN revision: 77803
2012-10-10EPhysics: add depth parameter to boundary apiLeandro Dorileo
Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 77785
2012-10-10ephysics: add new 3d shapesBruno Dilly
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-10ephysics: support forces (and torques) on 3 axesBruno Dilly
SVN revision: 77782
2012-10-10ephysics: expose z-axis gravityBruno Dilly
SVN revision: 77781
2012-10-10ephysics: impulses support the 3 planesBruno Dilly
SVN revision: 77780