blender/source/gameengine/Rasterizer/RAS_OpenGLRasterizer
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
..
CMakeLists.txt BGE performance, 3rd round: culling and rasterizer. 2009-05-07 09:13:01 +00:00
Makefile BGE performance, 3rd round: culling and rasterizer. 2009-05-07 09:13:01 +00:00
RAS_GLExtensionManager.cpp Merge of apricot branch game engine changes into trunk, excluding GLSL. 2008-06-17 10:27:34 +00:00
RAS_GLExtensionManager.h Merge of apricot branch game engine changes into trunk, excluding GLSL. 2008-06-17 10:27:34 +00:00
RAS_ListRasterizer.cpp BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
RAS_ListRasterizer.h BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
RAS_OpenGLRasterizer.cpp BGE: Fix Orthographic mode and viewport scaling 2009-04-26 12:23:30 +00:00
RAS_OpenGLRasterizer.h BGE: Fix Orthographic mode and viewport scaling 2009-04-26 12:23:30 +00:00
RAS_VAOpenGLRasterizer.cpp BGE: Support mesh modifiers in the game engine. 2009-04-21 11:01:09 +00:00
RAS_VAOpenGLRasterizer.h Merge of first part of changes from the apricot branch, especially 2008-09-04 20:51:28 +00:00
SConscript BGE performance, 3rd round: culling and rasterizer. 2009-05-07 09:13:01 +00:00