blender/source/gameengine/Ketsji
Alexander Romanov 78b5d66af8 Object Info node support for GLSL mode and the internal render
Object Info node can be useful to give some variation to a single material assigned to multiple instances. This patch adds support for Viewport and BI.

{F499530}

Example: {F499528}

Reviewers: merwin, brecht, dfelinto

Reviewed By: brecht

Subscribers: duarteframos, fclem, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov

Differential Revision: https://developer.blender.org/D2425
2017-04-14 18:15:57 +03:00
..
KXNetwork Remove SCons building system 2016-01-04 14:20:48 +05:00
BL_Action.cpp Cleanup/Refactor: pass Main pointer to all ID copy functions. 2016-07-10 14:52:00 +02:00
BL_Action.h BGE: Fix T45945: Action bouncing. 2015-10-28 15:13:12 +01:00
BL_ActionManager.cpp Split id->flag in two, persistent flags and runtime tags. 2015-12-27 12:00:33 +01:00
BL_ActionManager.h BGE: Fix T46381 : last action frame not updated. 2015-10-19 16:03:40 +02:00
BL_BlenderShader.cpp Object Info node support for GLSL mode and the internal render 2017-04-14 18:15:57 +03:00
BL_BlenderShader.h Fix a few compiler warnings reported by clang. 2013-08-18 14:15:51 +00:00
BL_Material.cpp Move from MTFace to MTexPoly w/ texture checks 2015-07-14 22:36:00 +10:00
BL_Material.h Move from MTFace to MTexPoly w/ texture checks 2015-07-14 22:36:00 +10:00
BL_Shader.cpp BL_Shader.setUniformEyef(name) 2016-06-11 22:24:18 +02:00
BL_Shader.h BL_Shader.setUniformEyef(name) 2016-06-11 22:24:18 +02:00
BL_Texture.cpp BGE: remove calls to GLSL support query (it's always supported) 2016-10-10 01:19:10 -04:00
BL_Texture.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
CMakeLists.txt BGE: Remove KX_IPOActuator. 2015-11-03 10:31:08 +01:00
KX_ArmatureSensor.cpp style cleanup 2013-03-18 11:44:56 +00:00
KX_ArmatureSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_BlenderMaterial.cpp BGE: Allow access to original texture openGL Bind code/Id/Number 2016-02-18 12:05:53 +01:00
KX_BlenderMaterial.h BGE: Allow access to original texture openGL Bind code/Id/Number 2016-02-18 12:05:53 +01:00
KX_Camera.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_Camera.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_CameraActuator.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_CameraActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_CameraIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_CameraIpoSGController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_CharacterWrapper.cpp BGE: Adding a Max Jumps value to the character physic window 2015-10-11 18:28:43 +02:00
KX_CharacterWrapper.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_ClientObjectInfo.h BGE: Fix T35288 Touch/Ray/Mouse sensor and Constraint actuator with material check doesn't work. 2015-07-25 09:43:06 +02:00
KX_ConstraintActuator.cpp BGE clean up: use float version of trigonometric functions 2015-12-16 01:53:48 +01:00
KX_ConstraintActuator.h BGE : Collision mask support in raycast + and raycast cleanup. 2015-10-07 22:14:43 +02:00
KX_ConstraintWrapper.cpp BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_ConstraintWrapper.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_Dome.cpp BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
KX_Dome.h Ghost Context Refactor 2014-10-07 15:47:32 -05:00
KX_EmptyObject.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_EmptyObject.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_FontObject.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_FontObject.h fix D1130 renamed the enum OBJ_FONT to OBJ_TEXT to avoid naming conflicts in Windows 2015-03-16 18:46:40 +01:00
KX_GameActuator.cpp BGE: Adding a screenshot function to game actuator 2015-10-11 13:41:38 +02:00
KX_GameActuator.h BGE: Adding a screenshot function to game actuator 2015-10-11 13:41:38 +02:00
KX_GameObject.cpp Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
KX_GameObject.h BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_IInterpolator.h style cleanup 2012-09-16 04:58:18 +00:00
KX_IPO_SGController.cpp BGE: Fix T38986: Start object position not initialized in IPO. 2015-10-29 18:44:09 +01:00
KX_IPO_SGController.h BGE: Cleanup KX_IPO_SGCOntroller. 2015-10-29 17:24:35 +01:00
KX_IpoConvert.cpp BGE: Adding material IPO support to GLSL materials 2015-05-11 23:05:04 -07:00
KX_IpoConvert.h BGE: Fix T27322: World F-Curve 2015-03-23 21:43:42 +01:00
KX_IPOTransform.h BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_IScalarInterpolator.h style cleanup 2012-09-16 04:58:18 +00:00
KX_ISceneConverter.h BGE: Fix issues with async libload. 2015-10-25 19:22:29 +01:00
KX_ISystem.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
KX_KetsjiEngine.cpp BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
KX_KetsjiEngine.h BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
KX_Light.cpp Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
KX_Light.h BGE: Allow access to light shadow settings with python 2016-01-17 18:47:14 +01:00
KX_LightIpoSGController.cpp BGE code cleanup: Removing OpenGL and bf_gpu code from KX_LightObject 2014-03-27 22:32:06 -07:00
KX_LightIpoSGController.h Code cleanup: RAS_ILightObject is class, not a struct. 2014-04-12 20:12:07 +02:00
KX_MaterialIpoController.cpp BGE: Adding material IPO support to GLSL materials 2015-05-11 23:05:04 -07:00
KX_MaterialIpoController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_MeshProxy.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_MeshProxy.h BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_MotionState.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_MotionState.h BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_MouseActuator.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_MouseActuator.h Fix for building without Python 2015-06-14 04:53:10 +10:00
KX_MouseFocusSensor.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_MouseFocusSensor.h BGE : Collision mask support in raycast + and raycast cleanup. 2015-10-07 22:14:43 +02:00
KX_NavMeshObject.cpp More fixes from coverity report. 2016-08-16 18:19:52 +02:00
KX_NavMeshObject.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_NearSensor.cpp Fix T38539: Can't set near sensor distance above 100 via python 2014-02-22 13:57:12 +11:00
KX_NearSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ObColorIpoSGController.cpp BGE: Object color channels can now be animated separately without zeroing out the other channels. Problem reported by Dalai via IRC. 2013-02-23 01:17:01 +00:00
KX_ObColorIpoSGController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ObjectActuator.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_ObjectActuator.h BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_ObstacleSimulation.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_ObstacleSimulation.h style cleanup 2012-09-16 04:58:18 +00:00
KX_OrientationInterpolator.cpp BGE clean up: use float version of trigonometric functions 2015-12-16 01:53:48 +01:00
KX_OrientationInterpolator.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
KX_ParentActuator.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_ParentActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_PhysicsEngineEnums.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_PolyProxy.cpp BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
KX_PolyProxy.h code cleanup: remove unused define, correct header guard mismatch, add NULL check so DM_to_mesh() can have a NULL object passed (currently not used) and remove redundant NULL check. 2013-08-03 23:58:17 +00:00
KX_PositionInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_PositionInterpolator.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
KX_PyConstraintBinding.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_PyConstraintBinding.h BGE: python API cleanup - bge submodules definitions 2015-02-03 15:32:54 +00:00
KX_PyMath.cpp BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_PyMath.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_PythonInit.cpp BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
KX_PythonInit.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_PythonInitTypes.cpp BGE: Remove KX_IPOActuator. 2015-11-03 10:31:08 +01:00
KX_PythonInitTypes.h Recreating bge python modules instead of using existing 2015-02-09 20:56:38 +00:00
KX_PythonMain.cpp code cleanup: remove $Id's that crept back in, also osl style edits 2012-10-23 11:47:23 +00:00
KX_PythonMain.h Fix T37488: Crash with --debug reading userpref.blend 2013-11-18 18:13:23 +06:00
KX_RadarSensor.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_RadarSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_RayCast.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_RayCast.h BGE : Collision mask support in raycast + and raycast cleanup. 2015-10-07 22:14:43 +02:00
KX_RayEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RayEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_RaySensor.cpp BGE : Collision mask support in raycast + and raycast cleanup. 2015-10-07 22:14:43 +02:00
KX_RaySensor.h BGE : Collision mask support in raycast + and raycast cleanup. 2015-10-07 22:14:43 +02:00
KX_SCA_AddObjectActuator.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_SCA_AddObjectActuator.h style cleanup: trailing tabs & expand some non prefix tabs into spaces. 2012-10-21 05:46:41 +00:00
KX_SCA_DynamicActuator.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_SCA_DynamicActuator.h BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_SCA_EndObjectActuator.cpp code cleanup: some warnings and formatting for PyMethodDef's in the BGE. 2012-11-10 05:42:50 +00:00
KX_SCA_EndObjectActuator.h style cleanup: also correct some doxy comments 2012-08-18 13:07:48 +00:00
KX_SCA_ReplaceMeshActuator.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_SCA_ReplaceMeshActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ScalarInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_ScalarInterpolator.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
KX_ScalingInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_ScalingInterpolator.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
KX_Scene.cpp simplify redundant conditionals 2016-07-31 01:22:36 -04:00
KX_Scene.h BGE: Various render improvements. 2016-06-11 22:05:20 +02:00
KX_SceneActuator.cpp style cleanup: 2013-03-26 07:29:01 +00:00
KX_SceneActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_SG_BoneParentNodeRelationship.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_SG_BoneParentNodeRelationship.h style cleanup 2012-09-16 04:58:18 +00:00
KX_SG_NodeRelationships.cpp style cleanup 2012-09-16 04:58:18 +00:00
KX_SG_NodeRelationships.h style cleanup 2012-09-16 04:58:18 +00:00
KX_SoundActuator.cpp Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
KX_SoundActuator.h Audaspace: fixing problems for the merge to master suggested by Campbell and Sergey. 2015-07-28 14:01:53 +02:00
KX_StateActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_StateActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SteeringActuator.cpp BGE: Fix T48071: Global logic manager 2016-04-10 23:57:43 +02:00
KX_SteeringActuator.h BGE: Fix T41502 Path following jumping 2015-02-18 23:24:02 +01:00
KX_TimeCategoryLogger.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_TimeCategoryLogger.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
KX_TimeLogger.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_TimeLogger.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
KX_TouchEventManager.cpp BGE: Fix invalid operator< for microsoft compiler. 2015-12-30 13:47:43 +01:00
KX_TouchEventManager.h BGE physics: When colliding, report first contact point to Python 2015-02-08 15:52:13 +01:00
KX_TouchSensor.cpp BGE: Fix T35288 Touch/Ray/Mouse sensor and Constraint actuator with material check doesn't work. 2015-07-25 09:43:06 +02:00
KX_TouchSensor.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_TrackToActuator.cpp Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
KX_TrackToActuator.h BGE: TrackTo actuator: increasing up & track axis options 2014-07-14 18:30:27 -07:00
KX_VehicleWrapper.cpp Cleanup: style, whitespace, doxy filepaths 2016-06-19 06:33:29 +10:00
KX_VehicleWrapper.h BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
KX_VertexProxy.cpp BGE Ketsji clean-up: double-promotion warnings 2015-12-16 01:53:48 +01:00
KX_VertexProxy.h Revert "BGE : KX_VertexProxy support for more than 2 UV channel." 2015-06-06 13:12:27 -07:00
KX_VisibilityActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_VisibilityActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_WorldInfo.cpp BGE: Change KX_WolrdInfo mathutils vector to color 2015-10-11 18:43:05 +02:00
KX_WorldInfo.h Fix for building with C++ guarded alloc 2015-09-08 19:42:58 +10:00
KX_WorldIpoController.cpp BGE: Fix T27322: World F-Curve 2015-03-23 21:43:42 +01:00
KX_WorldIpoController.h BGE: Fix T27322: World F-Curve 2015-03-23 21:43:42 +01:00