Commit Graph

2720 Commits

Author SHA1 Message Date
erwin coumans
8a6d71ad42 added Leo wavefront file 2013-03-22 16:24:09 -07:00
erwin coumans
47344ec500 expose gravity to host
prettify convex demo
2013-03-22 14:14:54 -07:00
Erwin Coumans
9997e45dcb add some mouse controls 2013-03-22 12:09:57 -07:00
Erwin Coumans
e698b1e22b working version on Mac OSX (no compound, but concave/convex) 2013-03-21 17:54:14 -07:00
erwin coumans
12700a7cd4 added CompoundDemo 2013-03-21 17:36:52 -07:00
erwin coumans
b4f9416cdf add support for BVH acceleration for concave trianglemesh collision against convex hulls
bugfix/improvement in batching
2013-03-20 23:37:34 -07:00
erwin coumans
9a693fb850 make bvh kernel work on AMD GPU (and reported an OpenCL compiler bug)
enable source-level OpenCL debugging of a single kernel
2013-03-20 13:54:00 -07:00
erwin coumans
39884e4665 more compile fixes 2013-03-20 00:33:21 -07:00
erwin coumans
a36a37eb55 fix build 2013-03-20 00:30:11 -07:00
erwin coumans
085d705645 more work towards GPU bvh traversal 2013-03-19 23:11:19 -07:00
erwin coumans
8bfbaf3ed1 step closer to GPU bvh traversal 2013-03-19 20:06:24 -07:00
erwin coumans
a3358b1099 add test .obj files in data folder 2013-03-18 20:44:26 -07:00
erwin coumans
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
2013-03-18 20:38:40 -07:00
erwin coumans
fc5e2ad5ba remove dependency on Adl math stuff 2013-03-17 01:37:25 -07:00
erwin coumans
d3c80fe160 add Takahiro's batching pgs solver 2013-03-17 01:19:27 -07:00
Erwin Coumans
74a422dfa9 add missing files, and make some functions virtual to allow compilation 2013-03-16 10:14:07 -07:00
erwin coumans
d91d18b5f5 added pgs/jacobi cpu solver making the gpu rigid body pipeline work again (aside from running the solver on CPU) 2013-03-15 18:44:55 -07:00
erwin coumans
d49e9fd44d Merge branch 'master' of https://bitbucket.org/erwincoumans/bullet3_experiments 2013-03-15 16:27:54 -07:00
erwin coumans
9a7414f4e9 cleanup of gpu rigid body (removed all Adl stuff) 2013-03-15 16:27:23 -07:00
Erwin Coumans
3c6a802c7c add missing method in OSX 2013-03-14 14:58:33 -07:00
erwin coumans
39dbb51f68 improved PairBench. 2013-03-14 14:35:19 -07:00
erwin coumans
5784d6ce0b expose number of instances
export 'getKeyboardCallback' for chaining
2013-03-14 12:53:03 -07:00
erwincoumans
0aa7c97874 always build 64bit under Linux 64bit system, rather then 32bit 2013-03-13 17:38:16 -07:00
erwin coumans
2d6fe82fe0 more paidbench work 2013-03-13 17:04:59 -07:00
Erwin Coumans
9e623f6b0f add broadphase demo (empty skeleton) 2013-03-13 15:03:08 -07:00
Erwin Coumans
3ad76286e6 fix mac build 2013-03-13 14:02:49 -07:00
erwin coumans
d8a3732306 fix demo/gpudemo build 2013-03-13 13:22:56 -07:00
erwin coumans
6d56a69344 added gpudemo 2013-03-13 08:55:39 -07:00
erwin coumans
d1ff78bb5b add missing premake file 2013-03-13 00:25:08 -07:00
erwin coumans
a6a7a67b61 add another btgui test 2013-03-13 00:22:35 -07:00
erwin coumans
8a482e4575 add Windows Glew 2013-03-13 00:04:47 -07:00
erwin coumans
7c0824665c add Bullet 2.x files (renamed/split LinearMath into BulletCommon and BulletGeometry 2013-03-13 00:01:55 -07:00
erwin coumans
963142fe84 add bin2cpp.lua to convert ttf to cpp 2013-03-13 00:00:26 -07:00
erwin coumans
e4a7b6f487 reorganize files and add btgui 2013-03-12 23:52:31 -07:00
erwin coumans
9612c2cd3d add gpu_sat 2013-03-12 21:11:46 -07:00
erwin coumans
ecdb0e52ca add missing files
only report fail if there are actual failures
2013-03-12 14:51:43 -07:00
erwin coumans
477a7f9e39 add gpu_broadphase with basic test 2013-03-12 13:47:13 -07:00
erwin coumans
08272c7de5 import opencl_course source for a start 2013-03-11 22:03:27 +01:00
erwin.coumans
976cd0028a Add a missing header file btCollisionObjectWrapper.h
Thanks to  Alexander Meissner

Fixes Issue 684
2013-01-03 18:51:20 +00:00
erwin.coumans
74c028ebae remove some quicksort test that breaks the build under MSVC 2005 SP1
Fixes Issue 680 together with this commit:
https://code.google.com/p/bullet/source/detail?r=2632
2012-12-20 22:47:54 +00:00
erwin.coumans
02a22f6329 Avoid using SSE in API when BT_USE_SSE_IN_API is not defined
Fixes Issue 683.
2012-12-20 22:09:59 +00:00
erwin.coumans
0c555a5afe just use 16-byte aligned data for solverbody, not 64byte
fixes Issue 659
2012-12-17 21:29:20 +00:00
erwin.coumans
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)
2012-12-17 20:38:31 +00:00
erwin.coumans
c4548ec746 Add a helper method that creates a btCompoundShape from a btGimpactMeshShape, for more robust collision detection.
The idea is to create tetrahedra from each surface triangle, by moving its centroid inwards along the collision normal using depth.
If the centroid hits an internal triangle, it will stop there.

The commit also includes part of the gimpact raycast performance improvement, except for the actual btCollisionWorld part
(that file was out-of-date and needs manual patching)
2012-12-14 23:14:09 +00:00
erwin.coumans
27fd8ea0d7 make it more obvious that btBvhTriangleMeshShape cannot be used for moving objects. 2012-12-14 20:31:03 +00:00
erwin.coumans
1d4a5d950d Usually m_contactNormal2 == -m_contactNormal1, but not always, so
use a separate contactNormal1/contactNormal2 for each body in btSolverConstraint.

Thanks to Richard McDaniel for the patch.
2012-12-12 23:21:51 +00:00
erwin.coumans
fe92502332 fix build issue with GImpact, Issue 681
Thanks to Oskar Nordquist for the patch/report.
2012-12-12 20:33:51 +00:00
erwin.coumans
7c610ec045 use unsigned int indices in btGImpactMeshShape
See Issue 663
2012-12-07 19:20:06 +00:00
erwin.coumans
17ca9eb7e7 Fix compile error when defining DEBUG, include memset header
See Issue 678, thanks to Max for the report!
2012-12-07 18:21:14 +00:00
erwin.coumans
d54423f9c0 Fix compile error in Visual Studio 2005 build: only enable SSE/SIMD intrinsics for btVector3 for Visual Studio 2008 and higher 2012-12-07 18:16:04 +00:00