blender/source/gameengine/SceneGraph
Benoit Bolsee 51b4145841 BGE Scenegraph and View frustrum culling improvement.
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-04-07 22:14:06 +00:00
..
CMakeLists.txt Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
Makefile Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SConscript SCons: 2009-02-15 23:26:00 +00:00
SG_BBox.cpp BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_BBox.h BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_Controller.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SG_Controller.h BGE logic patch: new "Add" mode for Ipo actuator, several corrections in state system. 2008-07-08 12:18:43 +00:00
SG_IObject.cpp BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_IObject.h BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_Node.cpp BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_Node.h BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_ParentRelation.h BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_Spatial.cpp BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_Spatial.h BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
SG_Tree.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SG_Tree.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00