blender/source/gameengine
Benoit Bolsee 8b2811d9d5 VideoTexture: VideoTexture.materialID() can now take texture image name.
You can specify a image name (starting with 'IM') instead of a material
name in VideoTexture.materialID() and return the material ID matching
this texture.
The advantage of this method is that is works with blender material
and UV texture. In case of UV texture, it grabs the internal material
corresponding to the faces that are assigned to this texture. In case
of blender material, it grabs the material that has an image texture
matching the name as first texture channel.
In both cases, the texture id used in VideoTexture.Texture() should be 0.

Ex:

matID = VideoTexture.materialID(obj,'IMvideo.png')
GameLogic.video = VideoTexture.Texture(obj, matID, 0)
2008-11-07 10:54:32 +00:00
..
BlenderRoutines VideoTexture module. 2008-10-31 22:35:52 +00:00
Converter Fix crash in game engine IPO code, got out of sync after IPO cleanup, removed the duplicated function declarations. 2008-10-11 22:29:50 +00:00
Expressions Python 2.4 should build with the game engine now, no thanks to python for switching from char to const char 2008-10-02 00:22:28 +00:00
GameLogic make sure BPY_Err_Handle clears python errors, even if the exception cant be printed. Added PyErr_Clear() incase there are other references to exception data (sys.exc_info() from python) 2008-10-22 07:09:15 +00:00
GamePlayer Fix for a relative paths issue in the game engine. G.sce was being 2008-10-11 00:56:49 +00:00
Ketsji VideoTexture: Add support for GLSL. FIx small printout bug in Exception printout 2008-11-05 13:22:10 +00:00
Network Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
Physics * Minimum SCons version is now 1.0.0 2008-10-30 23:55:07 +00:00
PyDoc * Build aborts when giving options on command-line when WITH_BF_DOCS=True 2008-10-30 18:56:20 +00:00
Rasterizer Patch 17909: 2D Filter texture coordinates changes, by Dalai Felinto: 2008-11-01 14:00:16 +00:00
SceneGraph BGE patch: support for partial hierarchy in dupligroup instantiation; removal of links that point to inactive objects during group instantiation. 2008-07-18 19:56:56 +00:00
VideoTexture VideoTexture: VideoTexture.materialID() can now take texture image name. 2008-11-07 10:54:32 +00:00
CMakeLists.txt VideoTexture module. 2008-10-31 22:35:52 +00:00
Makefile Makefile fixes for compiling with new videotexture code. 2008-11-02 18:12:45 +00:00
SConscript VideoTexture module. 2008-10-31 22:35:52 +00:00