Commit Graph

992 Commits

Author SHA1 Message Date
Chuyuan Fu
07521869db format file
format

format
2020-08-12 10:46:26 -07:00
Chuyuan Fu
b8fd4a1060 added caching barycenters for static constraints, with lots of debugging lines 2020-08-12 09:33:49 -07:00
Stephen Gold
c1bc1a3688 btCollisionObject.h: add getters for m_objectsWithoutCollisionCheck 2020-05-13 03:24:49 -07:00
erwincoumans
4ab592dab1 Merge pull request #2776 from stephengold/master
extend BVH and GImpact algorithms to accept meshes with PHY_UCHAR indices
2020-05-06 14:59:48 -07:00
Peng Xu
b13ca4e969 Remove unused thread-unsafe debug variable 'maxIteration' that is no longer used in btQuantizedBvh.cpp 2020-05-06 11:03:39 -07:00
Stephen Gold
5ec86e9f9a extend BVH and GImpact algorithms to accept meshes with UCHAR indices 2020-04-28 00:00:07 -07:00
erwincoumans
cd8cf7521c Merge pull request #2620 from stephengold/master
apply custom pair-cache filter to predictive contacts
2020-04-26 12:09:05 -07:00
stolk
b7ff35ae86 Remove unused member variable from dispatcher. 2020-04-03 09:48:16 -07:00
Stephen Gold
abb2e4ee23 delete comments plainly marking the altered source code 2020-02-23 21:48:25 -08:00
Stephen Gold
43877214bd use safeNormalize() to avoid assert failure in btVector3::normalize() 2020-02-17 22:45:22 -08:00
Stephen Gold
75b05d93ff apply custom pair-cache filter to predictive contacts 2020-02-13 00:04:42 -08:00
erwincoumans
66ffa329c8 Merge pull request #2577 from xhan0619/master
Add position error into deformable vs. rigid contact
2020-01-11 16:05:15 -08:00
erwincoumans
5bf6adcf9d Update btCollisionDispatcherMt.h
add a space to fix compile errors
2020-01-11 06:57:35 -08:00
Xuchen Han
a808d74895 fix bug in the pretransform of rigid body interpolation transform 2019-12-30 10:55:30 -08:00
Anis
de9ac113c4 a better approach to merge new manifolds on multithreaded CPU dispatcher 2019-12-30 02:17:59 +01:00
Daniele Bartolini
94f0a14e43 Fix warning with -Wreorder 2019-12-18 21:20:49 +01:00
erwincoumans
4414136f32 Merge pull request #2541 from dbartolini/cleanup-fix-multi-line-warning
Fix multi-line comment warning with -Wcomment
2019-12-17 19:10:07 -08:00
erwincoumans
63843dffc2 Merge pull request #2543 from dbartolini/cleanup-fix-user-headers
Fix warning with -Wunused-parameter
2019-12-17 19:09:20 -08:00
erwincoumans
2d66858918 Merge pull request #2544 from dbartolini/cleanup-dbvt
Remove unnecessary copy constructor in btDbvt
2019-12-17 19:08:52 -08:00
Daniele Bartolini
4ea4c7ef6a Remove unnecessary copy constructor in btDbvt 2019-12-15 01:21:24 +01:00
Daniele Bartolini
78398df00e Fix warning with -Wunused-parameter 2019-12-15 01:03:01 +01:00
Daniele Bartolini
b91124b012 Fix multi-line comment warning with -Wcomment 2019-12-15 00:41:00 +01:00
Daniele Bartolini
0aa4974b98 Remove unnecessary copy constructor in btBroadphasePair 2019-12-15 00:35:44 +01:00
Xuchen Han
794614f269 change collision detection between deformables to from continuous to discrete 2019-11-11 13:58:03 -08:00
Aaron Franke
133fd3a73c Fix "seperate" typos 2019-10-31 08:29:09 -04: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
96bf2f2ff5 address PR comments 2019-10-01 14:47:49 -07:00
Xuchen Han
cb46440e17 add normal cone optimization for self-collision 2019-09-28 14:44:41 -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
fce1296413 fix the issue that compound objects's child does not get rotated in the material space in interpolationWorldTransform 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
Erwin Coumans
f09cefabe8 Merge remote-tracking branch 'bp/master' 2019-08-14 21:14:56 -07:00
erwincoumans
7fa70c3857 Merge pull request #2351 from xhan0619/Deformable
Add deformable body world and solver
2019-08-14 21:13:41 -07:00
Erwin Coumans
88d1788ee5 PyBullet: allow to update an existing heightfield shape
Also, use flags = p.GEOM_CONCAVE_INTERNAL_EDGE to enable internal edge filtering for heightfield (disabled by default)
See https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/heightfield.py
2019-08-14 21:06:10 -07:00
Erwin Coumans
54111f7023 PyBullet: add support for internal edge filtering for height field terrains 2019-08-09 10:14:14 -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
Erwin Coumans
51fba6f78d export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU)
fix rare getKeyboardEvents threading issue
change texture color to default plane.urdf blue
2019-07-29 20:23:38 -07:00
Erwin Coumans
a42acfbe31 btHeightFieldTerrainShape, init new member
instead height of example terrain
2019-07-23 15:23:11 -07:00
Erwin Coumans
ebde9926a8 add example loading heightfield from image and csv, using assets from DeepLoco (thanks to Jason Peng) and
from this Blender tutorial https://www.beamng.com/threads/tutorial-adding-heightmap-roads-using-blender.16356/
2019-07-23 11:26:31 -07:00
erwincoumans
1061b3d816 Update btMprPenetration.h
fix typo
2019-06-17 09:39:25 -07:00
Rémi Verschelde
d85b800702 Convert DOS (CRLF) source files to Unix (LF) line endings
Excluded `examples/pybullet/gym/pybullet_data/` which has many (3000+)
CRLF data files (obj, mtl, urdf), and `docs/pybullet_quickstart_guide`
which has generated .js and .htm files with CRLF line endings too.
2019-05-22 10:01:32 +02:00
Chuyuan Fu
64ebe27477 Add safety check 2019-05-16 18:13:29 -07:00
erwincoumans
a8d1c121fd allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShape 2019-04-16 10:34:59 -07:00
erwincoumans
f28fd91e4f add raycast accelerator for btHeightfieldTerrainShape, thanks to Marc Zylann, see https://github.com/bulletphysics/bullet3/pull/2062
it can be disabled by setting the flag cb.m_flags |= btTriangleRaycastCallback::kF_DisableHeightfieldAccelerator;
acceleration is disabled for z axis up.
add btHeightfieldTerrainShape example to example browser
2019-04-15 21:55:29 -07:00
Stephen Gold
231195843f in btSimpleBroadphase::destroyProxy(), remove pairs before freeing proxy 2019-04-02 21:51:58 -07:00
Francois Beaune
649a7d0981 Fix crash in btGImpactMeshShape vs btBvhTriangleMeshShape 2019-02-27 10:41:54 +01:00
Erwin Coumans
77a9a77b60 create some 'Unity Build' cpp files, to work-around setuptools on Windows creating >32k command-line
see 'won't fix' in https://bugs.python.org/issue1539295
2019-01-24 10:32:15 -08:00