Xuchen Han
794614f269
change collision detection between deformables to from continuous to discrete
2019-11-11 13:58:03 -08:00
erwincoumans
b25d806b14
Merge pull request #2475 from xhan0619/fix-issue-#2473
...
Fix issue #2473
2019-11-08 20:45:05 -08:00
Xuchen Han
362bc6d9a3
fix the bug that prevents the pd control forces/torques being added
2019-11-08 17:08:59 -08:00
Xuchen Han
059e23d381
fix old soft body collision issue #2473
2019-11-07 13:00:13 -08:00
Xuchen Han
baa9dcdf08
move erp for deformable into a separate parameter
2019-11-07 12:13:51 -08:00
erwincoumans
0cdddb874c
Merge pull request #2461 from aaronfranke/seperate-typo
...
Fix "seperate" typos
2019-11-06 14:26:06 -08:00
erwincoumans
d6dbc9d3ca
Merge pull request #2467 from xhan0619/split-impulse
...
Split impulse
2019-11-06 14:23:26 -08:00
Xuchen Han
9068b7ed91
turn off SVD
2019-11-05 18:16:13 -08:00
Xuchen Han
b55ebac2d9
update CMakeLists
2019-11-05 18:09:38 -08:00
Xuchen Han
13314360a8
add option for deformable rigid split impulse
2019-11-05 18:07:58 -08:00
Xuchen Han
fb85b2e05f
add a linear elasticity model
2019-11-05 18:07:58 -08:00
Xuchen Han
4347c03459
turn on SVD and use fewer CG iterations
2019-11-03 12:47:08 -08:00
Xuchen Han
1bd0eee0ff
fix indexing bug in deformable sleeping
2019-11-03 12:44:45 -08:00
Xuchen Han
93835c195b
turn off SVD
2019-10-31 12:57:19 -07:00
Xuchen Han
3f1e061966
turn on SVD
2019-10-31 12:53:12 -07:00
Xuchen Han
9ebbab959c
use safenorm
2019-10-31 12:53:12 -07:00
Xuchen Han
ec1ef0c465
add strain limiting to face contact to improve stability
2019-10-31 12:53:12 -07:00
Chuyuan Fu
41eb074406
avoid dividing by 0
2019-10-31 12:53:12 -07:00
Chuyuan Fu
ae7c3e0dee
compute COM taking non-uniform model into account
2019-10-31 12:53:12 -07:00
Chuyuan Fu
74571d79e7
add compute softbody com
2019-10-31 12:53:12 -07:00
Aaron Franke
133fd3a73c
Fix "seperate" typos
2019-10-31 08:29:09 -04:00
Erwin Coumans
b2732b16be
Merge remote-tracking branch 'bp/master'
2019-10-30 10:32:58 -07:00
Erwin Coumans
5a9b862ef5
bump up to Bullet version 2.89 and update serialization structures
2019-10-30 10:32:14 -07:00
erwincoumans
8aa7f93bf1
Merge pull request #2448 from fuchuyuan/mergechange
...
merge warmstart
2019-10-30 10:31:43 -07:00
Xuchen Han
6dce8e4ff5
cull out most of the SVD calculation when stress is low
2019-10-29 22:39:10 -07:00
Erwin Coumans
938ac51da7
return a value in a degenerate svd case
...
re-disable svd by default
2019-10-29 20:40:57 -07:00
Erwin Coumans
7bffbb2351
add check against FLT_EPSILON/DBL_EPSILON for sqrt and division to avoid nan.
...
add max_iterations count in svd as safety termination condition
2019-10-29 18:28:30 -07:00
Erwin Coumans
136607151e
use mult instead of max to combine friction properties
...
use 0.5 friction for ground for a demo, and also a larger grid size
update description of deformable algorithm
disable SVD for now, has some issue with some compilers
2019-10-28 12:53:59 -07:00
Chuyuan Fu
404e4b9187
align multibody warmstart default value with rigidbody
2019-10-24 15:53:18 -07:00
Xuchen Han
23dbea16f3
initialize m_useSelfCollision
2019-10-24 15:28:21 -07:00
Xuchen Han
270028363b
Fix some performance issues caused by unneccessarily small sdf grid size.
2019-10-24 15:03:23 -07:00
Chuyuan Fu
8c3ddac521
restore default behavior
...
take out condition
2019-10-23 21:36:26 -07:00
Chuyuan Fu
913400eba1
add SOLVER_USE_ARTICULATED_WARMSTARTING option and APIs
...
fix compile
2019-10-23 21:36:26 -07:00
Chuyuan Fu
ac680be673
fix space
2019-10-23 21:36:08 -07:00
Chuyuan Fu
08f53fc38d
add warmstart
2019-10-23 21:36:08 -07:00
Xuchen Han
c6af3aa3f8
fix bug in deformable vs. deformable friction
2019-10-23 12:17:21 -07:00
erwincoumans
9e72e01dad
Merge pull request #2438 from MarkSakharov/fix/division_by_zero
...
Fixing division by zero
2019-10-19 17:39:32 -04:00
Mark S
88e4ca1970
Update btBatchedConstraints.cpp
...
btVector3 constructor added.
2019-10-19 02:34:45 +03:00
Xuchen Han
36f7441790
support anchor constraint between deformable and multibody
2019-10-17 16:45:28 -07:00
Xuchen Han
60dfe1fe69
add support for anchor constraint between deformable and rigid
2019-10-16 19:23:01 -07:00
Mark Sakharov
95fd362857
Fixing division by zero
2019-10-16 23:36:02 +03:00
Xuchen Han
3d622a3bee
enable deformable sleeping
2019-10-16 12:00:02 -07:00
Xuchen Han
774937bcd6
add option to turn face contact on/off
2019-10-15 13:53:27 -07:00
Xuchen Han
05c25a27de
address comment from ldowns
2019-10-15 13:51:33 -07:00
Xuchen Han
a1afc66817
remove std::fabs and std::max
2019-10-15 13:51:33 -07:00
Xuchen Han
30238b2fbc
remove std::copysign
2019-10-15 13:51:33 -07:00
Xuchen Han
a7222d8a9f
add option to set stress clamping limit
2019-10-15 13:51:33 -07:00
Xuchen Han
9e29f7108d
remove Eigen
2019-10-15 13:50:13 -07:00
Xuchen Han
9546390fd6
clamp stress for NeoHookean in singular value space
2019-10-15 13:50:13 -07:00
Xuchen Han
e87df18544
switch to damping model from Irvine 05 for its SPDness
2019-10-15 13:50:13 -07:00