Commit Graph

2818 Commits

Author SHA1 Message Date
erwin.coumans
a197c58935 Add #ifdef BT_NO_SIMD_OPERATOR_OVERLOADS before including Bullet headers, to avoid clashes with XNAMath.h
Fixes Issue 710
error C2084: function 'XMVECTOR operator +(FXMVECTOR,FXMVECTOR)' already has a body
error C2084: function 'XMVECTOR operator -(FXMVECTOR,FXMVECTOR)' already has a body
error C2084: function 'XMVECTOR operator *(FXMVECTOR,FXMVECTOR)' already has a body
2013-09-11 00:01:48 +00:00
erwin.coumans
bb379bd84c fix one of the btCompoundShape scaling issues, this fix breaks the API (need to add warning at the next release)
fixes https://code.google.com/p/bullet/issues/detail?id=374 and
https://code.google.com/p/bullet/issues/detail?id=444
2013-09-10 23:34:23 +00:00
erwin.coumans
7195b54d13 Fix Issue 712, related to NVIDIA CUDA check in CMakeLists.txt
Enable btGImpact raycast optimization, thanks to C0DEFACE, see Issue 664
Cull triangle/AABB for concave/heightfield shapes, thanks to Danny Chapman
fix btGetCpuCapabilities, thanks to Ian Ollman! See https://code.google.com/p/bullet/issues/detail?id=738
2013-09-10 23:09:24 +00:00
erwin.coumans
7633dc8b13 use __int64 for 64bit uint64_t for 64bit Visual Studio
See https://code.google.com/p/bullet/issues/detail?id=717
allow parallel constraint solver in double precision
See https://code.google.com/p/bullet/issues/detail?id=728
2013-09-10 21:26:19 +00:00
erwin.coumans
c160bfe74c applied Character controller patch #20 from Issue 198
See https://code.google.com/p/bullet/issues/detail?id=198
2013-09-10 20:40:42 +00:00
erwin.coumans
d50be40f8e Fix Issue 2644, compile error due to use of removed stack alloc 2013-09-10 20:15:52 +00:00
erwin.coumans
0779a274de fix Clang issue
https://code.google.com/p/bullet/issues/detail?id=736
2013-09-10 20:06:24 +00:00
erwin.coumans
771ae1ce41 fix usage of internal API for Apple iOS devices
Thanks to nharishankar for the report, see Issue 738
2013-09-10 19:59:33 +00:00
erwin.coumans
6b3828d74b removed the early out, it was not general 2013-09-10 19:52:58 +00:00
erwin.coumans@gmail.com
2bb26cbb7d Enable btHeightfieldShape in VehicleDemo, so it is tested (using heightfield128x128)
(converted raw data to .cpp so it doesn't need to be loaded from disk)
Some optimizations for btHeightfieldShape, thanks to Danny Chapman
 Quick check on AABB (was not done) and reduce calls to 'getVertex'
2013-09-10 00:57:00 +00:00
erwincoumans
e2accf82a0 update readme.txt with some basic Bullet 3.x information 2013-09-09 09:02:38 -07:00
erwincoumans
01d62b12bb adjust velocity after solving PBD springs/links 2013-09-06 23:18:14 -07:00
erwincoumans
40acf922e3 add Thomas Jacobsen / position based dynamics cloth constraint solver 2013-09-06 19:50:58 -07:00
erwincoumans
8faac34801 move ExplititEuler cloth solver to its own file, so it can be replaced by PDB, implicit euler etc
add wireframe toggle ('w' key)
add --paused command-line option to start simulation in paused mode
render cloth using drawPoints method
2013-09-06 18:09:35 -07:00
erwincoumans
d0faea90f9 Merge branch 'master' of https://github.com/erwincoumans/bullet3
Conflicts:
	btgui/OpenGLWindow/GLInstancingRenderer.cpp
2013-09-06 14:34:47 -07:00
erwincoumans
8bee4ed64d replace doc with SIGGRAPH version 2013-09-06 14:33:18 -07:00
erwincoumans
ef42c17143 add drawPoint/drawLine (both slow) and drawPoints (faster) to GLInstancingRenderer, with GLSL shaders 2013-09-06 12:05:56 -07:00
erwin coumans
b79146c7fa add simple place holder for cloth simulation 2013-09-03 15:09:12 -07:00
erwin.coumans
197e17780a replace 'float' by 'double' in btHingeConstraintDoubleData. See Issue 734 2013-09-03 16:46:18 +00:00
erwincoumans
b1bab032b1 add CpuSoftBodyDemo (empty placeholder) 2013-09-03 08:48:27 -07:00
erwincoumans
181a323631 move b3RaycastInfo.h so it can be used without OpenCL dependency
add b3Assert to make sure m_maxShapeCapacityInBytes is not exceeded in GLInstancingRenderer
prepare for CpuSoftClothDemo
2013-09-02 22:31:48 -07:00
erwincoumans
d0da37f3dd Merge pull request #14 from mgerhardy/master
* fixed small readme.txt error
2013-09-02 04:41:54 -07:00
Martin Gerhardy
a1890b7c51 * fixed small readme.txt error 2013-09-02 11:49:25 +02:00
erwincoumans
5a1d0d8170 more work towards shared CPU/OpenCL codebase 2013-08-30 21:38:04 -07:00
erwin coumans
a6d9cf382f more work towards cpu pipeline, sharing OpenCL kernel code 2013-08-30 16:30:22 -07:00
erwin.coumans@gmail.com
dfaed4b258 fix a line in unused testing code (USE_GJK should be defined) 2013-08-30 18:43:10 +00:00
erwincoumans
0ccb6922a8 more work towards CPU version 2013-08-30 08:06:46 -07:00
erwin coumans
f3c764102f add new files 2013-08-28 08:53:54 -07:00
erwin coumans
c901767b77 add RenderDemo to CpuDemo. 2013-08-28 08:51:20 -07:00
erwincoumans
412ddacee6 prepare towards CPU version of rigid body pipeline 2013-08-27 20:16:51 -07:00
erwincoumans
87639bca60 Update readme.txt
shorten command-line parameter explanation and remove non-functional parameters
2013-08-26 22:25:02 -07:00
erwincoumans
44f4f2c6dd Update readme.txt
Add some explanation of command-line parameters for App_Bullet3_OpenCL_Demos_* and a reference to http://www.multithreadingandvfx.org/course_notes
2013-08-26 22:20:48 -07:00
erwincoumans
c25b24267f Update readme.txt
add some explanation of command-line parameters for App_Bullet3_OpenCL_Demos_* and a reference to http://www.multithreadingandvfx.org/course_notes
2013-08-26 22:18:55 -07:00
erwincoumans
ad8d0e32f4 expose 2 new command-line options [--disable_cached_cl_kernels] [--load_cl_kernels_from_disk]
on Windows (_WIN32) debug output goes to BOTH console and Visual Studio output log window.
2013-08-26 21:58:55 -07:00
erwin.coumans@gmail.com
e045896e92 Releasing, add files that contain VERSION information for a release and remind to cr-create serialization data structure file 2013-08-26 19:06:16 +00:00
erwin.coumans@gmail.com
f23693147c Clarify Bullet 2.x release procedure 2013-08-26 19:02:17 +00:00
erwincoumans
d32629dbe2 add the option to load a set of AABB's from a file, see PairBench
You can use the following command-line arguments:
App_Bullet*.exe --selected_demo=10 --cl_platform=1 --pair_benchmark_file=64006GPUAABBs.txt --benchmark
2013-08-23 17:55:28 -07:00
erwin coumans
96994d3dd5 fix typo in b3Vector3 2013-08-22 23:25:00 -07:00
erwin coumans
f12fe0237b Merge branch 'master' of https://github.com/erwincoumans/bullet3 2013-08-22 23:16:02 -07:00
erwin coumans
2c019d579f reduce memory allocation, lack of GPU memory totally destroys performance on my GTX 650M on the Macbook retina
add some keys to toggle gui drawing and shadows
2013-08-22 23:15:37 -07:00
Erwin Coumans
74948ede54 fix Linux build 2013-08-22 17:49:59 -07:00
erwincoumans
7f29aebaa4 fix broken force feedback in constraint solver, thanks to John Hsu for the report 2013-08-21 23:00:17 +00:00
Erwin Coumans
d860e7f51a fix Mac OSX build (compound-compound still broken on OSX)
remove operator= from b3Vector3 to make it POD/Plane Old Data
2013-08-20 12:45:05 -07:00
erwincoumans
677722bba3 support compound versus compound collision shape acceleration on GPU, using aabb tree versus aabb tree.
Remove constructor from b3Vector3,  to make it a POD type, so it can go into a union (and more compatible with OpenCL float4)
Use b3MakeVector3 instead of constructor
Share some code between C++ and GPU in a shared file: see b3TransformAabb2 in src/Bullet3Collision/BroadPhaseCollision/shared/b3Aabb.h
Improve PairBench a bit, show timings and #overlapping pairs.
Increase shadowmap default size to 8192x8192 (hope the GPU supports it)
2013-08-20 03:19:59 -07:00
erwincoumans
41ba48b10d fix compound-compound tree/tree collision on the host side (still need to implement it for all cases, and on GPU/OpenCL) 2013-08-16 10:33:38 -07:00
erwin coumans
58eaa609e0 added b3Aabb.h header, can be shared between C++ and OpenCL 2013-08-16 09:13:14 -07:00
erwin coumans
ef224370ab implement compound versus compound BVH acceleration (quantized tree-versus-tree, using subtrees and quantization) on host 2013-08-16 08:58:52 -07:00
erwin coumans
b32ae0c75c move some files to shared folders
use b3Aabb for compound vs compound on host (for testing, towards BVH)
2013-08-14 17:48:12 -07:00
erwincoumans
678f634699 fix compound collision (host side) 2013-08-11 20:02:07 -07:00
erwincoumans
ac23dbc4be contact normal should point from B to A (to be consistent with Bullet 2.x)
stringify: pre-allocate bigger buffer (10MB, workaround)
2013-08-10 12:08:15 -07:00