Commit Graph
40 Commits
Author SHA1 Message Date
jingyuc f1e86bf257 test modes kinematics 2021-07-14 16:00:28 -04:00
Erwin Coumans 1452cae641 * add textured models of ball.vtk (obj/mtl) and torus (obj/mtl) and cloth.
1) allow to render deformables in 'getCameraImage', for TinyRenderer (tested OK) and EGL (untested)
2) allow to have textures for deformables. See deformable_ball.py, deformable_anchor.py and deformable_torus.py for examples
3) deformables: allow to request simulation mesh data (even if there is a render mesh) See deformable_anchor.py for an example usage
   data = p.getMeshData(clothId, -1, flags=p.MESH_DATA_SIMULATION_MESH)
4) fix deletion of deformables, thanks to Fychuyan, https://github.com/bulletphysics/bullet3/pull/3048
5) allow to enable and disable double-sided rendering, p.changeVisualShape(objectUid, linkIndex, flags=p.VISUAL_SHAPE_DOUBLE_SIDED)
6) fix GripperGraspExample, model not found
7) Fix deformable anchor not attaching to multibody with object unique id of 0
8) Fix issue with assignment of unique ids in TinyRenderer/EGL renderer (always use broadphase uid)
9) Avoid crash/issue of simulation with pinned vertices (mass 0) in btDeformableBackwardEulerObjective::applyExplicitForce
10) Store uv/normal in btSoftBody::RenderNode to allow textured meshes
11) (uncomment in btSoftBodyHelpers.cpp): dump vertices and indices in obj wavefront format, when loading a VTK file, for quicker creation of a (textured) surface mesh
12) allow interpolateRenderMesh also for old position-based soft bodies (not only the shiny new FEM deformables)
13) fix a few premake targets
14) update build_visual_studio_vr_pybullet_double_cmake.bat so it suits c:\python37 and installs locally
    for local install of Bullet, see also this example https://github.com/erwincoumans/hello_bullet_cmake
2020-09-12 01:03:04 -07:00
Xuchen Han ae9fb3ca8f Change picking force to implicit for all integration schemes. 2020-08-03 23:04:47 -07:00
Xuchen Han 4317ddc285 change dynamic_cast to static_cast 2020-06-26 11:47:40 -07:00
Xuchen Han bfaaca81be bug fix in implicit predict motion 2020-06-19 17:04:02 -07:00
Xuchen Han b969f14d21 run clang format 2020-06-19 14:52:44 -07:00
Xuchen Han 395f8c6117 add implicit point contact for corotated linear elasticity objects 2020-06-19 14:49:58 -07:00
Xuchen Han 165427de01 refactor to support both CG+projection and KKT 2020-04-15 17:46:01 -07:00
Xuchen Han 8783b4411c add diagonal preconditioner for KKT system 2020-04-12 12:00:42 -07:00
Xuchen Han 6ef1a4acbc bug fix in CR multiply 2020-04-08 21:24:02 -07:00
Xuchen Han 6469e0f181 Lagrange Multiplier working 2020-04-08 15:12:28 -07:00
Xuchen Han d7442cee21 add strain rate limiting 2019-12-31 14:04:18 -08:00
Xuchen Han 1bd0eee0ff fix indexing bug in deformable sleeping 2019-11-03 12:44:45 -08:00
Xuchen Han 25a566c378 finish deformable sleeping and add option for drag 2019-10-15 13:50:13 -07:00
Xuchen Han ae42cc561e add damping energy in line search 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 1febf8d612 change CG tolerance criterion 2019-09-28 14:43:40 -07:00
Xuchen Han 5330396c70 enabled mass preconditioner 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 b93c3c56ed delete preconditioner in destructor 2019-08-21 22:44:10 -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 3bf3b66fb7 add method to remove softbody 2019-08-19 19:18:02 -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 86a1312875 add author info 2019-08-16 13:45:30 -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 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 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 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 8c04a78c9b switch from std::unordered_map to btHashMap 2019-08-02 23:26:11 -07:00
Xuchen Han f624b60c19 get rid of auto 2019-08-02 15:19:37 -07:00
Xuchen Han 3dc8abcf36 only call buildIslands once for multibody in each timestep 2019-08-02 13:15:06 -07:00
Xuchen Han f1e7ce9ce1 add multibody interpolation transform so that collision detection is consistent with rigidbody 2019-08-02 13:15:06 -07:00
Xuchen Han ec403f790d factor out force; now btDeformableLagrangianceForce can be specified at configuration time and to specific softbody 2019-08-02 13:15:06 -07:00
Xuchen Han a90cad2a96 deformable code refactor 2019-08-02 13:13:21 -07:00