blender/source/gameengine/Rasterizer/RAS_OpenGLRasterizer
Brecht Van Lommel 908337bee1 Game Engine: alpha blending and sorting
=======================================

Alpha blending + sorting was revised, to fix bugs and get it
to work more predictable.

* A new per texture face "Sort" setting defines if the face
  is alpha sorted or not, instead of abusing the "ZTransp"
  setting as it did before.
* Existing files are converted to hopefully match the old
  behavior as much as possible with a version patch.
* On new meshes the Sort flag is disabled by the default, to
  avoid unexpected and hard to find slowdowns.
* Alpha sorting for faces was incredibly slow. Sorting faces
  in a mesh with 600 faces lowered the framerate from 200 to
  70 fps in my test.. the sorting there case goes about 15x
  faster now, but it is still advised to use Clip Alpha if
  possible instead of regular Alpha.
* There still various limitations in the alpha sorting code,
  I've added some comments to the code about this.

Some docs at the bottom of the page:
http://www.blender.org/development/current-projects/changes-since-246/realtime-glsl-materials/

Merged some fixes from the apricot branch, most important
change is that  tangents are now exactly the same as the rest
of Blender, instead of being computed in the game engine with a
different algorithm.

Also, the subversion was bumped to 1.
2008-07-29 15:48:31 +00:00
..
CMakeLists.txt Merge of apricot branch game engine changes into trunk, excluding GLSL. 2008-06-17 10:27:34 +00:00
Makefile Merge of apricot branch game engine changes into trunk, excluding GLSL. 2008-06-17 10:27:34 +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 Sync with Apricot Game Engine 2008-07-10 12:47:20 +00:00
RAS_ListRasterizer.h Sync with Apricot Game Engine 2008-07-10 12:47:20 +00:00
RAS_OpenGLRasterizer.cpp Game Engine: alpha blending and sorting 2008-07-29 15:48:31 +00:00
RAS_OpenGLRasterizer.h Game Engine: alpha blending and sorting 2008-07-29 15:48:31 +00:00
RAS_VAOpenGLRasterizer.cpp Sync with Apricot Game Engine 2008-07-10 12:47:20 +00:00
RAS_VAOpenGLRasterizer.h Sync with Apricot Game Engine 2008-07-10 12:47:20 +00:00
SConscript Merge of apricot branch game engine changes into trunk, excluding GLSL. 2008-06-17 10:27:34 +00:00