erwin.coumans
01b66a6799
fixes in serialization (don't serialize shapes multiple times), hull shape issue,
...
fix InternalEdgeDemo compilation using GLUT
2010-01-30 06:55:39 +00:00
rponom
d5f5ddf2f1
Bullet debug draw added
...
It is off by default, see attributes of dSolverNode to turn it on
2010-01-30 04:21:12 +00:00
erwin.coumans
37f6df2c32
added serialization support for gimpact mesh
...
improved cmake build system for updating the serialization structures
2010-01-29 02:50:34 +00:00
rponom
133bb63dd8
Dynamica export to Bullet .bullet file, and some fixes in Hull scaling (not using btCompoundShape::setLocalScaling but directly appying the scaling to the hull vertices, and caching the local scaling)
2010-01-29 00:03:45 +00:00
rponom
ee3e231be5
+ more consistent 'setLocalScaling' for the btCompoundShape. Full non-uniform scaling is not supported when child shapes have a rotation. If any child shapes have rotation, the best you can do is either uniform scaling, or 'baking' the non-uniform scaling into the child geometry (vertices of a convex hull for example)
...
+ fixed an issue with BulletWorldImporter, btBoxShape implicitShapeDimensions already includes local scaling.
2010-01-28 23:41:09 +00:00
erwin.coumans
ae0e78efd8
add support for serialization/writing DNA on big endian machines
...
fix for swapping endianness for nested array of structures
2010-01-28 10:56:38 +00:00
erwin.coumans
00f58e5a91
added basic serialization for several constraints including btPoint2PointConstraint, btHingeConstraint, btSliderConstraint, btConeTwistConstraint, btGeneric6DofConstraint
...
(no motor support or advanced settings yet)
added btStaticPlaneShape serialization
Added toggle in cmake for BenchmarksDemo to enable/disable graphics rendering
2010-01-27 02:13:56 +00:00
erwin.coumans
44565d20f4
added serialization support for btCompoundShape, btCapsuleShapeX/Z, btCylinderShapeX,Z
...
make some serialization methods const
prepare for constraint serialization
2010-01-26 02:24:03 +00:00
erwin.coumans
2f44eabd7d
fix, no argument to setZero
2010-01-25 23:41:22 +00:00
erwin.coumans
8bab40b49b
initialize inertia to zero
2010-01-25 23:39:55 +00:00
erwin.coumans
a7a6ab8835
Add BulletWorldImporter: it takes the in-memory data from BulletFileLoader and instantiates objects in a BulletDynamicsWorld.
...
Note that BulletFileLoader is has no dependencies on BulletDynamics/BulletCollision.
Also added a custom build step to copy asset (.bullet and .obj file) into the executable folder
Made a few 'char*' 'const char*' to avoid compiler warnings
2010-01-25 21:58:32 +00:00
erwin.coumans
e7ff71d99b
add support for double precision and 64bit serialization (and compatibility between all versions)
...
fix some issue in serialization of nested array data
add some tesing files
2010-01-25 19:42:51 +00:00
erwin.coumans
5d8e6dc3f3
improved btTriangleMeshShape/btBvhTriangleMeshShape serialization
2010-01-24 16:48:14 +00:00
erwin.coumans
9d7d1c3983
more work on serialization, initial for btTriangleMeshShape/btBvhTriangleMeshShape (only for floating point vertices, integer indices) work-in-progress
2010-01-23 20:59:41 +00:00
rponom
e459145b91
Crash bug when "mesh" applied twice fixed
...
Constraints reworked - all of them could now work with one or two bodies
Modification of constraint frames and initial positions of rigid bodies
now allowed at start frame only
Plugin version is set to 2.76
2010-01-23 03:15:43 +00:00
erwin.coumans
5378cf4c8a
more work on Bullet serialization (added support for btConvexHullSupport)
2010-01-23 00:58:47 +00:00
erwin.coumans
0f707603f1
more work on serialization, work-in-progress
2010-01-23 00:04:58 +00:00
erwin.coumans
76eccc39fc
more work on serialization (work-in-progress)
2010-01-22 03:36:58 +00:00
erwin.coumans
e899845fc1
fix type in CMake build files
2010-01-22 00:19:25 +00:00
erwin.coumans
26a056e629
More work on serialization and BulletFileLoader
2010-01-22 00:15:33 +00:00
erwin.coumans
901ff7a4f8
remove readblend, it will be replaced by Serialize
2010-01-20 22:50:37 +00:00
rponom
5dd43ab3a2
Various nail constraint improvements
...
TODO: errors while scene loading / saving
2009-12-25 00:22:20 +00:00
erwin.coumans
9fa2460933
Provide verbosity control in BulletColladaConverter, see Issue 228
...
Thanks SkewMatrix for the patch
Fix a crash in BulletColladaConverter, when bodies were created outside of the Collada converter,
Thanks Jan Ciger for the patch, see Issue 306
2009-12-21 22:55:32 +00:00
erwin.coumans
6536d8cc31
Added option to install 'Extra' libs, turned off by default (BulletMultiThreaded, OpenGL, COLLADA_DOM, libxml,BulletColladaConverter)
...
Thanks xenonofarcticus, for the patch: http://code.google.com/p/bullet/issues/detail?id=294
2009-12-13 20:30:29 +00:00
lawrence.bullet
59fa35fcd6
changed a couple maya typeIds to valid ids. fixed example scene files
2009-12-02 23:04:47 +00:00
erwin.coumans
eea73bc76a
more fixes to get cmake 2.8 to create Xcode projects
2009-11-17 03:09:14 +00:00
erwin.coumans
f3525c3a86
make the btAcosf/btAsinf fix multi-line to make it easier to put breakpoints.
...
fix a memory leak issue with ColladaConverter (keep track of the btTriangleMesh containers)
2009-10-09 23:53:18 +00:00
erwin.coumans
dd65ef3a8a
fix some compile errors in Extras/CDTestFramework (cross/dot are no longer global functions)
2009-09-11 22:15:55 +00:00
erwin.coumans
52971076f5
updated Mac OSX projectfile for Bullet/Extras/AllBulletDemosOSX
2009-09-07 00:53:20 +00:00
erwin.coumans
819622fbe8
delete obsolete SpuRaycast files, attempt to get demos to compile/run under 64bit glut.
2009-09-06 23:01:49 +00:00
erwin.coumans
3e2529fcb5
Minor constraint refactoring, to allow SPU-side processing for PLAYSTATION 3 (added non-virtual methods)
...
Also comment-out some code for __SPU__ to reduce code size
Added btContactConstraint (only used on PS3 SPU right now, better to use btPersistentManifold directly for contact constraints)
Improved readblend utility library (see also usage in http://gamekit.googlecode.com with Irrlicht)
Fix for btConvexConvexAlgorithm, potential division by zero
Thanks linzner http://code.google.com/p/bullet/issues/detail?id=260
2009-08-05 22:14:46 +00:00
erwin.coumans
82fff60324
updated MayaPlugin Makefile.mac for Mac OSX. Usage: make -f Makefile.mac install
2009-07-22 19:08:43 +00:00
erwin.coumans
c4ad354ac0
More GJK degeneracy fixes, thanks Jacob Langford for the feedback:
...
http://code.google.com/p/bullet/issues/detail?id=250
Added missing files for Maya Dynamica plugin
Thanks Herbert Law for the patch, and damrit and others for the report
http://code.google.com/p/bullet/issues/detail?id=231
Fix btQuaternion shortestArcQuat, thanks Stan Melax for original fix and shogun for reminder
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1989
Implemented btDiscreteDynamicsWorld::removeCollisionObject (and btSoftBodyDynamicsWorld) to avoid
crashes. Thanks Jacob Langford for bringing that up.
Minor sphere-debug drawing issue (spheres were drawn inside-out (wrong face winding)
2009-07-13 21:48:19 +00:00
erwin.coumans
47a4435a9a
Make is easier to compile Bullet/Extras/sph:
...
1) use $(CUDA_INC_PATH) for CUDA include path
2) avoid using cuda util, but use BT_GPU_SAFE_CALL and BT_GPU_CHECK_ERROR (defined in Bullet/Extras/CUDA/btCudaUtil.h)
3) remove pre-linked glee*.lib, but include glee.c directly
2009-06-10 22:44:27 +00:00
erwin.coumans
656d6b8336
Make is easier to compile Bullet/Extras/sph:
...
4) removed fluids_2008.sln, just use automatic converted upgrade using fluids_2005.sln solution
Use Bullet/Glut/GL folder, instead of Bullet/Extras/spu/common/GL folder)
2009-06-10 22:43:23 +00:00
erwin.coumans
badf723257
Replace all hardcoded 1e30(f) by BT_LARGE_FLOAT, defined in btScalar.h as 1e18(f) so that its square still fits in FLT_MAX
...
Thanks to Ole K. for reporting! http://code.google.com/p/bullet/issues/detail?id=206
2009-05-23 02:15:54 +00:00
rponom
bc1662abee
Gpu3D demo added
2009-05-22 02:41:22 +00:00
rponom
c680791ce9
3 new constraints added : btGeneric6DofSpringConstraint, btUniversalConstraint, btHinge2Constraint
...
Motors for btConeTwistConstraint added (for obsolete solver only)
appConstraintDemo changed to test new constraints
Several coding-style fixes
2009-05-21 22:10:13 +00:00
rponom
a95b2a33bd
Added a possibility to build appGpu2dDemo with CUDA solver.
...
It is disabled by default, see Demos/Gpu2dDemo/btGpuDemoDynamicsWorld.h for instructions how to enable it
Cleaned up Extras/CUDA folder and libbulletcuda project
2009-05-14 20:20:56 +00:00
erwin.coumans
e260bcd1b2
Added initial Smoothed Particle Hydrodynamics implementation (SPH), for CPU and CUDA.
...
This software is contributed under the ZLib license by Rama Hoetzlein, http://www.rchoetzlein.com
We plan to integrate the SPH into the core Bullet library, including interaction with rigid bodies and soft bodies.
2009-05-13 22:28:03 +00:00
erwin.coumans
22fe8935c3
updated test1.oec with a few static objects
...
fix Maya plugin hinge constraint support
update copyright year in BulletCollision/CollisionShapes.
2009-05-12 22:28:45 +00:00
erwin.coumans
d9c4529a26
+ bugfix in btAlignedObjectArray, not calling destructors on resize to smaller array.
...
Thanks Benoit for pointing this out, and bugfix: http://code.google.com/p/bullet/issues/detail?id=218
+ Added point to point, hinge, slider and generic 6dof constraints to Maya Dynamica plugin
Thanks to Herbert Law for the constribution: http://code.google.com/p/bullet/issues/detail?id=221
2009-05-06 19:55:05 +00:00
erwin.coumans
69b7f177db
Added basic example Bullet C-Sharp wrapping the Bullet C-API.
2009-03-10 00:12:24 +00:00
erwin.coumans
700db838b1
Add 1D and 2D support for Bullet: using rigidbody->angularFactor(const btVector3& factor) and body->setLinearFactor(const btVector3& linearFactor);
...
For example, to only allow linear motion in the X-Z plane, and only rotation around Y axis use:
body->setLinearFactor(btVector3(1,0,1));
body->setAngularFactor(btVector3(0,1,0));
Fix build issues with CodeBlocks, when generating projectfiles using CMake 2.6:
${OPENGL_glU_LIBRARY} should be ${OPENGL_glu_LIBRARY}
Fix build issue with CodeBlocks, comment out xmlfree in Extras/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp (will leak memory)
2009-03-08 04:14:17 +00:00
erwin.coumans
90f96aec27
Introduced btActionInterface. This makes it easier to extend user-defined actions, such as vehicles and characters.
...
btRaycastVehicle and btKinematicCharacterController are derived from btActionInterface now.
Some cosmetic cleanup: changed sourceforce/sf.net url to bulletphysics.com.
2009-03-03 16:18:23 +00:00
erwin.coumans
210fe36106
Add backface culling and option to keep unflipped hit normal in case a ray hits a back-facing triangle.
...
Usage: set RayResultCallback.m_flags to kF_FilterBackfaces, optionally combined with kF_KeepUnflippedNormal.
Thanks Andy O'Neil for the patch!
Remove the force_inline for some internal constraint solver methods, it makes re-use easier.
Workaround/avoid MSVC 2005 compiler error in LibXML/trionan.c
2009-02-28 01:25:23 +00:00
erwin.coumans
a216ce4bf6
apply patch for convex decomposition performance improvements, thanks to Tuan Kuranes:
...
http://code.google.com/p/bullet/issues/detail?id=199
Fix in soft body collision, adding collision margin twice (was visible when rigid body spheres rested on cloth)
2009-02-28 00:21:30 +00:00
erwin.coumans
0066e41a92
fix automake/make build for AllBulletDemos (ConstraintDemo was added), and remove unused folder from Jamfile
2009-02-20 17:40:23 +00:00
erwin.coumans
d9218378b0
updated XCode projectfile for AllBulletDemosOSX
2009-02-18 20:14:54 +00:00
erwin.coumans
17bf62c013
fix build on systems without CUDA,
...
apply opcode patch: http://code.google.com/p/bullet/issues/detail?id=175
2009-02-06 06:26:44 +00:00