249 Commits

Author SHA1 Message Date
Irlan
b6d9f56583 Small refactor. Removed b3SparseSymMat33 since it is very particular. Pushed experimental b3ShearForce. 2019-06-27 16:19:42 -03:00
Irlan
0733ebd3be Added per triangle stretching force and damping. This gives more realistics results. Also updated the tests.
Saying goodbye to mass-spring system!
2019-06-26 20:30:33 -03:00
Irlan
028d8e101c Reestructured folders and applied a bugfix 2019-06-24 11:33:05 -03:00
Irlan
5bb247c79b Small refactor 2019-06-24 11:15:02 -03:00
Irlan
b18dae8f9d Reestructured folders 2019-06-24 10:16:16 -03:00
Irlan
1876592d22 Delete world body contacts if world gets detached. 2019-06-23 15:29:47 -03:00
Irlan
441e8fd63f Update comments 2019-06-23 11:05:53 -03:00
Irlan
13eab5d00d Small refactor. Allow cloth particle to collide with multiple shapes. This is a more general solution. 2019-06-23 10:52:41 -03:00
Irlan
7c1a72c572 Add b3GridClothMesh. Set particle friction to global cloth friction. Update the tests. Also simplified some code. 2019-06-21 10:58:04 -03:00
Irlan
66ec7309e5 Also split soft body solver in two 2019-06-19 16:07:04 -03:00
Irlan
02872af0db Include cloth triangle inside Bounce headers 2019-06-19 14:08:44 -03:00
Irlan
625310be71 Split the solvers into force solver and contact solver 2019-06-19 12:39:28 -03:00
Irlan
9765e72ab9 Better API naming. Enable self-collision by default. 2019-06-18 21:00:03 -03:00
Irlan
170793896d Synchronize node AABB given displacement 2019-06-18 12:48:34 -03:00
Irlan
13d8415a15 Support cloth self friction, thickness. Small refactor 2019-06-18 11:43:03 -03:00
Irlan
9414b7a275 Put a member variable prefix 2019-06-17 14:27:22 -03:00
Irlan
5f756dafca Use a particle versus triangle contact constraint which is, numerically, more stable 2019-06-17 12:41:27 -03:00
Irlan
4f34c6a95b Remove unused, update comment 2019-06-15 11:38:33 -03:00
Irlan
11724ef5e3 Put nodes in a broadphase to reduce tree updates 2019-06-15 11:33:24 -03:00
Irlan
24a86505ee Move stuff around 2019-06-14 11:47:30 -03:00
Irlan
922a5a0a74 Swap parameters 2019-06-14 10:46:22 -03:00
Irlan
901aa7255d Update cloth.h 2019-06-13 13:36:31 -03:00
Irlan
f7becc7ee7 Organize cloth contacts 2019-06-13 10:13:15 -03:00
Irlan
d3b6292afd Keep particles and triangles in a tree 2019-06-12 17:58:33 -03:00
Irlan
99270a70b9 AABB stuff 2019-06-12 17:42:05 -03:00
Irlan
078081fa3c AABB stuff 2019-06-12 17:41:41 -03:00
Irlan
cb492f7d51 Unbuffer move if proxy gets destroyed 2019-06-12 17:39:57 -03:00
Irlan
07ee080310 Remove particle forces if it gets destroyed 2019-06-05 13:49:40 -03:00
Irlan
bb3156c328 Update draw.h 2019-06-04 21:47:22 -03:00
Irlan
b277b8b588 Draw capsule in world space 2019-06-04 21:47:01 -03:00
Irlan
53e1f3a0be Bugfix 2019-06-04 21:35:11 -03:00
Irlan
56db3517f9 Draw solid stuff inside b3World 2019-06-04 20:56:51 -03:00
Irlan
43085c8cc1 Pushed code to draw a plane 2019-06-04 19:38:43 -03:00
Irlan
92cdb42dca Use a particle tree for cloth 2019-06-03 17:50:43 -03:00
Irlan
2c78e67844 Use a node tree. Rename damping to mass damping. 2019-06-03 14:33:42 -03:00
Irlan
3b910491c3 Set AABB from center and radius 2019-06-03 14:32:58 -03:00
Irlan
d81ee7b84a Delete unused 2019-06-03 10:04:18 -03:00
Irlan
46600010fe More consistency and pass velocity and position iterations to cloth constraint solver 2019-06-02 12:05:36 -03:00
Irlan
f2c7eb64ed Update sparse_mat33_view.h 2019-05-31 12:29:18 -03:00
Irlan
2e65edc6a8 Move files around. Centralize sparsity and pattern structures. Add a view for b3SparseMat33. 2019-05-31 11:58:08 -03:00
Irlan
0e5262629d Support kinematic nodes 2019-05-28 14:01:27 -03:00
Irlan
6d2ac0d714 Remove capital H 2019-05-24 21:05:02 -03:00
Irlan
416157bccf Add block tetrahedral mesh for convenience 2019-05-24 19:30:38 -03:00
Irlan
b6f504b371 Include Rayleigh damping. Use struct instead of class. Update PinnedSoftBody test 2019-05-24 13:04:42 -03:00
Irlan
494fa0baa9 Incorporate plasticity model. Update the tests 2019-05-22 18:16:47 -03:00
Irlan
e0d2f9f512 Use full matrices for computing the stiffness matrices. Enable/disable stiffness warping. 2019-05-22 12:04:04 -03:00
Irlan
9a14c1903c Revert "Revert "Simplify soft body initialization and solver""
This reverts commit 56b5675dcdd48ea15e36b6561d52484166ba6982.
2019-05-21 20:48:41 -03:00
Irlan
56b5675dcd Revert "Simplify soft body initialization and solver"
This reverts commit e28fd2e07f10bddebf4ba31fc2b75c6bbe7d5d5c.
2019-05-21 20:46:00 -03:00
Irlan
e28fd2e07f Simplify soft body initialization and solver
Thanks Open Tissue!!
2019-05-21 20:36:46 -03:00
Irlan
e1b5e615e3 Generate tetrahedral cylinder. Also added some assertion code. 2019-05-14 13:47:04 -03:00