blender/source/gameengine
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
..
BlenderRoutines BGE memleak fixed: game actuator does not release file buffer 2008-03-09 21:37:01 +00:00
Converter Commit patch #8724: 2008-03-23 23:12:40 +00:00
Expressions Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
GameLogic Commit patch #8724: 2008-03-23 23:12:40 +00:00
GamePlayer Added a global string to be used for the tempdir. since the user preference is not loaded in background mode and the user preference is not validated and has no fallback. 2008-02-13 13:55:22 +00:00
Ketsji Commit patch #8724: 2008-03-23 23:12:40 +00:00
Network 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
Physics BGE crash when using angV & linV actuator on static objects 2008-03-10 21:30:35 +00:00
PyDoc Added the docs & use Python booleans for physics reinstance. 2005-04-23 12:25:21 +00:00
Rasterizer Commit patch #8724: 2008-03-23 23:12:40 +00:00
SceneGraph Mem leak fixed in sound buffer & parent invert node 2008-03-01 19:29:01 +00:00
CMakeLists.txt 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
Makefile This commit does a couple of things to the Makefiles. 2007-03-27 15:42:27 +00:00
SConscript == SCons == 2006-02-04 14:15:10 +00:00