Commit Graph

769 Commits

Author SHA1 Message Date
ejcoumans
114bfad68f made some improvements based on feedback.
- made getHeightFieldValue virtual (allows custom heightfield formats)
- don't use shorts, just full integers (no reason to limit the terrain size to 65536)
2007-06-28 20:40:54 +00:00
ejcoumans
e34083551c make sure 'addConstraint' has the optional argument too 2007-06-28 19:20:17 +00:00
ejcoumans
ced94d63bf Thanks to Mårten Svanfeldt for the contribution:
- optionally disable collisions between bodies that are linked with constraints
- improved debug rendering with support for compounds, spheres, capsules
2007-06-28 19:14:30 +00:00
ejcoumans
a0c5401033 bugfix, wrongly assigned value to a local variable (copy/paste bug).
Thanks binofet, see http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=366
2007-06-28 00:05:14 +00:00
ejcoumans
cad28a8b35 allow for float data, and prepare for 'quad edge flip', either re-use the first triangle vertex, or second (re-use index 00 or 01) 2007-06-27 19:56:18 +00:00
ejcoumans
9099d6bed5 updated vehicle demo to load heightfield data from file 2007-06-27 19:12:09 +00:00
ejcoumans
fa2ff30db4 replace __PPU__ by __CELLOS_LV2__, to avoid conflict with IBM Cell SDK (ppu-g++) 2007-06-27 06:55:41 +00:00
ejcoumans
0ef218424c enable general drawing of concave meshes for heightfields/planes, not just trianglemeshes 2007-06-27 03:27:13 +00:00
ejcoumans
5473adb27d basic sample heightfield (128x128, unsigned char) 2007-06-27 03:22:29 +00:00
ejcoumans
59cb275c9c basic support for height fields. They are producing temporary triangles, similar to the plane shape.
VehicleDemo demonstrates heightfield support.
2007-06-27 03:21:00 +00:00
ejcoumans
3ca6d7385e basic support for height fields. They are producing temporary triangles, similar to the plane shape. 2007-06-27 03:19:34 +00:00
ejcoumans
bba61c834c applied some reported bugfixes, angular limit issue, limit scaled from -2.0 -> -1.0 2007-06-23 00:54:08 +00:00
ejcoumans
394e927576 upgraded projectfiles for GIMPACT 0.2 2007-06-22 18:42:57 +00:00
ejcoumans
40a6009342 need to register 'triangle sphere' collision algorithm with types in right order.
Thanks Stephen Marshall for pointing this out.
2007-06-22 17:40:57 +00:00
ejcoumans
980f03dc3d upgrade to GIMPACT 0.2 2007-06-22 17:32:28 +00:00
ejcoumans
55258a8a72 gimpact 0.2 prep 2007-06-22 16:59:13 +00:00
ejcoumans
a399784077 gimpact 0.2 preparation 2007-06-22 16:58:26 +00:00
ejcoumans
ca24744b9d removed obsolete variables/code 2007-06-19 23:57:25 +00:00
ejcoumans
c095927afb don't check twice, thanks Marten Svanfeldt
>>2. reserve(int) method check capacity() < _Count twice.
2007-06-19 23:45:10 +00:00
ejcoumans
769809e3a7 disabled memcpy by default, it seems to be opening a can of worms, some platforms/compilers have it defined in <memory.h>, others in <string.h> etc
also for placement new, include <new> rather then <memory.h>
Thanks Marten Svanfeldt for the help
2007-06-19 23:41:01 +00:00
ejcoumans
8006800b33 updated changelog 2007-06-16 04:56:19 +00:00
ejcoumans
41f7da2b3b disabled BulletMultiThreaded project in Jamfile 2007-06-16 04:54:50 +00:00
ejcoumans
48fbe0d6ad removed some obsolete include files 2007-06-16 02:46:49 +00:00
ejcoumans
272a7dfac4 More work on multi-threaded version, fixed alignment issues in DMA.
BulletMultiThreaded shared implementation works now on both Win32 Threads and PS3 Cell SPU.
2007-06-16 02:06:24 +00:00
ejcoumans
ca1c42f07f use <memory> for replacement new 2007-06-16 00:24:28 +00:00
ejcoumans
65d10d7b12 Fixes in aligned object array, to call copy constructor, and not the assignment operator, operator=
Also allows to use the array for classes with virtual methods.
2007-06-15 23:49:52 +00:00
ejcoumans
ea4dfc15d5 updated multi threading shared code on multiple platforms. 2007-06-15 02:06:56 +00:00
ejcoumans
718b73371f removed 'processAllTrianglesBruteForce'
autogenerated new visual studio projectfiles
2007-06-14 13:06:05 +00:00
ejcoumans
a57d5e1106 update visual studio project generation for double precision 2007-06-14 12:55:27 +00:00
ejcoumans
fc6cf5dbef DMA / memcpy the actual size, rather then over-estimated (can cause crashes)
added alternative to memcpy, for debugging
2007-06-14 00:21:15 +00:00
ejcoumans
f4d31a2dd8 unknown issue with dma size, need to investigate deeper (had to increase target buffer size to avoid crashes) 2007-06-13 23:18:04 +00:00
ejcoumans
0fb0b6056c bug in dma size calculation 2007-06-13 23:05:37 +00:00
ejcoumans
effb5a8b62 added brute-force triangle iteration method, to allow graphics to skip aabb traversal (useful for debugging) 2007-06-13 22:35:14 +00:00
ejcoumans
05cbd96972 updated multithreaded version for concave trimeshes 2007-06-13 22:25:37 +00:00
ejcoumans
68b4f60033 fixed to potential issues, reported by marshall. Thanks! 2007-06-13 20:05:02 +00:00
ejcoumans
4f9d719493 add snippets for convex/concave multithreaded 2007-06-13 06:44:47 +00:00
ejcoumans
2b39be94a3 enable convex polyhedra (btConvexHullShape) for multi-threaded version 2007-06-13 06:01:56 +00:00
ejcoumans
50f957eff1 removed bookmark 2007-06-13 05:31:12 +00:00
ejcoumans
06e71f8fbf put proper ZLib license on top of the files 2007-06-13 05:21:34 +00:00
ejcoumans
a608d1ad47 Added sample code to enable parallel (multi threaded) dispatcher (disabled by default, see #define USE_PARALLEL_DISPATCHER) 2007-06-13 05:12:01 +00:00
ejcoumans
d2aa366226 added Bullet multi threaded projectfiles 2007-06-13 05:04:13 +00:00
ejcoumans
ee8322ae6b 2007-06-13 05:00:42 +00:00
ejcoumans
705e6df404 updated version 2007-06-13 04:41:24 +00:00
ejcoumans
32d551944b added files to Bullet multi-threaded 2007-06-13 03:58:37 +00:00
ejcoumans
53836286b7 added jamfile for multi-threaded project 2007-06-13 01:27:44 +00:00
ejcoumans
a424207b73 removed obsolete files 2007-06-13 01:05:45 +00:00
ejcoumans
6f26aa1591 Added multi-threaded collision detection. Original code is written for Cell SPU, but wrappers are provided to run on multi-core using Win32 Threads.
SpuLibspe2Support is on the todo list, so it can run on Cell Blade & PS3 Linux.
2007-06-13 01:04:43 +00:00
ejcoumans
a0c6adf5d6 removed XNA physics sample code 2007-06-12 01:40:33 +00:00
ejcoumans
b098652911 offset the raytrace texture to make it visible on some systems 2007-06-01 20:28:23 +00:00
ejcoumans
b958c1fbcb 2007-06-01 02:09:39 +00:00