forked from bartvdbraak/blender
0cad3ae24c
Originally we had 2DFilters (m_filtermanager) stored in RenderTools. That way filters were stored globally and were being called once per each scene. This was producing two big problems: (1) performance and (2) flexibility of use. (1) Performance - To run the filters 2X == 2X slower (2) flexibility of use - Very often we want the filter in the scene but not in the UI for example. For those reasons I believe that 2DFilters with multiple scenes was very useless or unpredictable. I hope they work fine now. To make it work as before (2.4) you can simply recreate the 2dfilter actuators across the scenes. * * * * * Imagine that we have: (a) Main Scene (b) Overlay Scene in Main Scene the Z Buffer and RGB will be from the main scene. in Overlay Scene the Z Buffer will be from the Overlay Scene and the RBG buffer is from both [(a + 2D Filter) + b]. So in pseudo code if we have a,b,c,d,e scenes we have: (2DFilterE(2DFilterD(2DFilterC(2DFilterB(2DFilterA(a) + b) + c) + d) + e) |
||
---|---|---|
.. | ||
RAS_OpenGLFilters | ||
RAS_OpenGLRasterizer | ||
CMakeLists.txt | ||
Makefile | ||
RAS_2DFilterManager.cpp | ||
RAS_2DFilterManager.h | ||
RAS_BucketManager.cpp | ||
RAS_BucketManager.h | ||
RAS_CameraData.h | ||
RAS_Deformer.h | ||
RAS_FramingManager.cpp | ||
RAS_FramingManager.h | ||
RAS_ICanvas.h | ||
RAS_IPolygonMaterial.cpp | ||
RAS_IPolygonMaterial.h | ||
RAS_IRasterizer.h | ||
RAS_IRenderTools.cpp | ||
RAS_IRenderTools.h | ||
RAS_LightObject.h | ||
RAS_MaterialBucket.cpp | ||
RAS_MaterialBucket.h | ||
RAS_MeshObject.cpp | ||
RAS_MeshObject.h | ||
RAS_ObjectColor.h | ||
RAS_Polygon.cpp | ||
RAS_Polygon.h | ||
RAS_Rect.h | ||
RAS_texmatrix.cpp | ||
RAS_TexMatrix.h | ||
RAS_TexVert.cpp | ||
RAS_TexVert.h | ||
SConscript |