9abd0b6029
Sorry for the lack of updates, I am preparing Bullet 3.x initial release and get back to merging Bullet 2.x and Bullet 3.x afterwards. fix some crash in btSoftBody, related to running out-of-memory. You can configure the default maximum memory allocation for the signed distance field using worldInfo->m_sparsesdf.Initialize(hash, maxAllocation); fix 'exploding' btSoftBody, related to very small masses. You can configure maximum displacement per frame using worldInfo->m_maxDisplacement avoid some crash in the world importer
erwin.coumans@gmail.com
2013-04-22 19:00:58 +00:00
ecf1752d68
fix resize problem with gwen OpenGLSample
erwin coumans
2013-04-14 19:14:38 -07:00
07b89beb39
bugfix for compound versus concave: compute the DeltaC2 after computing the (child) transforms for proper center
erwin coumans
2013-04-12 13:02:35 -07:00
ec0d2ed523
extend Wavefront obj loader to recognize objects (for compound shape creation) add reproduction of a bug in compound versus concave trimesh
erwin coumans
2013-04-12 10:25:11 -07:00
c8fcf779bb
add support for compound hulls against concave triangle mesh
erwin coumans
2013-04-05 18:29:58 -07:00
358f4f97a2
add re-usable createGraphicsSphere method in GpuDemo. introduce and use maxContactCapacity (needs to be fixed in various other contact kernels) implement sphere versus trimesh disable new/sequential GPU batching (only uses 1 thread in a warp, slow but works on NVIDIA/Apple OpenCL)
erwin coumans
2013-04-04 17:54:45 -07:00
4a93c2e704
x() -> x or getX() or [0] y() -> y or getY() or [1] z() -> z or getZ() or [2] w() -> w or getW() or [3]
erwin coumans
2013-04-03 18:27:36 -07:00
e38c032280
fix GPU solver (need to clear .w component because "m_linear" contains friction coefficient added a mixed solver to find bugs like that
erwin coumans
2013-04-02 14:53:30 -07:00
e8c2475c95
Added a gCompoundChildShapePairCallback to filter (enable/disable) child shape collisions for a btCompoundShape. Thanks to Rich McDaniel for the patch. See MyCompoundChildShapeCallback in Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp for usage.
erwin.coumans@gmail.com
2013-04-02 02:01:43 +00:00
1f4f8c7e05
Workaround for sticky convex collisions when using GJK/EPA in combination with very small collision margins. In some degenerate cases the contact normal is pointing the wrong direction so fix it now (until we can deal with all degenerate cases in GJK and EPA) contact normals need to point from B to A in all cases, so we can simply check if the contact normal really points from B to A We like to use a dot product of the normal against the difference of the centroids, once the centroid is available in the API until then we use the center of the aabb to approximate the centroid
erwin.coumans@gmail.com
2013-04-02 00:32:18 +00:00
e0254539a6
remove exception handling form MidiTest/rtMidi add Mac OSX defines/linking frameworks for rtMidi
Erwin Coumans
2013-03-31 16:02:04 -07:00
b8c32a99cb
more work towards gpu split jacobi solver
erwin coumans
2013-03-26 13:38:04 -07:00
9c0ca25cf6
add preparation for btGpuJacobiSolver
erwin coumans
2013-03-25 17:13:53 -07:00
68062bdfbd
added Samurai Monastry wavefront .obj added alternative batching kernel (slow) tweaked controls a bit added command-line options --selected_demo=<int> and --new_batching started looking into parallel 3d sap
erwin coumans
2013-03-23 23:00:50 -07:00
b4f9416cdf
add support for BVH acceleration for concave trianglemesh collision against convex hulls bugfix/improvement in batching
erwin coumans
2013-03-20 23:37:34 -07:00
9a693fb850
make bvh kernel work on AMD GPU (and reported an OpenCL compiler bug) enable source-level OpenCL debugging of a single kernel
erwin coumans
2013-03-20 13:54:00 -07:00
39884e4665
more compile fixes
erwin coumans
2013-03-20 00:33:21 -07:00
a3358b1099
add test .obj files in data folder
erwin coumans
2013-03-18 20:44:26 -07:00
0fa8eccac0
add wavefront loader start adding various scenes to test gpu rigid body pipeline reserve more memory for shapes (concave triangle mesh can be huge) in GLInstancingRenderer fix a few crashes when 0 objects
erwin coumans
2013-03-18 20:38:40 -07:00
fc5e2ad5ba
remove dependency on Adl math stuff
erwin coumans
2013-03-17 01:37:25 -07:00
74a422dfa9
add missing files, and make some functions virtual to allow compilation
Erwin Coumans
2013-03-16 10:14:07 -07:00
d91d18b5f5
added pgs/jacobi cpu solver making the gpu rigid body pipeline work again (aside from running the solver on CPU)
erwin coumans
2013-03-15 18:44:55 -07:00
02a22f6329
Avoid using SSE in API when BT_USE_SSE_IN_API is not defined Fixes Issue 683.
erwin.coumans
2012-12-20 22:09:59 +00:00
0c555a5afe
just use 16-byte aligned data for solverbody, not 64byte fixes Issue 659
erwin.coumans
2012-12-17 21:29:20 +00:00
7e14e79da0
Fix Issue 680, compilation error using Visual Studio 2005, service pack 1, quicksort compare function needs to be in a class. Toggle between GJK and SAT (initializePolyhedralFeatures) in convexDecomposition at easch restart of the demo (spacebar)
erwin.coumans
2012-12-17 20:38:31 +00:00
c4548ec746
Add a helper method that creates a btCompoundShape from a btGimpactMeshShape, for more robust collision detection.
erwin.coumans
2012-12-14 23:14:09 +00:00
27fd8ea0d7
make it more obvious that btBvhTriangleMeshShape cannot be used for moving objects.
erwin.coumans
2012-12-14 20:31:03 +00:00
1d4a5d950d
Usually m_contactNormal2 == -m_contactNormal1, but not always, so use a separate contactNormal1/contactNormal2 for each body in btSolverConstraint.
erwin.coumans
2012-12-12 23:21:51 +00:00
fe92502332
fix build issue with GImpact, Issue 681 Thanks to Oskar Nordquist for the patch/report.
erwin.coumans
2012-12-12 20:33:51 +00:00
7c610ec045
use unsigned int indices in btGImpactMeshShape See Issue 663
erwin.coumans
2012-12-07 19:20:06 +00:00
17ca9eb7e7
Fix compile error when defining DEBUG, include memset header See Issue 678, thanks to Max for the report!
erwin.coumans
2012-12-07 18:21:14 +00:00
d54423f9c0
Fix compile error in Visual Studio 2005 build: only enable SSE/SIMD intrinsics for btVector3 for Visual Studio 2008 and higher
erwin.coumans
2012-12-07 18:16:04 +00:00
9eddd42347
fix win32 (non-glut) cmake build. add partId/index to btCollisionObjectWrapper to be able to recognize recursive shape indices (a btCompoundShape with a btGimpactShape child shape etc)
erwin.coumans
2012-11-10 01:42:35 +00:00