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
2011-06-27Minor warning cleanup & fixCampbell Barton
- comment/remove assignments from values to themselves. - add case break statements (no functional change but some source code checkers notice). - fix python errors when the sculpt brush is None.
2011-03-29fixes in Bullet stuff, roll influence for raycast vehicles was broken,Erwin Coumans
enable the setPhysicsTicRate for BGE Python
2011-03-12update Bullet physics sdk to latest trunk/version 2.78Erwin Coumans
add PhysicsConstraints.exportBulletFile(char* fileName) python command I'll be checking the bf-committers mailing list, in case this commit broke stuff scons needs to be updated, I'll do that in a second.
2011-02-22doxygen: bge scenegraph and videotextureNathan Letwory
2011-02-22doxygen: BGE Network, Physics, RasterizerNathan Letwory
2010-06-06- WITH_CXX_GUARDEDALLOC working againCampbell Barton
- CMake building without python or fluidsim working again (broke in recent commit) - remove BLI_short_filename(), it wasnt used anywhere.
2009-11-16BGE: dynamic loading patch commited. API and demo files available here: ↵Benoit Bolsee
https://projects.blender.org/tracker/?func=detail&aid=19492&group_id=9&atid=127
2009-08-18BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to ↵Campbell Barton
MEM_mallocN for better tracking memory usage. * off by default. * new/delete are at the bottom of each class * python BGE objects have the new/delete in the Py_Header macro.
2009-06-092.50:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD Notes: * Game and sequencer RNA, and sequencer header are now out of date a bit after changes in trunk. * I didn't know how to port these bugfixes, most likely they are not needed anymore. * Fix "duplicate strip" always increase the user count for ipo. * IPO pinning on sequencer strips was lost during Undo.
2009-04-202.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r19323:HEAD Notes: * blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-04-14BGE: Occlusion culling and other performance improvements.Benoit Bolsee
Added occlusion culling capability in the BGE. More info: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.49/Game_Engine#BGE_Scenegraph_improvement MSVC, scons, cmake, Makefile updated. Other minor performance improvements: - The rasterizer was computing the openGL model matrix of the objects too many times - DBVT view frustrum culling was not properly culling behind the near plane: Large objects behind the camera were sent to the GPU - Remove all references to mesh split/join feature as it is not yet functional
2009-04-08BGE Scenegraph and View frustrum culling improvement.Benoit Bolsee
This commit contains a number of performance improvements for the BGE in the Scenegraph (parent relation between objects in the scene) and view frustrum culling. The scenegraph improvement consists in avoiding position update if the object has not moved since last update and the removal of redundant updates and synchronization with the physics engine. The view frustrum culling improvement consists in using the DBVT broadphase facility of Bullet to build a tree of graphical objects in the scene. The elements of the tree are Aabb boxes (Aligned Axis Bounding Boxes) enclosing the objects. This provides good precision in closed and opened scenes. This new culling system is enabled by default but just in case, it can be disabled with a button in the World settings. There is no do_version in this commit but it will be added before the 2.49 release. For now you must manually enable the DBVT culling option in World settings when you open an old file. The above improvements speed up scenegraph and culling up to 5x. However, this performance improvement is only visible when you have hundreds or thousands of objects. The main interest of the DBVT tree is to allow easy occlusion culling and automatic LOD system. This will be the object of further improvements.
2009-03-09Fix: The debug lines of Physics Debug Visualization were drawn incorrectly ↵Erwin Coumans
when using overlay scenes (it was using the wrong camera)
2009-01-14BGE patch: dynamically update the coumpound parent shape when parenting to a ↵Benoit Bolsee
compound object. This patch modifies the way the setParent actuator and KX_GameObject::setParent() function works when parenting to a compound object: the collision shape of the object being parented is dynamically added to the coumpound shape. Similarly, unparenting an object from a compound object will cause the child collision shape to be dynamically removed from the parent shape provided that is was previously added with setParent. Note: * This also works if the object is parented to a child of a compound object: the collision shape is added to the compound shape of the top parent. * The collision shape is added with the transformation (position, scale and orientation) it had at the time of the parenting. * The child shape is rigidly attached to the compound shape, the transformation is not affected by any further change in position/scale/orientation of the child object. * While the child shape is added to the compound shape, the child object is removed from the dynamic world to avoid superposition of shapes (one for the object itself and one for the compound child shape). This means that collision sensors on the child object are disabled while the child object is parent to a compound object. * There is no difference when setParent is used on a non-compound object: the child object is automatically changed to a static ghost object to avoid bad interaction with the parent shape; collision sensors on the child object continue to be active while the object is parented. * The child shape dynamically added to a compound shape modifies the inertia of the compound object but not the mass. It participates to collision detection as any other "static" child shape.
2008-10-10Fix bug in rigid body constraint buttons drawing, and while we are at it, ↵Erwin Coumans
add 'Collision' button to disable collisions between bodies, linked between constraint.
2008-09-29Add Fh/Rot Fh to Bullet.Erwin Coumans
2008-09-24Created a KX_SoftBodyDeformer for real-time soft bodies.Erwin Coumans
Added SetDeformer/GetDeformer() to KX_GameObject. Store mapping between graphics/soft body vertices (work-in-progress) Real-time soft body integration is still very premature, but for a quick preview, see this testfile: http://bulletphysics.com/ftp/pub/test/index.php?dir=blender/&file=soft_test.blend
2008-09-21BGE real-time soft bodies, step 2 / 3: create a btSoftBody. Next step is ↵Erwin Coumans
hooking up / deform graphics mesh and choose collision shape. Note: feature is still disabled.
2008-09-17Preparation for real-time soft bodies for the game engine, step 1 out of 3. ↵Erwin Coumans
This should be harmless/non-intrusive. Please make sure each build system include extern/bullet2/src/BulletSoftBody/* and extern/bullet2/src/LinearMath/btConvexHull.*
2008-09-03Finally upgraded to latest Bullet subversion, about to release 2.71. Some ↵Erwin Coumans
recent changes in extern/bullet2 need to be re-applied, will check with Benoit. Ray tests in 0_FPS_Template.blend is broken, didn't figure out why yet. HELP BUILD SYSTEM MAINTAINERS: Please help with updating all build systems: the newly added files need to be added. Note that the src/SoftBody has been added for future extension of real-time soft bodies.
2008-08-27BGE patch: KX_GameObject::rayCast() improvements to have X-Ray option, ↵Benoit Bolsee
return true face normal and hit polygon information. rayCast(to,from,dist,prop,face,xray,poly): The face paremeter determines the orientation of the normal: 0 or omitted => hit normal is always oriented towards the ray origin (as if you casted the ray from outside) 1 => hit normal is the real face normal (only for mesh object, otherwise face has no effect) The ray has X-Ray capability if xray parameter is 1, otherwise the first object hit (other than self object) stops the ray. The prop and xray parameters interact as follow: prop off, xray off: return closest hit or no hit if there is no object on the full extend of the ray. prop off, xray on : idem. prop on, xray off: return closest hit if it matches prop, no hit otherwise. prop on, xray on : return closest hit matching prop or no hit if there is no object matching prop on the full extend of the ray. if poly is 0 or omitted, returns a 3-tuple with object reference, hit point and hit normal or (None,None,None) if no hit. if poly is 1, returns a 4-tuple with in addition a KX_PolyProxy as 4th element. The KX_PolyProxy object holds information on the polygon hit by the ray: the index of the vertex forming the poylgon, material, etc. Attributes (read-only): matname: The name of polygon material, empty if no material. material: The material of the polygon texture: The texture name of the polygon. matid: The material index of the polygon, use this to retrieve vertex proxy from mesh proxy v1: vertex index of the first vertex of the polygon, use this to retrieve vertex proxy from mesh proxy v2: vertex index of the second vertex of the polygon, use this to retrieve vertex proxy from mesh proxy v3: vertex index of the third vertex of the polygon, use this to retrieve vertex proxy from mesh proxy v4: vertex index of the fourth vertex of the polygon, 0 if polygon has only 3 vertex use this to retrieve vertex proxy from mesh proxy visible: visible state of the polygon: 1=visible, 0=invisible collide: collide state of the polygon: 1=receives collision, 0=collision free. Methods: getMaterialName(): Returns the polygon material name with MA prefix getMaterial(): Returns the polygon material getTextureName(): Returns the polygon texture name getMaterialIndex(): Returns the material bucket index of the polygon. getNumVertex(): Returns the number of vertex of the polygon. isVisible(): Returns whether the polygon is visible or not isCollider(): Returns whether the polygon is receives collision or not getVertexIndex(vertex): Returns the mesh vertex index of a polygon vertex getMesh(): Returns a mesh proxy New methods of KX_MeshProxy have been implemented to retrieve KX_PolyProxy objects: getNumPolygons(): Returns the number of polygon in the mesh. getPolygon(index): Gets the specified polygon from the mesh. More details in PyDoc.
2008-08-05BGE fix bug #17430: BGE Collide/Touch Sensor interfearing with other ↵Benoit Bolsee
unrelated sensor states. The bug was introduced in the recent logic optimization patch. It only affects collision and touch sensors. The bug is fixed by keeping track of registration count.
2008-07-30BGE patch: logic optimization part 2: remove inactive sensors from logic ↵Benoit Bolsee
manager. With this patch, only sensors that are connected to active states are actually registered in the logic manager. Inactive sensors won't take any CPU, especially the Radar and Near sensors that use a physical object for the detection: these objects are removed from the physics engine. To take advantage of this optimization patch, you need to define very light idle state when the objects are inactive: make them transparent, suspend the physics, keep few sensors active (e,g a message sensor to wake up), etc.
2008-07-20BGE bug fix (for 2.47): setParent() fix, third part: set mass to 0 when ↵Benoit Bolsee
parenting. Allow loc/scale/orientation change on child object with physic controller.
2008-07-19BGE bug fix (good for 2.47): remove static-static collision messages on the ↵Benoit Bolsee
console since previous SetParent fix. The physical object is set to static+ghost while the object is parented. This behavior will be made optional in a future release. The DisableDynamics actuator will also make the object static except that the ghost/non-ghost flag is preserved.
2008-03-02* to be able to properly compile this, the friend needs 'class' too: friend ↵Nathan Letwory
class CcdOverlapFilterCallBack
2008-03-01Radar/Near sensor performance problem fixedBenoit Bolsee
2006-12-16contribution from RCRuiz:Erwin Coumans
drawing of rigidbody constraint pivots, and allow passing of full constraint frame.
2006-12-02- added support for generic 6DOF constraintErwin Coumans
- only 6DOF constraint shows buttons for limits - added python support for rigidbody constraint (untested, but required for COLLADA Physics support)
2006-11-21more Bullet 2.x upgrading. fair amount of functionality is now restored, not ↵Erwin Coumans
all yet.
2006-11-21Removed old Blender/extern/bullet, and upgraded game engine to use Bullet 2.xErwin Coumans
All platforms/build systems: either upgrade to use extern/bullet2, or disable the game engine until the build is fixed.
2006-08-28upgraded Bullet rigidbody physics to latest version 1.9Erwin Coumans
2006-07-03debug lines / register the applied impulse for constraint (for breaking)Erwin Coumans
2006-05-23-added basic support for GameActuator 'load game', relative paths were ↵Erwin Coumans
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-04-28- fixed Bullet noResponse/ghost modeErwin Coumans
- added ccd option (future use, very basic and inefficient) - some internal Bullet refactoring/improvements
2006-04-17added support for 'Ghost' object and collision sensor (preliminary)Erwin Coumans
2006-04-13a lot of work in a few small changes to improve penetration depth. and some ↵Erwin Coumans
fixes in shaders from Charlie.
2006-04-07added hinge constraint support to Bullet physicsErwin Coumans
2006-02-21enabled vehicle/updated scons file (Makefile/projectfiles needs updating)Erwin Coumans
2006-02-21Reorganized Bullet physics files, added preliminary vehicle simulation files ↵Erwin Coumans
(disabled). Requires some changes to projectfiles/makefiles/scons, for the added and removed files!
2006-02-13more vehicle preparation and some bullet collision detection bugfixes ↵Erwin Coumans
(related to collision margin)
2006-01-30prepared physics/game engine infrastructure for vehicle support.Erwin Coumans
fixed a python related bug with physics contraints fixed some line-ending problem with blenderbuttons.c makefile/scons/projectfiles need to add source/gameengine/Ketsji/KX_VehicleWrapper.cpp
2006-01-15more graphics patches from Snailrose,Erwin Coumans
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-01Some rigidbody dynamics fixes (scaling again) to make Happy 2006 domino ↵Erwin Coumans
simulation to work. See http://www.continuousphysics.com/ftp/pub/test/index.php?dir=blender/&file=happy_2006_blend.zip For the baked dominos. Thanks to Tom M (LetterRip) for the blend.
2005-11-28applied the 64-bit pointer patch submitted by Ken HughesErwin Coumans
2005-08-04improved deactivation, exposed more tweakable parameters to python,Erwin Coumans
fixed some copy/paste bug in inertia/inverse inertia. colors in deactivation debug
2005-08-03moved some hardcoded constants into tweaking tresholdsErwin Coumans
exposed those tresholds to python (more 'expert' settings)
2005-07-29added physics-debuggingErwin Coumans
didn't check every single file, so might have broken some gameengine stuff, will fix it this weekend!
2005-07-16added Bullet physics binding filesErwin Coumans