Commit Graph

59 Commits

Author SHA1 Message Date
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
Xuchen Han
96e8dcef0f fix bug caused by not reseting to zero 2019-08-08 16:45:19 -07:00
Xuchen Han
e5231b5cc5 restore behaviors of btSoftBody 2019-08-06 10:52:19 -07:00
Xuchen Han
6a599bde87 setDt in reinitialize and remove unused variables 2019-08-06 10:16:56 -07:00
Xuchen Han
73f5eb6a8f add profiling and code clean up 2019-08-05 16:49:04 -07:00
Xuchen Han
02d3a9469f code clean up + Zlib copyright header 2019-08-05 11:54:17 -07:00
Xuchen Han
021cbb2a0e include numeric_limits 2019-08-02 23:50:15 -07:00
Xuchen Han
8c04a78c9b switch from std::unordered_map to btHashMap 2019-08-02 23:26:11 -07:00
Xuchen Han
3dc8abcf36 only call buildIslands once for multibody in each timestep 2019-08-02 13:15:06 -07:00
Xuchen Han
243b9fc8c7 combat friction drift in positionCorrect by changing velocity and change it back (effectively only changing position) 2019-08-02 13:14:15 -07:00