blender/source
Benoit Bolsee 3abb8e8e68 BGE performance: second round of scenegraph improvement.
Use dynamic linked list to handle scenegraph rather than dumb scan
of the whole tree. The performance improvement depends on the fraction
of moving objects. If most objects are static, the speed up is 
considerable. The following table compares the time spent on 
scenegraph before and after this commit on a scene with 10000 objects
in various configuratons:

Scenegraph time (ms)              Before         After
(includes culling)

All objects static,               8.8            1.7  
all visible but small fraction          
in the view frustrum

All objects static,               7,5            0.01
all invisible.

All objects moving,               14.1           8.4
all visible but small fraction
in the view frustrum

This tables shows that static and invisible objects take no CPU at all
for scenegraph and culling. In the general case, this commit will 
speed up the scenegraph between 2x and 5x. Compared to 2.48a, it should
be between 4x and 10x faster. Further speed up is possible by making
the scenegraph cache-friendly.

Next round of performance improvement will be on the rasterizer: use
the same dynamic linked list technique for the mesh slots.
2009-05-03 22:29:00 +00:00
..
blender on second thought its less trouble to make a python script that makes all the getset's in the array, apologies to Alex for suggesting this be dynamic :/ 2009-05-03 19:47:13 +00:00
creator * fix linking problem for mingw with setenv/_putenv_s, here we use putenv("key=val"); 2009-04-29 20:09:08 +00:00
darwin Make: removing hidden directories from .app failed. 2009-04-23 09:59:19 +00:00
gameengine BGE performance: second round of scenegraph improvement. 2009-05-03 22:29:00 +00:00
icons
kernel Merge from trunk 2008-09-19 14:15:36 +00:00
CMakeLists.txt
Makefile Fix linking issue with gameplayer. 2009-05-01 15:19:47 +00:00
nan_compile.mk Added BF_PROFILE (same name as in scons files) option. 2009-03-23 19:52:49 +00:00
nan_definitions.mk This is patch [#18408] Build issues with make on Cygwin hosted MinGW (2.48.1) 2009-04-15 16:23:13 +00:00
nan_link.mk patch #8583: Add support for gcc on irix 2008-11-24 14:15:05 +00:00
nan_subdirs.mk
nan_warn.mk
SConscript * Minor cleanup of SCons files 2008-10-22 11:28:10 +00:00