Charlie Carley
557360224f
Klockwork ( http://www.klocwork.com ) report; game engine fixes, related to 'Use Blender Materials'
...
/source/gameengine/Ketsji/BL_Material.cpp;16;18;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;293;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;314;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;341;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1264;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1194;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;916;30;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;257;24;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;262;24;Critical;1;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.cpp;195;24;Error;3;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp;1209;16;Critical;1;
2007-01-21 04:45:44 +00:00
Erwin Coumans
3917b1af5f
bugfix for an incompatibility with ipo actuator in play mode, thanks Malachy for the fix.
2007-01-21 00:56:10 +00:00
Erwin Coumans
00e956477e
fix crash in constraint conversion, fix reference frame transformations for generic 6dof constraint
2007-01-19 03:14:51 +00:00
Charlie Carley
cc041b114b
Add a break, to get the bumpmap demo running again!
2007-01-13 09:00:17 +00:00
Charlie Carley
c4202fbd43
First commit! Small bug fix for cube map crashing in the player.
...
Cube maps don't display correctly in the player at the moment too.. something to do with regenerating/loading the images
2007-01-13 08:30:08 +00:00
Erwin Coumans
983fc9ab89
Bugfix from Malachy, for some IPO logic brick changes.
2007-01-10 01:16:49 +00:00
Tom Musgrove
4a1a766a16
= game engine fixes=
...
two fixes to the GE by Charlie
2007-01-08 04:22:23 +00:00
Erwin Coumans
f4ee0f4b4c
fixes in rigidbody constraints rigidbody -> IPO baking:
...
copy system with rigidbody constraint will link new constraints to new objects (instead of old)
fps from blender will be used when baking (left shift/ctrl/alt + P)
2007-01-07 04:54:29 +00:00
Erwin Coumans
4a70681ce2
patch by Charlie, related to recent changes of multi-uv/lightmap generation. This fix makes it possible to use lightmaps in the game engine.
2007-01-07 04:39:39 +00:00
Erwin Coumans
cf4d627897
2 bugfixes by Malachy, related to message sensor / ipo actuator firing wrongly
2007-01-07 04:35:33 +00:00
Erwin Coumans
ea71aeb254
fix, static objects were not dynamically added at the right position.
2007-01-05 02:31:34 +00:00
Erwin Coumans
76b6a6611c
normalize hitnormal
2006-12-26 23:03:36 +00:00
Erwin Coumans
14d60ca000
-fixes in player: draw physics debugging, only render frames when actually updated, fix with hierarchies not properly build (causing crashes)
2006-12-26 22:02:31 +00:00
Erwin Coumans
5aabafeb99
prevent crashes: some python scripts keep 'global variable' access to destroyed game objects.
2006-12-25 04:11:39 +00:00
Erwin Coumans
e820cdf6a0
fixing some issues: force needs to wake up objects, property sensor issue, island activation issue
2006-12-25 02:02:13 +00:00
Brecht Van Lommel
18e81ecafa
Bugfix: UV texture layer without vertex color layer did not display correct
...
in the game engine.
2006-12-22 08:23:25 +00:00
Ton Roosendaal
496410a255
GamePlayer: now uses new Image API calls too, so it compiles.
2006-12-20 19:29:37 +00:00
Ton Roosendaal
5ffa4dd55a
Warning fixes for previous Image commit, also fixed verse_image.c
2006-12-20 18:29:23 +00:00
Erwin Coumans
1852d1a410
Enable 'show physics visualization' in the Game Menu. Should help to locate problems with collision detection/physics (also useful when baking, and/or using the new rigidbody constraints).
2006-12-20 06:43:43 +00:00
Erwin Coumans
0e6518731f
Use degrees instead of radians for rigidbody constraint axis (euler angles). Radians can't specifiy 90-degree angles precisely, the input is only 3 decimals accurate...
2006-12-18 07:51:12 +00:00
Erwin Coumans
d8aaf73038
prevent crash in case no polygons have collisions assigned
2006-12-17 05:54:45 +00:00
Erwin Coumans
92379ec21f
contribution from RCRuiz:
...
drawing of rigidbody constraint pivots, and allow passing of full constraint frame.
2006-12-16 05:50:38 +00:00
Erwin Coumans
87e67afd9b
some fixes in a recent contribution, added return values and check for valid pointer, to avoid crashes.
2006-12-12 13:24:45 +00:00
Erwin Coumans
f22ee3f86f
added some 'angularFactor' for character control (to avoid rotation)
2006-12-04 04:31:34 +00:00
Erwin Coumans
2ec5d00da9
fixed some motionstate synchronization issues
...
nearsensor was not synchronized at the start
wheels not synchronized properly (one frame delay)
2006-12-04 04:13:42 +00:00
Jean-Luc Peurière
d7aaa84dd9
Fix for getting gcc compile GE with Py 2.5
...
PYobject type has changed
Usual C++ pickyness about implicit casts
debug made with erwin. thanks
Note to python mainteners :
even if it compiles there is a *Huge* list of warnings about deprecated
and incompatible pointers in api2.2. this should be corrected
2006-12-03 20:27:59 +00:00
Erwin Coumans
869a9e4881
more work on Bullet 2.x
2006-12-03 01:16:17 +00:00
Erwin Coumans
1f4ac018ff
different Bullet/graphics synchronization
2006-12-03 00:36:51 +00:00
Erwin Coumans
76616f2a3b
gameengine: reverted some timing experiment
2006-12-02 23:27:23 +00:00
Erwin Coumans
438d114f1a
- GEadded VSYNC for Mac OS X swapbuffers (can be easily undone by commenting out the #define WAIT_FOR_VSYNC 1
...
- GEdon't crash when attempting to add constraint on game objects without physics controller
- GEimproved some physics -> graphics synchronization issues
- small experiment with game engine timing to smooth framerate/reduce tearing
2006-12-02 22:25:47 +00:00
Erwin Coumans
28bbf2d616
- added support for generic 6DOF constraint
...
- only 6DOF constraint shows buttons for limits
- added python support for rigidbody constraint (untested, but required for COLLADA Physics support)
2006-12-02 03:48:36 +00:00
Erwin Coumans
610026765b
some Bullet compound shape fix
2006-12-01 03:29:20 +00:00
Erwin Coumans
4941107f92
- enabled compound collision objects, requires 'clear parent inverse'
...
- fixed some issues with kinematic objects, introduced during Bullet 2.x upgrade
2006-12-01 01:04:27 +00:00
Erwin Coumans
74915ee439
removed (int) cast, should fix 64bit issue in recent commit
2006-11-30 19:01:17 +00:00
Erwin Coumans
2572b9f72c
Reserved some Bullet 2.x constraint data.
...
Although we will delay the main Rigid Body user interface after 2.43 release early 2007, I need some constraint data/UI to make progress with COLLADA Physics.
Added RigidBody constraint UI
LR_ALTKEY+LR_CTRLKEY+LR_SHIFTKEY+ P will bake rigidbody
Contribution by RCRuiz, Ramon Carlos.
2006-11-30 00:19:27 +00:00
Erwin Coumans
a1481bc7e5
fix some loose ends in Bullet 2.x upgrade
2006-11-29 07:23:01 +00:00
Erwin Coumans
e91d6895bd
updated to latest Bullet Physics
2006-11-29 05:25:37 +00:00
Ton Roosendaal
627261da50
Patch by Vladimír Marek (neuron), part of bugfix #5298
...
Solaris CC compiler choked on wrong .h prototypes for functions using
'const' arguments.
2006-11-25 16:35:56 +00:00
Erwin Coumans
c7c49fa9a3
make compiler happy
2006-11-23 05:42:27 +00:00
Erwin Coumans
b03aa93b76
pass right friction/restitution/damping values to btRigidBody
2006-11-23 03:26:59 +00:00
Chris Want
341f50c4f7
Makefile support for bullet2 ... please test
2006-11-22 19:05:35 +00:00
Erwin Coumans
8ad6d7f401
more Bullet 2.x upgrading. fair amount of functionality is now restored, not all yet.
2006-11-21 12:26:05 +00:00
Erwin Coumans
1b09386164
updated CMake files for game engine for Bullet 2.x upgrade
2006-11-21 06:37:01 +00:00
Erwin Coumans
46234f90ce
Removed old Blender/extern/bullet, and upgraded game engine to use Bullet 2.x
...
All platforms/build systems: either upgrade to use extern/bullet2, or disable the game engine until the build is fixed.
2006-11-21 00:53:40 +00:00
Brecht Van Lommel
e435fbc3c5
Added custom vertex/edge/face data for meshes:
...
All data layers, including MVert/MEdge/MFace, are now managed as custom
data layers. The pointers like Mesh.mvert, Mesh.dvert or Mesh.mcol are
still used of course, but allocating, copying or freeing these arrays
should be done through the CustomData API.
Work in progress documentation on this is here:
http://mediawiki.blender.org/index.php/BlenderDev/BlenderArchitecture/CustomData
Replaced TFace by MTFace:
This is the same struct, except that it does not contain color, that now
always stays separated in MCol. This was not a good design decision to
begin with, and it is needed for adding multiple color layers later. Note
that this does mean older Blender versions will not be able to read UV
coordinates from the next release, due to an SDNA limitation.
Removed DispListMesh:
This now fully replaced by DerivedMesh. To provide access to arrays of
vertices, edges and faces, like DispListMesh does. The semantics of the
DerivedMesh.getVertArray() and similar functions were changed to return
a pointer to an array if one exists, or otherwise allocate a temporary
one. On releasing the DerivedMesh, this temporary array will be removed
automatically.
Removed ssDM and meshDM DerivedMesh backends:
The ssDM backend was for DispListMesh, so that became obsolete automatically.
The meshDM backend was replaced by the custom data backend, that now figures
out which layers need to be modified, and only duplicates those.
This changes code in many places, and overall removes 2514 lines of code.
So, there's a good chance this might break some stuff, although I've been
testing it for a few days now. The good news is, adding multiple color and
uv layers should now become easy.
2006-11-20 04:28:02 +00:00
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