Commit Graph

  • 9f8dcae52a Add PSP support master Luke Benstead 2021-01-04 21:43:00 +00:00
  • e5897d433d Upgrade bounce bounce-upgrade Luke Benstead 2020-01-30 18:42:47 +00:00
  • a61262407c Apply changes from latest known public version of bounce dated 2019-11-13 upstream_final Luke Benstead 2020-01-25 12:31:05 +00:00
  • 1509b9bd0e Use relative path to triangle.h Luke Benstead 2019-07-08 19:49:56 +01:00
  • d728d45d70 Merge remote-tracking branch 'upstream/master' Luke Benstead 2019-07-08 19:42:44 +01:00
  • f87e2a6378 Properly variable name and comment Irlan 2019-07-08 10:58:39 -03:00
  • e9714885e4 Simplification Irlan 2019-07-07 23:09:13 -03:00
  • 2982bc2bd3 Store material parameters inside elements Irlan 2019-07-07 10:00:00 -03:00
  • b73b760515 Update comment Irlan 2019-07-07 09:42:34 -03:00
  • d6e2105aa2 Small refactor Irlan 2019-07-07 09:33:20 -03:00
  • ab6ef6d685
    Update readme.md Irlan Robson 2019-06-29 18:59:15 -03:00
  • 0393933ecf Put forces into a folder. Added soft b3MouseForce Irlan 2019-06-29 14:51:35 -03:00
  • dddfba5b21 Make code clearer Irlan 2019-06-28 21:12:58 -03:00
  • bc050769a5 Update cloth.cpp Irlan 2019-06-28 15:30:13 -03:00
  • 0e4b1c4d1e Reuse triangle area since we use the triangle plane as the (u, v) plane Irlan 2019-06-28 15:19:22 -03:00
  • b5e4b33980 Merge branch 'master' of https://github.com/irlanrobson/bounce Irlan 2019-06-28 14:54:24 -03:00
  • 55c4f190b1 Improved the code that computes the (u, v) coordinates for a triangle vertices. Irlan 2019-06-28 14:53:09 -03:00
  • 15d5a3b303
    Update readme.md Irlan Robson 2019-06-27 20:22:55 -03:00
  • 774805e264
    Update readme.md Irlan Robson 2019-06-27 19:41:47 -03:00
  • cc5d062ca5 Enable shearing in test Irlan 2019-06-27 19:36:45 -03:00
  • 4bb367b27a Tossed out a term that makes the system non PD Irlan 2019-06-27 19:18:28 -03:00
  • 51d45ae372 Optimization Irlan 2019-06-27 17:03:24 -03:00
  • b6d9f56583 Small refactor. Removed b3SparseSymMat33 since it is very particular. Pushed experimental b3ShearForce. Irlan 2019-06-27 16:19:42 -03:00
  • 774c0741bd Update strech_force.cpp Irlan 2019-06-27 04:19:56 -03:00
  • a47c8e3e75 Update strech_force.cpp Irlan 2019-06-27 03:59:59 -03:00
  • 0733ebd3be Added per triangle stretching force and damping. This gives more realistics results. Also updated the tests. Irlan 2019-06-26 20:30:33 -03:00
  • 52439f3414 Bugfix Irlan 2019-06-24 18:39:10 -03:00
  • 9189b6dfef Scale down the cloth triangles for rendering Irlan 2019-06-24 18:11:19 -03:00
  • 028d8e101c Reestructured folders and applied a bugfix Irlan 2019-06-24 11:33:05 -03:00
  • 5bb247c79b Small refactor Irlan 2019-06-24 11:15:02 -03:00
  • b18dae8f9d Reestructured folders Irlan 2019-06-24 10:16:16 -03:00
  • 1876592d22 Delete world body contacts if world gets detached. Irlan 2019-06-23 15:29:47 -03:00
  • fe6c2a3b0e Bugfix Irlan 2019-06-23 15:28:44 -03:00
  • 441e8fd63f Update comments Irlan 2019-06-23 11:05:53 -03:00
  • 13eab5d00d Small refactor. Allow cloth particle to collide with multiple shapes. This is a more general solution. Irlan 2019-06-23 10:52:41 -03:00
  • 39b27c86d2 Copy mass one loop above Irlan 2019-06-22 19:32:20 -03:00
  • 7c1a72c572 Add b3GridClothMesh. Set particle friction to global cloth friction. Update the tests. Also simplified some code. Irlan 2019-06-21 10:58:04 -03:00
  • 66ec7309e5 Also split soft body solver in two Irlan 2019-06-19 16:07:04 -03:00
  • 02872af0db Include cloth triangle inside Bounce headers Irlan 2019-06-19 14:08:44 -03:00
  • 625310be71 Split the solvers into force solver and contact solver Irlan 2019-06-19 12:39:28 -03:00
  • 9765e72ab9 Better API naming. Enable self-collision by default. Irlan 2019-06-18 21:00:03 -03:00
  • 170793896d Synchronize node AABB given displacement Irlan 2019-06-18 12:48:34 -03:00
  • 9d935ea17f Set particle radius to thickness Irlan 2019-06-18 11:58:10 -03:00
  • f9e8d9394b Apply a bugfix Irlan 2019-06-18 11:55:09 -03:00
  • 13d8415a15 Support cloth self friction, thickness. Small refactor Irlan 2019-06-18 11:43:03 -03:00
  • 9414b7a275 Put a member variable prefix Irlan 2019-06-17 14:27:22 -03:00
  • ee8a15ddaa Disable bending in a test Irlan 2019-06-17 12:41:59 -03:00
  • 5f756dafca Use a particle versus triangle contact constraint which is, numerically, more stable Irlan 2019-06-17 12:41:27 -03:00
  • bc90c4f30e Positive diagonal check Irlan 2019-06-16 10:01:46 -03:00
  • 4f34c6a95b Remove unused, update comment Irlan 2019-06-15 11:38:33 -03:00
  • 11724ef5e3 Put nodes in a broadphase to reduce tree updates Irlan 2019-06-15 11:33:24 -03:00
  • a3a9495d88 Use Jacobi preconditioner, not inverse Jacobi Irlan 2019-06-14 11:48:34 -03:00
  • 24a86505ee Move stuff around Irlan 2019-06-14 11:47:30 -03:00
  • 922a5a0a74 Swap parameters Irlan 2019-06-14 10:46:22 -03:00
  • 901aa7255d Update cloth.h Irlan 2019-06-13 13:36:31 -03:00
  • f7becc7ee7 Organize cloth contacts Irlan 2019-06-13 10:13:15 -03:00
  • 6b92664c1e Use modified mass in velocity solver too Irlan 2019-06-12 20:52:39 -03:00
  • 46abe231e3 Use a modified inverse mass to avoid some instability problems Irlan 2019-06-12 20:46:54 -03:00
  • e5db997fa7 Update cloth_contact_manager.cpp Irlan 2019-06-12 18:20:39 -03:00
  • d3b6292afd Keep particles and triangles in a tree Irlan 2019-06-12 17:58:33 -03:00
  • 99270a70b9 AABB stuff Irlan 2019-06-12 17:42:05 -03:00
  • 078081fa3c AABB stuff Irlan 2019-06-12 17:41:41 -03:00
  • cb492f7d51 Unbuffer move if proxy gets destroyed Irlan 2019-06-12 17:39:57 -03:00
  • 00819d015a Pass color to shader Irlan 2019-06-11 22:19:04 -03:00
  • 80aa6b6b7f Comment Irlan 2019-06-09 15:40:35 -03:00
  • 7b4795f0a3 Set B using only E^-1 Irlan 2019-06-09 15:38:19 -03:00
  • 07ee080310 Remove particle forces if it gets destroyed Irlan 2019-06-05 13:49:40 -03:00
  • 5ee66d645e Remove include Irlan 2019-06-05 13:48:37 -03:00
  • ad254c77c8 Ensure not deleting a mesh particle Irlan 2019-06-05 11:30:24 -03:00
  • 2e9a8d7b24 Code consistency Irlan 2019-06-05 09:00:15 -03:00
  • b3c2fcf3f8 Silence Triangle Irlan 2019-06-05 08:59:58 -03:00
  • bb3156c328 Update draw.h Irlan 2019-06-04 21:47:22 -03:00
  • b277b8b588 Draw capsule in world space Irlan 2019-06-04 21:47:01 -03:00
  • 53e1f3a0be Bugfix Irlan 2019-06-04 21:35:11 -03:00
  • 56db3517f9 Draw solid stuff inside b3World Irlan 2019-06-04 20:56:51 -03:00
  • 43085c8cc1 Pushed code to draw a plane Irlan 2019-06-04 19:38:43 -03:00
  • 552970cfe7 Return true Irlan 2019-06-03 19:39:06 -03:00
  • ef1ae1230b Put some comments and reference code Irlan 2019-06-03 18:48:55 -03:00
  • db949eeca0 Bugfix Irlan 2019-06-03 18:37:32 -03:00
  • 92cdb42dca Use a particle tree for cloth Irlan 2019-06-03 17:50:43 -03:00
  • 17bddf5426 Remove unused Irlan 2019-06-03 17:16:49 -03:00
  • 2c78e67844 Use a node tree. Rename damping to mass damping. Irlan 2019-06-03 14:33:42 -03:00
  • 3b910491c3 Set AABB from center and radius Irlan 2019-06-03 14:32:58 -03:00
  • d81ee7b84a Delete unused Irlan 2019-06-03 10:04:18 -03:00
  • 46600010fe More consistency and pass velocity and position iterations to cloth constraint solver Irlan 2019-06-02 12:05:36 -03:00
  • f1429a5481
    Update readme.md Irlan Robson 2019-06-02 11:12:19 -03:00
  • 2e09982d3c
    Update readme.md Irlan Robson 2019-06-02 11:04:40 -03:00
  • d89e658313 Removed experimental code Irlan 2019-06-02 11:03:19 -03:00
  • f2c7eb64ed Update sparse_mat33_view.h Irlan 2019-05-31 12:29:18 -03:00
  • 2e65edc6a8 Move files around. Centralize sparsity and pattern structures. Add a view for b3SparseMat33. Irlan 2019-05-31 11:58:08 -03:00
  • a97e5c07cc Rename Softbody to Beam Irlan 2019-05-28 14:10:45 -03:00
  • 0e5262629d Support kinematic nodes Irlan 2019-05-28 14:01:27 -03:00
  • df21ca37d7 Remove __forceinline Irlan 2019-05-27 19:16:35 -03:00
  • 6d2ac0d714 Remove capital H Irlan 2019-05-24 21:05:02 -03:00
  • c696cb1a86 Update test Irlan 2019-05-24 20:36:33 -03:00
  • 416157bccf Add block tetrahedral mesh for convenience Irlan 2019-05-24 19:30:38 -03:00
  • b6f504b371 Include Rayleigh damping. Use struct instead of class. Update PinnedSoftBody test Irlan 2019-05-24 13:04:42 -03:00
  • 5e044795df Use transpose Irlan 2019-05-23 11:17:32 -03:00
  • 494fa0baa9 Incorporate plasticity model. Update the tests Irlan 2019-05-22 18:16:47 -03:00
  • e0d2f9f512 Use full matrices for computing the stiffness matrices. Enable/disable stiffness warping. Irlan 2019-05-22 12:04:04 -03:00