Commit Graph

965 Commits

Author SHA1 Message Date
ejcoumans
3d3d24afa9 refit tree needs an aabbMin/aabbMax
improved unquantization for quantized trees
reverted heightfield quantize
2008-02-28 02:55:25 +00:00
johnmccutchan
94586390b6 IBM CELL SDK 3.0 fixes 2008-02-28 00:07:00 +00:00
johnmccutchan
6a59432ee8 Initial version of character controller and demo 2008-02-27 19:49:25 +00:00
ejcoumans
f51ac89dbe add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
in btTriangleMesh container and ColladaConverter.

btTriangleMesh now derives from btTriangleIndexVertexArray, so it can be used for meshes on SPU
2008-02-18 04:23:50 +00:00
ejcoumans
9aec3255ef add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
in btTriangleMesh container and ColladaConverter.

compile issue with PlatformDefinitions in GDC demo.
2008-02-18 01:37:30 +00:00
ejcoumans
a8951e27b3 improved COLLADA Physics export support, add render meshes, instance physics/visual scene 2008-02-17 00:06:30 +00:00
johnmccutchan
b0403a8ee4 Add notes about future optimization possibilities. 2008-02-14 22:15:25 +00:00
johnmccutchan
594963b25d Optimization work on SpuRaycastTask:
For ray vs. optimized bvh mesh traverse tree once for entire packet of rays
Avoid DMAing ray output data until we have a hit
2008-02-14 22:11:56 +00:00
ejcoumans
fe426229a7 Add 16bit indices support for Raycast + add alignment 2008-02-13 22:22:42 +00:00
johnmccutchan
abc0391742 Use btAlignedAlloc/btAlignedFree 2008-02-13 19:10:45 +00:00
ejcoumans
6a1d069eaf updated msvc projectfiles for new Extras/ConvexHull project 2008-02-13 08:54:31 +00:00
ejcoumans
fc333d2e18 updated Jam and CMake build files for new Extras/ConvexHull library 2008-02-13 08:15:58 +00:00
ejcoumans
eeb78b8d45 free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.
move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)

work-in-progress (update projectfiles etc)
2008-02-13 07:14:19 +00:00
johnmccutchan
98006e5607 Tweaks to SpuBatchRaycast code 2008-02-13 03:10:53 +00:00
johnmccutchan
65ce92885b Don't fallback to getAabbSlow in btCapsuleShape 2008-02-13 03:07:25 +00:00
ejcoumans
1d576dd0af added COLLADA domAsset (authoring tool/upaxis), added dummy time that complies with COLLADA (needs fixing), fixed include path again (relative to current folder) 2008-02-12 23:44:21 +00:00
ejcoumans
c1bceede01 existing projectfiles include Extras/BulletMultiThreaded, so we can't have
-#include "BulletMultiThreaded/PlatformDefinitions.h"
but
+#include "PlatformDefinitions.h"
2008-02-12 20:54:07 +00:00
johnmccutchan
2ca9503eb5 Fix include path 2008-02-12 02:36:35 +00:00
johnmccutchan
1ac223ca2a Properly set normalInWorldSpace and don't doubly rotate normal for convex vs. convex cast.
Fixes this issue: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1784
2008-02-11 19:16:04 +00:00
ejcoumans
fe4e81ebff - support both 32bit and 16bit indices in ColladaConverter
- added triangle part/index into btManifoldPoint
2008-02-09 03:34:53 +00:00
ejcoumans
6b3587a505 moved implementation from ColladaDemo into ColladaConverter, so that it can be used without change with any btDynamicsWorld. 2008-02-08 23:46:37 +00:00
ejcoumans
7ca3020133 removed some dependencies 2008-02-08 23:22:31 +00:00
johnmccutchan
c374217953 Use the rigid body angular factor in the parallel solver. 2008-02-08 20:02:26 +00:00
johnmccutchan
d70a25ff6d Apply lsgmasa's fix for convex cast against collision world. 2008-02-08 19:56:46 +00:00
ejcoumans
618263163c add support for X,Z axis aligned capsules 2008-02-08 01:11:05 +00:00
ejcoumans
71b58309cf add support for X,Z axis aligned capsules 2008-02-08 01:10:34 +00:00
ejcoumans
9eb0340dab fixed minor graphics issues, related to recent camera initialization changes 2008-02-07 08:49:29 +00:00
ejcoumans
ff3b7f0c0f set applied impulse to zero, when replacing an existing contact point 2008-02-07 08:18:26 +00:00
ejcoumans
661176bfed coding convention in Bullet is to keep return type on same line as method:
btClassName
{
  void myTest();
};

void myTest()
{

}

int getNumObjects()
{
}
2008-02-07 08:12:08 +00:00
ejcoumans
781440edc8 warning C4715: 'ColladaConverter::findGeometry' : not all control paths return a value
temp fix for snprintf, _snprintf under WIN32
2008-02-07 08:05:58 +00:00
ejcoumans
a4e63aed00 - DemoApplication, debug text rendering was broken, glLoadIdentity() missing
- copy user data over to child shape
- added applied impulse to btManifoldPoint
- add ContactProcessedCallback (needs test/demo)
- didn't copy over m_additionalDampingFactor into btRigidBody.
2008-02-07 08:00:16 +00:00
ejcoumans
f22d338959 added btCapsuleShapeX and btCapsuleShapeZ, for X and Z upaxis capsules. The default btCapsuleShape stays Y-axis, for backwards compatibility. 2008-02-07 00:34:06 +00:00
ejcoumans
d88ba6063e replaced malloc/free by btAlignedAlloc and btAlignedFree 2008-02-06 00:10:18 +00:00
johnmccutchan
8e31abc265 Lots of changes to ColladaConverter: btCollisionObject, btCollisionShape and btTypedConstraint
now hold pointers to dom elements in their btTypedUserInfo fields. This makes the ColladaConverter
less fragile.
2008-02-05 19:00:32 +00:00
johnmccutchan
31c1406fd4 Define spu_printf for Linux 2008-02-05 18:58:28 +00:00
johnmccutchan
ee5ff5feb6 Added ConvexDecompositionDemo to CMakeLists.txt 2008-02-05 18:57:49 +00:00
johnmccutchan
023f25c539 Add a btTypedUserInfo field to btTypedConstraint 2008-02-05 18:57:06 +00:00
johnmccutchan
cb79016591 Make btTypedUserInfo::~btTypedUserInfo() virtual 2008-02-05 18:56:30 +00:00
johnmccutchan
d368ef3d71 Remove name field and replace it with btTypedUserInfo field 2008-02-05 18:55:05 +00:00
johnmccutchan
7be6c98c60 Minor changes to btTypedUserInfo 2008-02-05 18:53:50 +00:00
ejcoumans
39bacd532e autogenerated msvc projectfiles 2008-02-05 06:53:49 +00:00
ejcoumans
31a88b386f error C2086: 'j' : redefinition 2008-02-05 06:35:25 +00:00
ejcoumans
37837f204a missing return in main.cpp
remove unwanted libxml files (testfiles containing 'main')
2008-02-05 06:14:51 +00:00
ejcoumans
39ecc2ab7e error C2374: 'i' : redefinition; multiple initialization
make MSVC 6.0 build again.
This code breaks:
for (int i=0;....
for (int i=0;....
use
int i;
for (i=0;...
for (i=0;...
instead ;-)
2008-02-05 05:55:25 +00:00
ejcoumans
dad6667756 Accidently moved gluLookAt in the GL_PROJECTION matrix, instead of GL_MODELVIEW matrix.
Thanks Wol for reporting the issue.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1878
2008-02-03 22:19:42 +00:00
johnmccutchan
bc3b099034 Added btTypedUserInfo.h. This will be used
to store extra information in the btCollisionShape
and btCollisionObject classes.
2008-02-01 20:19:25 +00:00
ejcoumans
984811f459 fixes to compile/share more code between SPU and PPU 2008-02-01 03:44:17 +00:00
ejcoumans
5399a9ae8c fixes to compile/share more code between SPU and PPU 2008-02-01 03:35:54 +00:00
ejcoumans
1cdd5bf67f add support for 16bit and 32bit indices in SPU/BulletMultiThreaded version of btBvhTriangleMeshShape 2008-02-01 02:13:24 +00:00
johnmccutchan
995b4d7b92 Added some TODO items to ColladaConverter.cpp 2008-01-30 01:59:52 +00:00