Commit Graph

7892 Commits

Author SHA1 Message Date
Xuchen Han
7d1b93cc17 contact solve for newton 2019-09-04 18:48:00 -07:00
Xuchen Han
5826492020 add elastic force differential for mass spring 2019-09-04 18:48:00 -07:00
Xuchen Han
d4a15e016e add newton solver 2019-09-04 18:48:00 -07:00
Xuchen Han
c722630fc7 bug fix in neohookean force 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
7c39052163 clean up forces 2019-09-04 18:48:00 -07:00
Xuchen Han
0b391798b7 hook deformable world into the physics server 2019-09-04 18:48:00 -07:00
erwincoumans
9cf50846d6
Merge pull request #2393 from muupan/fix-typo-duration
Fix typo: s/duraction/duration/g
2019-09-04 09:37:57 -07:00
erwincoumans
85ba3ba957
Merge pull request #2396 from fuchuyuan/bodytypeAPI
Add body type to dynamics info
2019-09-04 09:37:31 -07:00
erwincoumans
6b95d12dc6
Merge pull request #2397 from mbreyer/fix-leak-in-state-restore
Fix memory leak in RestoreState
2019-09-04 08:31:20 -07:00
Michel Breyer
c374d01587 Deallocate importer in RestoreState 2019-09-04 13:10:34 +02:00
Chuyuan Fu
ecc28d6472 revert testing example 2019-09-03 14:35:33 -07:00
Chuyuan Fu
e4a5f9e06e add body type info to dynamics info 2019-09-03 14:27:19 -07:00
muupan
4c209a4834 Fix typo: s/duraction/duration/g 2019-09-03 17:29:43 +09:00
erwincoumans
25cc1fa386
Merge pull request #2373 from xhan0619/DeformableImprovement
Deformable improvement
2019-08-24 18:09:47 -07:00
erwincoumans
ceee3e075b
Merge pull request #2377 from bulletphysics/erwincoumans-patch-7
Update PhysicsServerCommandProcessor.cpp
2019-08-24 17:13:44 -07:00
Xuchen Han
908cf69f06 change deformable/multibody solve to be in dv space 2019-08-24 14:58:11 -07:00
Xuchen Han
8b38076376 update license 2019-08-24 12:44:58 -07:00
Xuchen Han
b0a91bb306 float->btScalar 2019-08-24 11:55:34 -07:00
Xuchen Han
bb4a554e68 bug fix in multibody interpolation world transform: update cached rotation and vector 2019-08-24 11:51:33 -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
erwincoumans
64097c9eec
Merge pull request #2375 from bulletphysics/erwincoumans-patch-6
Update btMultiBodyConstraintSolver.cpp (markup for clangtidy)
2019-08-22 07:47:44 -07:00
erwincoumans
9a7b89c95a
Update PhysicsServerCommandProcessor.cpp
also allow to extract collision info (pybullet. getCollisionShapeData ) for concave meshes. Thanks to Brent.
2019-08-22 07:38:23 -07:00
Xuchen Han
3fbd7a7edd delete forces in exitPhysics 2019-08-21 23:00:18 -07:00
Xuchen Han
b93c3c56ed delete preconditioner in destructor 2019-08-21 22:44:10 -07:00
Xuchen Han
750ff33f26 remove the std::istream version of vtkfileread 2019-08-21 22:39:07 -07:00
Xuchen Han
4df31305a8 remove iostream dependency 2019-08-21 22:31:30 -07:00
Xuchen Han
75d0cfaf69 restore default voxelsz and add option to change voxelsz 2019-08-21 22:29:53 -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
f33532273a sync interpolationTransform for multibody in integrateTransform; revert changes to voxel size in sparseSDF 2019-08-21 16:03:54 -07:00
Xuchen Han
076c8b11df revert the changes to damping of multibody external forces 2019-08-20 18:13:38 -07:00
Xuchen Han
fadf6aa612 prevent division by zero in mass spring 2019-08-20 16:26:19 -07:00
Xuchen Han
7e971d9f63 safe guard against NaN in dv after CG solve 2019-08-20 11:12:36 -07:00
Xuchen Han
76d37ec475 bug fix in updateDeformation 2019-08-20 10:37:25 -07:00
erwincoumans
3d42a770fc
Update btMultiBodyConstraintSolver.cpp 2019-08-20 07:29:49 -07:00
Xuchen Han
3bf3b66fb7 add method to remove softbody 2019-08-19 19:18:02 -07:00
Xuchen Han
ef65d6422b remove CG printf outputs 2019-08-19 17:28:22 -07:00
Xuchen Han
5cdfbf3313 add CMakeLists 2019-08-19 13:09:14 -07:00
Xuchen Han
9f559af2a8 set m_contact_iterations to solverInfo.m_solverIterations 2019-08-19 13:07:26 -07:00
Xuchen Han
9af25430ac update examples to include NeoHookean Model and new damping model 2019-08-19 12:04:10 -07:00
Xuchen Han
44e7c4a96d add stable NeoHookean Model 2019-08-19 12:03:45 -07:00
Xuchen Han
04595961cd add velocity clamp to prevent deformable objects from going too fast 2019-08-19 12:02:57 -07:00
Xuchen Han
54bd93aad2 move deformation update to before explicit force calculation to prevent repetition of F calculation 2019-08-19 11:30:25 -07:00
Xuchen Han
74adce7322 bug fix in momentum conserving damping model for mass spring; update default damping model to momentum conserving one 2019-08-19 11:28:41 -07:00
Xuchen Han
6d4e93d3bf mods for compatibility with older compiler 2019-08-16 14:03:14 -07:00
Xuchen Han
bf215a3ce1 rename btDeformableRigidDynamicsWorld to btDeformableMultiBodyDynamicsWorld 2019-08-16 13:45:30 -07:00
Xuchen Han
8860f8bacc remove unused functions 2019-08-16 13:45:30 -07:00
Xuchen Han
86a1312875 add author info 2019-08-16 13:45:30 -07:00