604 Commits

Author SHA1 Message Date
Luke Benstead
9f8dcae52a Add PSP support 2021-01-04 21:43:00 +00:00
Luke Benstead
1509b9bd0e Use relative path to triangle.h 2019-07-08 19:49:56 +01:00
Luke Benstead
d728d45d70 Merge remote-tracking branch 'upstream/master' 2019-07-08 19:42:44 +01:00
Irlan
f87e2a6378 Properly variable name and comment 2019-07-08 10:58:39 -03:00
Irlan
e9714885e4 Simplification 2019-07-07 23:09:13 -03:00
Irlan
2982bc2bd3 Store material parameters inside elements 2019-07-07 10:00:00 -03:00
Irlan
b73b760515 Update comment 2019-07-07 09:42:34 -03:00
Irlan
d6e2105aa2 Small refactor 2019-07-07 09:33:20 -03:00
Irlan Robson
ab6ef6d685
Update readme.md 2019-06-29 18:59:15 -03:00
Irlan
0393933ecf Put forces into a folder. Added soft b3MouseForce 2019-06-29 14:51:35 -03:00
Irlan
dddfba5b21 Make code clearer 2019-06-28 21:12:58 -03:00
Irlan
bc050769a5 Update cloth.cpp 2019-06-28 15:30:13 -03:00
Irlan
0e4b1c4d1e Reuse triangle area since we use the triangle plane as the (u, v) plane 2019-06-28 15:19:22 -03:00
Irlan
b5e4b33980 Merge branch 'master' of https://github.com/irlanrobson/bounce 2019-06-28 14:54:24 -03:00
Irlan
55c4f190b1 Improved the code that computes the (u, v) coordinates for a triangle vertices. 2019-06-28 14:53:09 -03:00
Irlan Robson
15d5a3b303
Update readme.md 2019-06-27 20:22:55 -03:00
Irlan Robson
774805e264
Update readme.md 2019-06-27 19:41:47 -03:00
Irlan
cc5d062ca5 Enable shearing in test 2019-06-27 19:36:45 -03:00
Irlan
4bb367b27a Tossed out a term that makes the system non PD 2019-06-27 19:18:28 -03:00
Irlan
51d45ae372 Optimization 2019-06-27 17:03:24 -03:00
Irlan
b6d9f56583 Small refactor. Removed b3SparseSymMat33 since it is very particular. Pushed experimental b3ShearForce. 2019-06-27 16:19:42 -03:00
Irlan
774c0741bd Update strech_force.cpp 2019-06-27 04:19:56 -03:00
Irlan
a47c8e3e75 Update strech_force.cpp 2019-06-27 03:59:59 -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
52439f3414 Bugfix 2019-06-24 18:39:10 -03:00
Irlan
9189b6dfef Scale down the cloth triangles for rendering 2019-06-24 18:11:19 -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
fe6c2a3b0e Bugfix 2019-06-23 15:28:44 -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
39b27c86d2 Copy mass one loop above 2019-06-22 19:32:20 -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
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