Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-16BGE: Fix restitution: object will now bounce according to material ↵Benoit Bolsee
restitution setting
2008-04-16This patch spawns from this game engine issue:Kent Mein
[#7113] GE crash pressing as soon as P on 64 bit Note: glext.h has been removed from the source If you get errors compiling with it you have 2 options download/install glext.h (preferred method) or set WITH_BF_GLEXT=false If your a user and having problems with game engine try setting the env var: WITHOUT_GLEXT 1 Kent
2008-04-16replace magic numbers with constants for (G.vd->persp), view naming was also ↵Campbell Barton
using persp as a flag which worked but isnt correct.
2008-04-15BGE fix: keep reference count consist on source object when replicating ↵Benoit Bolsee
property copy actuator
2008-04-15fix BGE bug #8309: After Parent Object added to the visual layer, Child ↵Benoit Bolsee
Camera won't follow. This bug fix is made of two parts: 1) It's now possible to dynamically add a camera. 2) Empty camera name on a SetCamera actuator now points to the actuator's parent object if this object is a camera. This trick is useful to make current a dynamically created camera: just add a SetCamera actuator on the camera itself and leave the name empty. Later, when the camera is added in the scene with an AddObject actuator, either directly or via a parent object, you just need to activate the actuator to make the newly created camera current. If you set a name on a SetCamera actuator, it will always point to the original camera, even after replication.
2008-04-13fix BGE bug #8880: blenderplayer closing when esc is pressed Benoit Bolsee
ESC now quits the game by default in all modes unless a keyboard sensor is set on ESC. In this case, the game designer must arrange for an alternative way to quit the game.
2008-04-12fix BGE patch #7892: dRot motion is reversed on non-dynamic objectsBenoit Bolsee
Positive dRot motion actuator will now make the dynamic and non-dynamic objects rotate counter-clock wise.
2008-04-11fix BGE bug #8813: new rayCastTo() function hits near sensor collision boxBenoit Bolsee
2008-04-07add KX_GameObject::rayCastTo() PyDocBenoit Bolsee
2008-04-06Removed my own patch #8208: export SCA_ISensor::Evaluate() to Python. It was ↵Benoit Bolsee
only useful for the ray sensor and the new rayCastTo() function provides better functionality
2008-04-06Commit patch #8799: Realtime SetParent function in the BGEBenoit Bolsee
This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc. The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time. The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.
2008-04-06Patch #8740: enable negative axis radar sensorBenoit Bolsee
2008-04-05Commit patch #2439: Mesh replacement in BGE will react properly to armature ↵Benoit Bolsee
deform Changing the mesh of an object that has a deform controller (armature) is now properly handled. The new mesh must have vertex groups matching the armature bones. In simple terms, the new mesh must deform correctly when you assign it to the object in Blender and you test the action. It will deform the same when you replace the object mesh during the game.
2008-04-05BGE bug [#4839] fixed: joystick keeps working after an overlay scene is removedBenoit Bolsee
2008-04-02This commit reverts the #include <mesa/glu.h>Kent Mein
stuff used for peach to the standard <GL/glu.h> the mesa stuff was needed for the machines for peach but its not the stanard location of the headers, now that its not needed were switching it back. Kent
2008-04-02Fix BGE bug: BGE will crash if objects with display debug property is ↵Benoit Bolsee
deleted (bad practice anyway). The actual deletion is now postponed until end of scene
2008-03-30== bugfix ==Andrea Weikert
fix for [#6950] Blender crashes when .blog file top line is 160 characters or more - made sure BLI_convertstringcode doesn't return more than 240 chars - went through all callers and fixed places where string passed to BLI_convertstringcode was too short - TODO: look into increasing sample->name and sound->name too, I prevented crashes, but filename might get shortened.
2008-03-24Commit patch #8724:Benoit Bolsee
This patch modifies the BL_ConvertMesh method from the data conversion module in order to reduce the number of polygon material objects that are created. Normally, there should be only one material object for each material bucket(the group of meshes that are rendered together with a single material). However, the number of materials that are created right now in the converter is much higher and eats a lot of memory in scenes with large polygon counts. This patch deletes those material objects(KX_BlenderMaterial) that are used only temporarily in the converter(and are now deleted only when the converter is destroyed, at the end of the game). For a cube that's subdivided 7 times(90+ k polygons) I get 200 MB usage in the game engine in 2.45 and 44 MB with a svn build with this patch applied if the "Use Blender Materials" option is activated in the Game menu.
2008-03-22BGE correction: AddRef() on source object of property actuator to protect ↵Benoit Bolsee
against crash if the source object is deleted (bad game design anyway)
2008-03-22Correction on BGE fixes:Benoit Bolsee
- check that an object has been created before setting the physics environment - check that there is an active camera before using it - when a camera is deleted, remove it from m_cameras list
2008-03-15BGE fix: ghost objects created with AddObject actuator will retain their ↵Benoit Bolsee
ghost property
2008-03-15New rayCastTo() python method for KX_GameObject: Benoit Bolsee
rayCastTo(other,dist,prop) Look towards another point/KX_GameObject and return first object hit within dist with a property that match prop, None if no object found or if it does not match prop. Parameters: other = 3-tuple (xyz coordinates) or object reference (target=center of object) (type = list [x,y,z] or object reference) dist = max distance of detection (can be negative => look behind) If 0 or omitted => detect up to other (type=float) prop = property name that object must have If empty or omitted => detect any object (type=string)
2008-03-13Delta Loc/Rot/Scale Ipo curve are now supporting in the BGE with the ↵Benoit Bolsee
following limitations: 1. All Ipo channels are now independent. In Blender 2.45, all 3 Loc Ipo channels were automatically set together. For example, having just a LocX Ipo channel was sufficient to fix the X, Y and Z coordinates, with the Y and Z value taken from the object original Y and Z location in Blender. The same was true for the 3 Rot and the 3 Scale Ipo channels: the missing channels were assumed to have constant value taken from the object original orientation/scale in Blender. With this patch, all Ipo channels are now independent. THIS WILL CREATE BACKWARD COMPATIBILITY PROBLEM if you omit to define the 3 channels of a same type together in your Blend file: the undefined Loc, Rot, Scale coordinates of the object will be influenced by the parent/spawner Loc/Rot/Scale in case the object is a child or dynamically created. 2. Delta Loc, Rot, Scale are now supported with the following limitations: - The delta Loc/Rot Ipo modify the object global (NOT local) location/orientation - The delta Scale change the object local scale - The delta Ipo curves are relative to the object starting Loc/Rot/Scale when the Ipo was first activated; after that, the delta Ipo becomes global. This means that the object will return to this initial Loc/Rot/Scale when you later restart the Ipo curve, even if you had changed the object Loc/Rot/Scale in the meantime. Of course this applies only to the specific Loc/Rot/Scale coordinate that are defined in the Ipo channels as the channels are now independent. 3. When the objects are converted from Blender to the BGE, the delta Loc/Rot/Scale that might result from initial non-zero values in delta Ipo Curves will be ignored. However, as soon as the delta Ipo curve is activated, the non-zero values will be taken into account and the object will jump to the same Loc/Rot/Scale situation as in Blender. Note that delta Ipo curves with initial non-zero values is bad practice; logically, a delta Ipo curver should always start from 0. 4. If you define both a global and delta channel of the same type (LocX and DLocX), the result will be a global channel equivalent to the sum of the two channels (LocX+DLocX).
2008-03-11BGE crash when using angV & linV actuator on static objectsBenoit Bolsee
The error was causing by the KINEMATIC flag not set automatically when the linear or angular velocity was set on static objects. Note that these actuators still won't work on static objects: the crash is fixed but not the actuator; linV and angV only work on dynamic objects. Fixing the linV and angV actuators on static object requires a bit more reflexion. For the time being, use dRot and dLoc on static objects. Cleaned the code a bit: added systematic check on the physic controller presence before taking action.
2008-03-10BGE memleak fix: OpenGL Display Lists not deleted when switching sceneBenoit Bolsee
This fix also improves performance of Display List for replica objects: Display List ID caching is now enabled for replica objects which avoids a tree search on each frame and for each replica.
2008-03-10BGE fix: game object to controller links consistancy maintained regardless ↵Benoit Bolsee
of order of deletion AddObject actuator forces last created object to hang in memory even after object is removed from scene => bad link between object and physic controller that causes Blender to crash in case a python script tries to use it (bad programming anyway). This patch avoids the crash by maintaining consistent links at all time.
2008-03-10BGE memleak fixed: mesh/material not deleted when switching sceneBenoit Bolsee
2008-03-10BGE memleak fixed: game actuator does not release file bufferBenoit Bolsee
2008-03-02* to be able to properly compile this, the friend needs 'class' too: friend ↵Nathan Letwory
class CcdOverlapFilterCallBack
2008-03-01Various mem leaks related to CValue reference count fixedBenoit Bolsee
2008-03-01Mem leak fixed in sound buffer & parent invert nodeBenoit Bolsee
2008-03-01Radar/Near sensor performance problem fixedBenoit Bolsee
2008-03-01unknown property fixed in sensor/actuatorsBenoit Bolsee
2008-03-01random sensor fixed (patch 8414)Benoit Bolsee
2008-02-23=== PyNodes ===Nathan Letwory
* Make PyNodes work with threaded renderer. This patch is by Willian. He has worked hard on getting this sorted out - now you should be able to render with PyNodes AND multiple threads.
2008-02-16patch 8235 8218 8211 added: various gameengine improvements, fixed windows ↵Benoit Bolsee
project files
2008-02-13Added a global string to be used for the tempdir. since the user preference ↵Campbell Barton
is not loaded in background mode and the user preference is not validated and has no fallback. 'btempdir' is set with BLI_where_is_temp() - This tries to use U.tempdir but falls back to $TEMP or /tmp/
2008-02-10* remove constness.Nathan Letwory
2008-02-10* make some explicit casts to make some compilers happyNathan Letwory
2008-02-06Reverting some other changes zaghaghi madeJoshua Leung
2008-02-05This is patch [#8232] Memory leak in KX_Scene destructor fixedKent Mein
Submitted By: Benoit Bolsee (ben2610) Fixes a loop so that it removes objects properly from the scene. Kent
2008-02-05This is patch: [#8216] Make blender compile with gcc 4.3Kent Mein
minus one small include file that was commented out, I'm not sure why it was commented out but I'm pretty sure its needed. If there are still problems later we can sort it out, everything else is pretty simple. Kent
2008-02-04Added missing include dir so it builds again.Kent Mein
Kent
2008-02-04bugfix 8183, Ray sensor with material/property filter always triggers when ↵Hamed Zaghaghi
hitting object without the required characteristic fixed by Benoit Blosee(ben2610), and some minor changes for 2d-filters.
2008-02-04merging game_engine branch changes into trunk, 2d-filters and opengl speedupHamed Zaghaghi
2007-12-05This is a modified version of this patch:Kent Mein
[#7660] Solaris 10 x86 support (Makefiles) Hopefully it will not mess up anything for anyone else. I removed some hardcoded static libs and made NAN_*_LIB definitions so they could be overridden, to allow greater flexability. Let me know if there are any problems/questions. Kent
2007-11-28Blender interface code in Game Engine, who would that have thought!Ton Roosendaal
(this fixes compile error in GE)
2007-11-18Fix for multimodifier commit breaking game engine compile.Brecht Van Lommel
2007-11-06Patch [#7743] Enable display lists when vertex arrays are enabled, by Ovidiu ↵Hamed Zaghaghi
Sabou. this patch enable GE two use both vertex array and display lists. and speed up the engine a little, by the way thanks ovidiu.
2007-11-062d Filters updated, now you can use custom filter and write your own GLSL ↵Hamed Zaghaghi
shader program to filter rendering result.