561 Commits

Author SHA1 Message Date
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
9d935ea17f Set particle radius to thickness 2019-06-18 11:58:10 -03:00
Irlan
f9e8d9394b Apply a bugfix 2019-06-18 11:55:09 -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
ee8a15ddaa Disable bending in a test 2019-06-17 12:41:59 -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
bc90c4f30e Positive diagonal check 2019-06-16 10:01:46 -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
a3a9495d88 Use Jacobi preconditioner, not inverse Jacobi 2019-06-14 11:48:34 -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
6b92664c1e Use modified mass in velocity solver too 2019-06-12 20:52:39 -03:00
Irlan
46abe231e3 Use a modified inverse mass to avoid some instability problems 2019-06-12 20:46:54 -03:00
Irlan
e5db997fa7 Update cloth_contact_manager.cpp 2019-06-12 18:20:39 -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
00819d015a Pass color to shader 2019-06-11 22:19:04 -03:00
Irlan
80aa6b6b7f Comment 2019-06-09 15:40:35 -03:00
Irlan
7b4795f0a3 Set B using only E^-1 2019-06-09 15:38:19 -03:00
Irlan
07ee080310 Remove particle forces if it gets destroyed 2019-06-05 13:49:40 -03:00
Irlan
5ee66d645e Remove include 2019-06-05 13:48:37 -03:00
Irlan
ad254c77c8 Ensure not deleting a mesh particle 2019-06-05 11:30:24 -03:00
Irlan
2e9a8d7b24 Code consistency 2019-06-05 09:00:15 -03:00
Irlan
b3c2fcf3f8 Silence Triangle 2019-06-05 08:59:58 -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
552970cfe7 Return true 2019-06-03 19:39:06 -03:00
Irlan
ef1ae1230b Put some comments and reference code 2019-06-03 18:48:55 -03:00
Irlan
db949eeca0 Bugfix 2019-06-03 18:37:32 -03:00
Irlan
92cdb42dca Use a particle tree for cloth 2019-06-03 17:50:43 -03:00
Irlan
17bddf5426 Remove unused 2019-06-03 17:16:49 -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 Robson
f1429a5481
Update readme.md 2019-06-02 11:12:19 -03:00
Irlan Robson
2e09982d3c
Update readme.md 2019-06-02 11:04:40 -03:00
Irlan
d89e658313 Removed experimental code 2019-06-02 11:03:19 -03:00
Irlan
f2c7eb64ed Update sparse_mat33_view.h 2019-05-31 12:29:18 -03:00