Commit Graph

68 Commits

Author SHA1 Message Date
Xuchen Han
89553c44e7 solve constraints involving deformable objects according to islands 2019-12-18 23:11:34 -08:00
Xuchen Han
794614f269 change collision detection between deformables to from continuous to discrete 2019-11-11 13:58:03 -08:00
erwincoumans
d6dbc9d3ca Merge pull request #2467 from xhan0619/split-impulse
Split impulse
2019-11-06 14:23:26 -08:00
Xuchen Han
13314360a8 add option for deformable rigid split impulse 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
3d622a3bee enable deformable sleeping 2019-10-16 12:00:02 -07:00
Xuchen Han
05c25a27de address comment from ldowns 2019-10-15 13:51:33 -07:00
Xuchen Han
e87df18544 switch to damping model from Irvine 05 for its SPDness 2019-10-15 13:50:13 -07:00
Xuchen Han
87546bb7c3 prevent velocity of deformable from getting too big from explicit force 2019-10-15 13:50:13 -07:00
Xuchen Han
25a566c378 finish deformable sleeping and add option for drag 2019-10-15 13:50:13 -07:00
Xuchen Han
0d7ff567e6 bug fix in deformable predict motion 2019-10-15 13:50:13 -07:00
Xuchen Han
c610ba49df fix bug in computing rhs in momentum solve 2019-10-15 13:47:55 -07:00
Xuchen Han
96bf2f2ff5 address PR comments 2019-10-01 14:47:49 -07:00
Xuchen Han
ccaddfca21 documentation and optimization 2019-09-28 14:44:42 -07:00
Xuchen Han
a0acfd5195 code clean up and optimization 2019-09-28 14:44:42 -07:00
Xuchen Han
cb46440e17 add normal cone optimization for self-collision 2019-09-28 14:44:41 -07:00
Xuchen Han
657a7468b3 documentation and optimization 2019-09-28 14:44:41 -07:00
Xuchen Han
416e516735 add naive implementation of self collision 2019-09-28 14:44:41 -07:00
Xuchen Han
be7383cc03 update examples to test different time stepping schemes (namely explicit, implicit and implicit with line search)/ 2019-09-28 14:44:41 -07:00
Xuchen Han
ef5aa6e73b add options to toggle between whether line search is used & add more documentation 2019-09-28 14:44:41 -07:00
Xuchen Han
0501fe1bbd add cloth demo to show deformable friction 2019-09-28 14:44:41 -07:00
Xuchen Han
d761b2cd68 add some documentation 2019-09-28 14:44:41 -07:00
Xuchen Han
ae42cc561e add damping energy in line search 2019-09-28 14:44:41 -07:00
Xuchen Han
1bfb226be8 add support for deformable vs. deformable contact 2019-09-28 14:44:41 -07:00
Xuchen Han
403eb62dfa code clean up and optimization 2019-09-28 14:44:41 -07:00
Xuchen Han
109d9353af switched to deformable rigid contact from Jacobi to Gauss Seidel 2019-09-28 14:44:41 -07:00
Xuchen Han
f99cf56149 finished refactoring; start adding face contact 2019-09-28 14:44:41 -07:00
Xuchen Han
1bc75cc833 add relative tolerance for linear solver and newton with line search 2019-09-28 14:43:40 -07:00
Xuchen Han
5330396c70 enabled mass preconditioner 2019-09-04 18:49:43 -07:00
Xuchen Han
e124c62a70 each node only allows a single contact; initial guess for newton set to x = x_n + dt*v_n 2019-09-04 18:49:43 -07:00
Xuchen Han
7d1b93cc17 contact solve for newton 2019-09-04 18:48:00 -07:00
Xuchen Han
d4a15e016e add newton solver 2019-09-04 18:48:00 -07:00
Xuchen Han
e73f70efa2 swap m_x and m_q in softbody to align with rendering convention 2019-09-04 18:48:00 -07:00
Xuchen Han
f2d8ed71ac float->btScalar 2019-08-23 20:06:41 -07:00
Xuchen Han
6beeac7065 refactor contact solve 2019-08-23 17:32:41 -07:00
Xuchen Han
ccd8c3a47c fix scope override in btMultiBody and scalar type inconsistency in btDeformableBodySolver 2019-08-22 10:12:14 -07:00
Xuchen Han
4e1c1a30a7 remove world dependency from btDeformableBodySolver,btDeformableBackwardEulerObjective, and btCGProjection; reduce invasion into multibody world, all chnages are cosmetic now 2019-08-21 22:17:46 -07:00
Xuchen Han
7e971d9f63 safe guard against NaN in dv after CG solve 2019-08-20 11:12:36 -07:00
Xuchen Han
9f559af2a8 set m_contact_iterations to solverInfo.m_solverIterations 2019-08-19 13:07:26 -07:00
Xuchen Han
bf215a3ce1 rename btDeformableRigidDynamicsWorld to btDeformableMultiBodyDynamicsWorld 2019-08-16 13:45:30 -07:00
Xuchen Han
86a1312875 add author info 2019-08-16 13:45:30 -07:00
Xuchen Han
10cb0c368d solve CG with more accuracy 2019-08-16 13:45:29 -07:00
Xuchen Han
07bf736aeb build islands once and process islands arbitrary number of times in update constraints 2019-08-16 13:45:29 -07:00
Xuchen Han
f7cd1edf4a code clean up 2019-08-16 13:45:29 -07:00
Xuchen Han
fa5741d07e improve dynamic friction 2019-08-16 13:45:29 -07:00
Xuchen Han
fb6612c0be friction fixes 2019-08-16 13:45:08 -07:00
Xuchen Han
5b8df6a708 switch to Baraff style constraint 2019-08-16 13:45:08 -07:00
Xuchen Han
7adb6fdff3 2016 -> 2019 2019-08-08 17:43:49 -07:00
Xuchen Han
817e64a769 remove one softbody array copy 2019-08-08 17:31:59 -07:00