Benoit Bolsee
2740bbc89c
Update MSVC project files to support ffmpeg. Make sure you do svn update in lib/windows to link with latest ffmpeg libraries
2008-04-27 15:02:37 +00:00
Chris Want
5d0a207ecb
Patch from GSR that a) fixes a whole bunch of GPL/BL license
...
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Campbell Barton
afdd54fa37
moved source and text to american spelling
...
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
2007-04-04 13:18:41 +00:00
Erwin Coumans
6f3e593105
more graphics patches from Snailrose,
...
remove constraint fixed,
Bullet timestep now subdivides Blender game engine timestep, so it runs 60 hertz,
SphereShape reverted to old style, so no support for non-uniform scaled spheres for now,
2006-01-15 11:34:55 +00:00
Erwin Coumans
c99c7fbcb3
some more fixes in the raycast/mouse over
2005-08-17 19:52:56 +00:00
Chris Want
6275dd5b14
Clean up for Makefiles: some of the directories were being printed
...
wrong (e.g., "/Fuzzics" and "/Joystick", and some of the solid stuff).
This was particularly noticable during "make clean".
2005-04-09 22:40:34 +00:00
Kester Maddock
c844aa265a
Big patches:
...
Erwin Coumans: Abstract the physics engine
Charlie C: Joystick fixes
Me: Moved the ray cast (shadows, mouse sensor & ray sensor)
2005-03-25 10:33:39 +00:00
Kent Mein
48bc598658
More warning cleanups...
...
added a casts to:
blender/blenlib/intern/BLI_memarena.c
gameengine/Rasterizer/RAS_TexVert.cpp
Removed unused vars from:
blender/python/api2_2x/vector.c
gameengine/Ketsji/KX_PyMath.cpp gameengine/Ketsji/KX_Scene.cpp
gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp
gameengine/Rasterizer/RAS_FramingManager.cpp
gameengine/Rasterizer/RAS_Polygon.cpp
gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp
Kent
2005-01-03 18:05:24 +00:00
Kester Maddock
5590c179f5
Fix the case when the physics system starves the logic & renderer of CPU time. If this happens, we reduce physics precision to maintain some framerate.
2004-12-06 11:15:50 +00:00
Kester Maddock
e54f51c462
Fix numerical precision issue in physics. Dividing by a number too close to zero would make the impulse response normal large hence the jittering.
2004-12-06 11:10:41 +00:00
Kester Maddock
ae8102c8d6
Update the physics engine: interpolate between frames so track to/camera actuators work properly. (bug #1816 )
2004-12-04 09:51:04 +00:00
Kester Maddock
46fbe6b01e
Fix for bugs: 1788 (forces) and 1799 (python delattr on game objects)
...
Use Polytope collision for faster mesh intersection tests, so SOLID can actually use that qhull lib now.
2004-11-22 10:19:19 +00:00
Kester Maddock
38b993f787
Speed up the physics engine: hook the SOLID broad phase, so we can either reject the test or request the penetration depth test as necessary. Previously we were doing the penetration depth test, as well as SOLID's intersection test.
2004-11-06 04:58:10 +00:00
Kester Maddock
e398ad2c0e
Do a complete physics timestep each step instead of some per frame
2004-10-24 23:48:04 +00:00
Kester Maddock
7b2567924b
Switch fixed time system. Logic updates should now happen at 30Hz, physics at 60Hz. (By default, use Python to set.) Some actuators still run at framerate (IPO, Action) for nice smooth animation, and an excuse to buy high end hardware.
...
Keyboard sensors can now hook escape key. Ctrl-Break can be used from within blender if you've forgotten an end game actuator.
Fixed a stupid bug preventing some actuators working (like TrackTo).
2004-10-16 11:41:50 +00:00
Kester Maddock
0f447ac5a8
Fix for MSVC .NET, which can't handle static const declarations in classes.
...
Make it static, and define in SM_Object.cpp
2004-05-17 08:31:35 +00:00
Kester Maddock
bab6e5ce36
Cleanup unused/commented out code, compiler warnings, coding standards etc.
2004-05-16 13:10:10 +00:00
Kester Maddock
81679446ba
Make game users happier.
...
Don't apply friction to external velocities. The means motion actuators that set linV will work, without having to be repeatedly triggered.
2004-05-13 13:07:38 +00:00
Kester Maddock
bd50d2f9cd
Delete all SOLID shapes at the end of the game engine. They were all being leaked!
2004-05-08 00:25:20 +00:00
Kester Maddock
63048b6cf4
Synchronise game engine with Tuhopuu2 tree.
2004-04-24 06:40:15 +00:00
Kester Maddock
4e2f7baff2
Improved rigid body handling for non spherical bounds type.
...
Polyheder dynamic objects are now converted properly.
2004-04-16 06:26:33 +00:00
Kester Maddock
a96869198b
Rigid body physics for non spherical bounding objects.
...
If your simulation becomes unstable, crank up the 'Form' control.
Removed Solid from class SumoPhysicsEnvironment (since it wasn't actually used.)
2004-04-14 05:57:24 +00:00
Kester Maddock
ae9233a5b0
1. Check material names passed to the physics engine (for collision sensors.)
...
Consider:
gameobj->getClientInfo()->m_auxilary_info = (matname ? (void*)(matname+2) : NULL);
It works if matname is "MAblah", but not if matname is "".
2. Added constructor for struct RAS_CameraData.
3. Added initializers to the struct KX_ClientObjectInfo constructor
4. Collision sensors won't detect near sensors.
5. A stack of minor tweaks, adjusting whitespace, using ++it for stl stuff.
2004-04-11 02:50:02 +00:00
Kester Maddock
5398f1ba77
Added resolveCombinedVelocities()
...
Fixed drot actuator. The rotation matrix was being mutilated by passing a float[9] instead of float[12].
2004-04-08 11:34:50 +00:00
Kester Maddock
51830fa0e2
Speed up the physics engine by cutting down on the number of fix pass iterations.
2004-04-02 12:35:48 +00:00
Nathan Letwory
00291b5cf4
[GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics.
...
[SCons] Build with Solid as default when enabling the gameengine in the build process
[SCons] Build solid and qhull from the extern directory and link statically against them
That was about it.
There are a few things that needs double checking:
* Makefiles
* Projectfiles
* All the other systems than Linux and Windows on which the build (with scons) has been successfully tested.
2004-03-22 22:02:18 +00:00
Kent Mein
f1c4f705a1
Removed the config.h thing from the .h's in the source dir.
...
So we should be all set now :)
Kent
--
mein@cs.umn.edu
2002-12-27 13:11:01 +00:00
Kent Mein
209a2ede2c
Last of the config.h mods...
...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
added to these files.
Kent
--
mein@cs.umn.edu
2002-11-25 15:29:57 +00:00
Kent Mein
b9a19f1ea7
Did all of the .h's in source
...
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac
Kent
--
mein@cs.umn.edu
2002-11-25 11:16:17 +00:00
Kent Mein
98e307346c
Fixed a typo. Had a [ added.
...
Kent
--
mein@cs.umn.edu
2002-11-19 00:09:54 +00:00
Kent Mein
01bff70383
fixed spacing in the headers to get rid of some warnings and some other
...
little minor spacing issues.
2002-10-30 02:07:20 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00