blender/source/gameengine
Benoit Bolsee d95a109990 BGE modifier: generate correct physic shape, share static derived mesh, share display list.
This commit completes the support for modifiers in the BGE.
- The physic shape is generated according to the derived mesh. 
  This is true for all types of shapes and all types of 
  objects except soft body.
- Optimization for static derived mesh (mesh with modifiers
  but no armature and no shape keys). Replicas will share
  the derived mesh and the display list: less memory and
  faster rendering. With this optimization, the static 
  derived mesh will render as fast as if the modifiers were
  applied.

Known Limits:
- Sharing of mesh and display list is only possible between
  in-game replicas or dupligroup. If you want to instantiate
  multiple objects with modifiers, use dupligroup to ensure
  best memory and GPU utilization.
- rayCast() will interact with the derived mesh as follow:
  Hit position and hit normal are the real values according
  to the derived mesh but the KX_PolyProxy object refers to
  the original mesh. You should use it only to retrieve the
  material.
- Dynamic derived mesh have very poor performance:
  They use direct openGL calls for rendering (no support
  for display list and vertex array) and they dont't share
  the derived mesh memory. Always apply modifiers on dynamic
  mesh for best performance.
- Time dependent modifiers are not supported.
- Modifiers are not supported for Bullet soft body.
2009-05-14 13:47:08 +00:00
..
BlenderRoutines BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
Converter BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
Expressions Fix Makefiles for gameengine. 2009-05-11 15:34:46 +00:00
GameLogic Fix Makefiles for gameengine. 2009-05-11 15:34:46 +00:00
GamePlayer added Geometry as a BGE module, removed its dependency on gen_utils.c 2009-04-30 12:45:13 +00:00
Ketsji BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
Network BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
Physics BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
PyDoc updated BGE doc checker script for classes now being in GameTypes.py 2009-05-14 10:59:38 +00:00
Rasterizer BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
SceneGraph BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
VideoTexture BGE performance, 3rd round: culling and rasterizer. 2009-05-07 09:13:01 +00:00
CMakeLists.txt VideoTexture module. 2008-10-31 22:35:52 +00:00
Makefile Makefile fixes for compiling with new videotexture code. 2008-11-02 18:12:45 +00:00
SConscript Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID. 2009-02-25 12:07:51 +00:00