Blender Git Commit Log

Git Commits -> Revision 145ab8c

Revision 145ab8c by Porteries Tristan (master)
July 3, 2015, 09:47 (GMT)
BGE: Extend Python API for KX_BlenderMaterial (specular, diffuse�?�)

Add support for material diffuse, specular�?� in KX_BlenderMaterial python proxy. And use mathutils in KX_BlenderMaterial for the specular and diffuse color in KX_BlenderMaterial.

Reviewers: sybren, brita_, kupoman, agoose77, dfelinto, moguri, campbellbarton, hg1

Reviewed By: moguri, campbellbarton, hg1

Subscribers: dfelinto

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1298

Commit Details:

Full Hash: 145ab8c49efe0de188a55f4c682dd5fcf916f105
Parent Commit: 659e523
Lines Changed: +368, -0

6 Modified Paths:

/doc/python_api/rst/bge_types/bge.types.KX_BlenderMaterial.rst (+42, -0) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+284, -0) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.h (+21, -0) (Diff)
/source/gameengine/Ketsji/KX_PyMath.cpp (+15, -0) (Diff)
/source/gameengine/Ketsji/KX_PyMath.h (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021