blender/source/gameengine/Converter
Benoit Bolsee b20f6e27ff Commit patch #8724:
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-23 23:12:40 +00:00
..
BL_ActionActuator.cpp was missing header 2007-07-19 14:28:57 +00:00
BL_ActionActuator.h Big patches: 2005-03-25 10:33:39 +00:00
BL_ArmatureObject.cpp Applied patch [#5795] Parent to bone - Supplied by Monster. 2007-05-31 20:40:59 +00:00
BL_ArmatureObject.h - Charlie provided a work-around for some armature related crashes 2006-05-11 17:58:23 +00:00
BL_BlenderDataConversion.cpp Commit patch #8724: 2008-03-23 23:12:40 +00:00
BL_BlenderDataConversion.h Reordered some of the includes to fix STL issues. 2005-03-22 13:34:31 +00:00
BL_DeformableGameObject.cpp [GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics. 2004-03-22 22:02:18 +00:00
BL_DeformableGameObject.h Patch: [ #2439 ] Makes objects react properly to deformations after a mesh replacement call. 2005-04-18 11:44:21 +00:00
BL_MeshDeformer.cpp Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan. 2006-01-06 03:46:54 +00:00
BL_MeshDeformer.h Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan. 2006-01-06 03:46:54 +00:00
BL_SkinDeformer.cpp Fix for multimodifier commit breaking game engine compile. 2007-11-17 21:12:25 +00:00
BL_SkinDeformer.h Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan. 2006-01-06 03:46:54 +00:00
BL_SkinMeshObject.cpp Fix for bug #945 getVertexArrayLength(x) returns different values on different runs of the game engine. 2004-05-04 09:34:02 +00:00
BL_SkinMeshObject.h 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
BlenderWorldInfo.cpp Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan. 2006-01-06 03:46:54 +00:00
BlenderWorldInfo.h Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan. 2006-01-06 03:46:54 +00:00
CMakeLists.txt updated CMake files for game engine for Bullet 2.x upgrade 2006-11-21 06:37:01 +00:00
KX_BlenderScalarInterpolator.cpp Last of the config.h mods... 2002-11-25 15:29:57 +00:00
KX_BlenderScalarInterpolator.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
KX_BlenderSceneConverter.cpp BGE memleak fixed: mesh/material not deleted when switching scene 2008-03-09 21:42:03 +00:00
KX_BlenderSceneConverter.h BGE memleak fixed: mesh/material not deleted when switching scene 2008-03-09 21:42:03 +00:00
KX_ConvertActuators.cpp Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
KX_ConvertActuators.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
KX_ConvertControllers.cpp Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
KX_ConvertControllers.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
KX_ConvertProperties.cpp Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
KX_ConvertProperties.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
KX_ConvertSensors.cpp Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
KX_ConvertSensors.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
KX_IpoConvert.cpp Delta Loc/Rot/Scale Ipo curve are now supporting in the BGE with the following limitations: 2008-03-12 21:33:24 +00:00
KX_IpoConvert.h Sorry to break the cvs-closed status, so if you really need to make a new 2.40 build, just disable the game engine if it doesn't compile for a platform. Again, sorry if this breaks non-windows platforms, but I hope people help to get this amazing fix working for all platforms. Armature-fixing contribution from Snailrose. Also lots of cool things from Snailrose and Lagan. 2006-01-06 03:46:54 +00:00
Makefile Makefile support for bullet2 ... please test 2006-11-22 19:05:35 +00:00
SConscript This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00