Commit Graph

368 Commits

Author SHA1 Message Date
Jacques Beuarain 24f4440d05 CMake lists initial submission. Documentationand further verification for different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on. 2006-11-17 02:27:12 +00:00
Nathan Letwory 232bfbbf8d * compiler command-line fix for scons/win32-mingw 2006-11-06 08:21:53 +00:00
Ben Batt 12a732fc20 Added a VGroup input to the Armature modifier. This allows the user to specify
a vertex group which will modulate the influence of all bones in the armature.

This commit also tidies up the height of the modifier panels; they should all
have the same size margin now.
2006-08-28 21:56:58 +00:00
Erwin Coumans 6ce5d97c56 upgraded Bullet rigidbody physics to latest version 1.9 2006-08-28 06:44:29 +00:00
Ben Batt 433f6c7043 Integration of the Google Summer of Code Modifier Stack Upgrade project. The
main features are:
* Modifiers can now be in any order in the modifier stack
* DerivedMesh now has a standard framework for custom element data to be passed
  through the stack with mesh data (being copied and interpolated as
  appropriate), so modifiers can access whatever data they need
* The modifier stack code has been refactored and a number of bugs have been
  removed
* The EdgeSplit modifier has been added:
  http://mediawiki.blender.org/index.php/BlenderDev/EdgeSplitModifier
* The DerivedMesh modifier has been added:
  http://mediawiki.blender.org/index.php/BlenderDev/DisplaceModifier
* The UVProject modifier has been added:
  http://mediawiki.blender.org/index.php/BlenderDev/UVProjectModifier

For more info, see:
http://mediawiki.blender.org/index.php/User:Artificer/ModifierStackUpgrade
(currently undergoing reorganisation)
2006-08-28 01:12:36 +00:00
Erwin Coumans fe43c5e6f0 use 'fixedtime/enable all frames' from the blend file 2006-07-19 06:39:11 +00:00
Erwin Coumans e61189b3c8 accidently replaced initGamePlayerPythonScripting with initGamePythonScripting, causing the gameplayer to crash on all platforms (lack of PyInitialize()... 2006-07-19 05:12:59 +00:00
Erwin Coumans 011749eb08 attempt to fix crashes (reported under Linux)related to OpenGL extension queries.
seems to be a known issue, combo of pthreads, dlopen and libGL cannot call dlclose !?!
Let's cross the fingers this works...
2006-07-06 21:21:16 +00:00
Erwin Coumans 6b90f20e87 some minor webplugin changes, new loading .blend, upgraded version to 2.42, enabled PhysicsConstraints module within sandbox. 2006-07-06 07:58:07 +00:00
Erwin Coumans 3b1a592fb7 debug lines / register the applied impulse for constraint (for breaking) 2006-07-03 05:58:23 +00:00
Stephen Swaney f747fa3a7f patch from Ralf Hölzemer (cheleb) for
#4499 Fix for build of blenderplayer on windows/mingw/scons

fixes some invalid cflags for gcc on windows/mingw/scons
-if sys.platform=='win32':
+if (sys.platform=='win32') & ( Environment().subst('$CC') != 'gcc'):
     cflags = ['/GR']

Patch looks ok but no mingw evironment here to test.
So mingw/sconsers to your testing stations.
We can always roll back!
2006-06-27 15:54:37 +00:00
Erwin Coumans 619d0dc9ca bug: normalized raycast 2006-06-23 14:10:12 +00:00
Erwin Coumans e5804da0ba bugfix:: added objects didn't have proper physics id (they used the physics id from the 'hidden layer' original. 2006-06-22 02:20:36 +00:00
Erwin Coumans 9dc91d2887 fixed restore/suspendDynamics bug 2006-06-22 02:09:48 +00:00
Erwin Coumans cd5a7fbe84 workaround for a irregularity/bug in physics system (happens very seldom, just 1 report so far, linear velocity/AABB becomes NaN) 2006-06-22 01:10:50 +00:00
Erwin Coumans 4201a0bfcf bugfix: removing constraints should activate rigidbodies. 2006-06-20 05:41:28 +00:00
Erwin Coumans ec8448b88d bugfix/workaround for problem with hard-coded collision margins being too large. 2006-06-18 22:10:00 +00:00
Erwin Coumans 9b79c57f38 fixed Bullet bug: constraints didn't merge simulation islands. 2006-06-17 13:55:59 +00:00
Erwin Coumans 3458ed4753 Bullet, bugfix: don't simulate when substeps are set to 0 2006-06-12 18:47:56 +00:00
Ken Hughes a57bb6bee1 Bugfix #4081: support for OpenBSD platform for scons. Big thanks to Nathan Houghton for this contribution. 2006-06-05 15:52:26 +00:00
Erwin Coumans ab71e2a9b5 -added basic support for GameActuator 'load game', relative paths were broken, just load file into memory and load blend from memory.
-near sensor support
- python binding for PhysicsConstraints.setNumTimeSubSteps (dividing the physics timestep to tradeoff quality for performance)
2006-05-22 21:03:43 +00:00
Erwin Coumans 6d3afda093 added fixed_framerate command line option 2006-05-19 22:55:12 +00:00
Erwin Coumans 337a84ee96 GamePython related: changed ordering of python destruction, and reverted some python changes (it caused problems) 2006-05-14 03:39:07 +00:00
Erwin Coumans 4a5826fa83 Patch from Charlie:
Cleared the python dictionary at the end of the game engine, should fix some issues,
also reverted the python controller changes, related to this

This should fix the following bugs:
[ #3789 ]
[ #3815 ]

possiblyy fixes:
[ #3834 ]
2006-05-13 23:31:36 +00:00
Erwin Coumans 50a1d9fc8b Text patch for game player, from Charlie: TFace from KX_PolygonMaterial, as opposed to KX_BlenderMaterial 2006-05-13 00:08:14 +00:00
Erwin Coumans 4b4029afaf patch from Charlie, bug fix (3795) , improves CubeMaps in game engine 2006-05-11 20:41:28 +00:00
Erwin Coumans ede20c166a - Charlie provided a work-around for some armature related crashes
- fixed some Bullet raycasting (hitfraction was not properly updated for static meshes)
- removed some cvs tags in Bullet's BMF _Font files (they keep on conflicting when duplicated in different repositories)
- set default linearsleepingtreshold explicitly
2006-05-11 17:58:23 +00:00
Erwin Coumans 93c47e1071 - Added support for kinematic objects (interaction between rigidbodies), deriving linear/angular velocity from previous transform/current transform and deltatime.
- Made another attempt to migrate from Sumo to Bullet: import of older files automatically switch to Bullet, but you can override it, and save the file in 2.42 version. then it stays Sumo physics.
2006-05-11 00:13:42 +00:00
Erwin Coumans 1567254b12 (experimental) logic timestep to 60hertz instead of 30 hertz. 2006-05-10 02:04:21 +00:00
Erwin Coumans 4c9f07e59f Disabled Sumo, and use Bullet physics instead.
Until too many people complain: People can use older versions of Blender / player if they really need Sumo.
Sumo is not supported by anyone, and Bullet needs more feedback.

Note: Sumo is not removed yet, because no discussion is started about this. It's currently just a simple switch that replaced Sumo by Bullet.
2006-05-10 00:30:35 +00:00
Erwin Coumans bcc6704299 fixed [ #3863 ] Baking game physics to IPOs misses the first few frames of motion
Also, the recording starts from the actual 'curframe' onwards, rather then from frame 1
2006-05-10 00:05:49 +00:00
Erwin Coumans 55ab57519d modified behaviour of PropertySensor and MessageSensor on popular request.
Logic systems should be improved, with consistent Level and Edge triggering usage in the logic bricks.
2006-05-09 23:43:14 +00:00
Erwin Coumans cc8f876950 applied Charlies patch (commenting out unused extensions that cause compile problems under Solaris and probably other platforms) 2006-05-09 18:23:45 +00:00
Erwin Coumans e19fcdc670 fixed Bullet raycasting filtering issue 2006-05-09 01:15:12 +00:00
Erwin Coumans be282bdf3f - Charlie fixed some bugs related to copying armature-constraint data (these are different from Bullet rigidbody constraints like the hinge, and point 2 point!)
- fixed a crashing bug related to objects without meshes (tried to get material info from it)
2006-04-28 17:35:03 +00:00
Erwin Coumans f51d1ef7d6 - fixed Bullet noResponse/ghost mode
- added ccd option (future use, very basic and inefficient)
- some internal Bullet refactoring/improvements
2006-04-28 00:08:18 +00:00
Erwin Coumans b18763a265 make Bullet default physics engine. However, it still loads some default .blend that set's sumo default. todo: find out about this.
commented out some code that makes Blender crashing, after leaving the game engine (armature deletes some pose, which deletes constraints, which are still in the dependency graph. Ask Charlie)
2006-04-27 04:37:20 +00:00
Erwin Coumans f9597df32d added Bullet rigidbodies that behave like Sumo 'dynamic', without rotations. Done using a special hinge constraint (no translational degrees of freedom removed) 2006-04-26 06:01:46 +00:00
Erwin Coumans 45d0123a59 fixed several internal Bullet rigidbody dynamics bugs:
- broadphase had bugs in removing objects,
- persistent manifold renamed value,
- cylinder penetration depth fixed,
- memory leak for persistent manifold
2006-04-26 03:20:28 +00:00
Erwin Coumans 8291024b99 fixes in raycasting 2006-04-24 04:58:37 +00:00
Erwin Coumans c781a840b2 fixed collision sensor for dynamically created objects using Bullet physics 2006-04-24 02:03:55 +00:00
Erwin Coumans d1c0a4e6d1 use ContinuousConvexCollision for raycaster, fixes raycast problems 2006-04-23 18:42:17 +00:00
Erwin Coumans 904a0792f7 Bullet physics: fixed some accuracy problem (square length should be compared to square epsilons), and more collision sensor work + deactivation issues 2006-04-17 06:27:57 +00:00
Erwin Coumans 971ee74c84 added support for 'Ghost' object and collision sensor (preliminary) 2006-04-17 01:33:10 +00:00
Erwin Coumans 187cc0a5fe enabled ipo in combination with physics (no friction effect from kinematic to dynamic transferred yet) 2006-04-14 04:03:56 +00:00
Erwin Coumans 5a26279d63 don't use hull testing code by default 2006-04-14 03:18:17 +00:00
Erwin Coumans 13e0d22d89 a lot of work in a few small changes to improve penetration depth. and some fixes in shaders from Charlie. 2006-04-13 05:11:34 +00:00
Erwin Coumans 8dbe14b70b applied Charlies patch, reverted some GLSL shader stuff, improved penetration depth estimate. 2006-04-11 05:57:30 +00:00
Erwin Coumans 84d27d74cb added hinge constraint support to Bullet physics 2006-04-06 20:37:38 +00:00
Erwin Coumans bb23675a9f fixed two issues that hinder linux build 2006-04-05 02:01:34 +00:00