blender/source/gameengine/Ketsji
Dalai Felinto 0cad3ae24c BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks backward compatibility !!!
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)
2010-03-03 06:38:47 +00:00
..
KXNetwork No need for this change anymore (force include to get BLO_sys_types.h in GE) 2010-02-20 22:51:22 +00:00
BL_BlenderShader.cpp 2.5: Update GPU module to deal with removed G_TEXTUREPAINT 2009-08-16 20:14:49 +00:00
BL_BlenderShader.h BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage. 2009-08-18 15:37:31 +00:00
BL_Material.cpp 2.50: 2009-06-08 20:08:19 +00:00
BL_Material.h BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage. 2009-08-18 15:37:31 +00:00
BL_Shader.cpp BGE: fix more matrix transpose bugs in assignement to game object matrices. 2009-12-22 23:38:09 +00:00
BL_Shader.h option to build the BGE without python, uses existing python check (cmake and scons) 2009-09-29 21:42:40 +00:00
BL_Texture.cpp BGE Python API 2009-02-19 13:42:07 +00:00
BL_Texture.h BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage. 2009-08-18 15:37:31 +00:00
CMakeLists.txt correct fsf address 2010-02-12 13:34:04 +00:00
KX_ArmatureSensor.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ArmatureSensor.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_BlenderMaterial.cpp BGE: replace mesh works for Soft Body (including reinstantiation of physics soft body mesh). 2009-11-24 22:44:29 +00:00
KX_BlenderMaterial.h BGE: replace mesh works for Soft Body (including reinstantiation of physics soft body mesh). 2009-11-24 22:44:29 +00:00
KX_BulletPhysicsController.cpp BGE: Optimize Soft body conversion: don't create BVH structure. 2010-02-03 21:41:03 +00:00
KX_BulletPhysicsController.h BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage. 2009-08-18 15:37:31 +00:00
KX_Camera.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_Camera.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_CameraActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_CameraActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_CameraIpoSGController.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_CameraIpoSGController.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ClientObjectInfo.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ConstraintActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ConstraintActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ConstraintWrapper.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ConstraintWrapper.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ConvertPhysicsObject.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ConvertPhysicsObjects.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_Dome.cpp Math Lib 2009-11-10 20:43:45 +00:00
KX_Dome.h BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage. 2009-08-18 15:37:31 +00:00
KX_EmptyObject.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_EmptyObject.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_GameActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_GameActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_GameObject.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_GameObject.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_IInterpolator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_IPhysicsController.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_IPhysicsController.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_IPO_SGController.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_IPO_SGController.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_IpoActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_IpoActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_IPOTransform.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_IScalarInterpolator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ISceneConverter.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ISystem.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_KetsjiEngine.cpp BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks backward compatibility !!! 2010-03-03 06:38:47 +00:00
KX_KetsjiEngine.h BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks backward compatibility !!! 2010-03-03 06:38:47 +00:00
KX_Light.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_Light.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_LightIpoSGController.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_LightIpoSGController.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_MaterialIpoController.cpp Win64: please check my changes if you ran across them ;) But should be fine since no additional crashes were reported! 2008-08-17 17:08:00 +00:00
KX_MaterialIpoController.h BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage. 2009-08-18 15:37:31 +00:00
KX_MeshProxy.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_MeshProxy.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_MotionState.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_MotionState.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_MouseFocusSensor.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_MouseFocusSensor.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_NearSensor.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_NearSensor.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ObColorIpoSGController.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ObColorIpoSGController.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ObjectActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ObjectActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_OrientationInterpolator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_OrientationInterpolator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ParentActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ParentActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PhysicsEngineEnums.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PhysicsObjectWrapper.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PhysicsObjectWrapper.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PhysicsPropertiesobsolete.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PolygonMaterial.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PolygonMaterial.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PolyProxy.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PolyProxy.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PositionInterpolator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PositionInterpolator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PyConstraintBinding.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PyConstraintBinding.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PyMath.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PyMath.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PythonInit.cpp make BGL and BLF modile names lowercase 2010-02-28 14:57:26 +00:00
KX_PythonInit.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PythonInitTypes.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PythonInitTypes.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_PythonSeq.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_PythonSeq.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_RadarSensor.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_RadarSensor.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_RayCast.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_RayCast.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_RayEventManager.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_RayEventManager.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_RaySensor.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_RaySensor.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_AddObjectActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_AddObjectActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_DynamicActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_DynamicActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_EndObjectActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_EndObjectActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_ReplaceMeshActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SCA_ReplaceMeshActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ScalarInterpolator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ScalarInterpolator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_ScalingInterpolator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_ScalingInterpolator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_Scene.cpp BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks backward compatibility !!! 2010-03-03 06:38:47 +00:00
KX_Scene.h BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks backward compatibility !!! 2010-03-03 06:38:47 +00:00
KX_SceneActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SceneActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SG_BoneParentNodeRelationship.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SG_BoneParentNodeRelationship.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SG_NodeRelationships.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SG_NodeRelationships.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_SoundActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_SoundActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_StateActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_StateActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_TimeCategoryLogger.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_TimeCategoryLogger.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_TimeLogger.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_TimeLogger.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_TouchEventManager.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_TouchEventManager.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_TouchSensor.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_TouchSensor.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_TrackToActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_TrackToActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_VehicleWrapper.cpp option to build the BGE without python, uses existing python check (cmake and scons) 2009-09-29 21:42:40 +00:00
KX_VehicleWrapper.h option to build the BGE without python, uses existing python check (cmake and scons) 2009-09-29 21:42:40 +00:00
KX_VertexProxy.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_VertexProxy.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_VisibilityActuator.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_VisibilityActuator.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_WorldInfo.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_WorldInfo.h correct fsf address 2010-02-12 13:34:04 +00:00
KX_WorldIpoController.cpp correct fsf address 2010-02-12 13:34:04 +00:00
KX_WorldIpoController.h correct fsf address 2010-02-12 13:34:04 +00:00
Makefile Add include path to find BLO_readfile.h. 2009-11-16 00:44:07 +00:00
SConscript BGE: Fix typo in SConscript preventing to import VideoTexture module. 2010-02-07 16:52:19 +00:00