BGE performance: allow to create display list on meshes with modifiers but without...
authorBenoit Bolsee <benoit.bolsee@online.be>
Tue, 12 May 2009 19:48:18 +0000 (19:48 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Tue, 12 May 2009 19:48:18 +0000 (19:48 +0000)
commit5a0de728b0a6a4b916f88554322cc56884f17ad8
tree1ddaa69c4035f060a71cd0487fd121763bf2a75d
parent705764fe050fd15703fe2ab410516ff3ccc3f421
BGE performance: allow to create display list on meshes with modifiers but without armature and shape keys. These modified meshes are static and can be put safely in a display list. As the rendering of modifiers is done in direct openGL call, it results is a bit performance boost.
source/gameengine/Converter/BL_MeshDeformer.h
source/gameengine/Converter/BL_ShapeDeformer.cpp
source/gameengine/Converter/BL_SkinDeformer.cpp
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Rasterizer/RAS_Deformer.h
source/gameengine/Rasterizer/RAS_MaterialBucket.cpp