blender/source/gameengine/VideoTexture
Dalai Felinto 15bd165ca0 BGE: bindId property in VideoTexture.Texture (to get the openGL id of the texture)
Now if you have a VideoTexture.Texture you can use its id and draw it with bgl
The Id is only going to be valid if the obj you are getting the VideoTexture.Texture from has a valid texture. In the examples you will see them as planes, that become invisible at load time, but are needed to validate the texture id.

This is a simple example file:
http://blenderecia.orgfree.com/blender/bind_id_simple.blend

And a (much) more advanced one:
http://blenderecia.orgfree.com/blender/bind_id.blend
(get also this image and save it to the same folder of your blend file - http://blenderecia.orgfree.com/blender/mask.png )

Benoit, I couldn't decide on better names so for now I'm glad with this one.
2010-03-20 00:11:25 +00:00
..
BlendType.h [#18961] Use const char * where appropriate (2.5) 2010-02-16 16:47:41 +00:00
blendVideoTex.cpp VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
CMakeLists.txt VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
Common.h VideoTexture module. 2008-10-31 22:35:52 +00:00
Exception.cpp VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
Exception.h VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
FilterBase.cpp remove warnings for the BGE 2009-02-25 03:26:02 +00:00
FilterBase.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterBlueScreen.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterBlueScreen.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterColor.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterColor.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterNormal.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterNormal.h VideoTexture: fix RGB/BGR confusion, make code compatible with big endian CPU, add RGBA source filter. 2008-11-04 12:04:59 +00:00
FilterSource.cpp remove python2.x support 2009-08-10 00:07:34 +00:00
FilterSource.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
ImageBase.cpp make BGL and BLF modile names lowercase 2010-02-28 14:57:26 +00:00
ImageBase.h VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
ImageBuff.cpp make BGL and BLF modile names lowercase 2010-02-28 14:57:26 +00:00
ImageBuff.h VideoTexture: optional arguments to ImageBuff constructor. 2010-02-26 22:14:31 +00:00
ImageMix.cpp VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
ImageMix.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageRender.cpp use negate_v3 rather then multiplying a vector by -1.0 (no functional changes) 2010-02-26 09:02:52 +00:00
ImageRender.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
ImageViewport.cpp VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
ImageViewport.h BGE: add audio/video synchronization capability to VideoTexture 2010-02-07 19:18:00 +00:00
Makefile VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
PyTypeList.cpp 2.50: 2009-06-08 20:08:19 +00:00
PyTypeList.h VideoTexture: use PyObjectPlus.h instead of Python.h for compatibility with Python2.3 2008-11-02 18:02:31 +00:00
SConscript VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00
Texture.cpp BGE: bindId property in VideoTexture.Texture (to get the openGL id of the texture) 2010-03-20 00:11:25 +00:00
Texture.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r17434:HEAD 2008-12-14 17:32:24 +00:00
VideoBase.cpp BGE Py API using python3 c/api calls. include bpy_compat.h to support py2.x 2009-06-29 02:25:54 +00:00
VideoBase.h 2.50: 2009-06-08 20:08:19 +00:00
VideoFFmpeg.cpp VideoTexture: fix a bug with AV sync that was causing a loss of sync in case of rewind to the begining of the file. 2010-02-25 22:12:16 +00:00
VideoFFmpeg.h VideoTexture: improvements to image data access API. 2010-02-21 22:20:00 +00:00