Files
blender/source
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
..
2010-03-19 03:38:14 +00:00
2010-01-03 20:35:13 +00:00
2010-02-12 13:34:04 +00:00
2010-02-12 13:34:04 +00:00
2010-02-12 13:34:04 +00:00
2010-02-12 13:34:04 +00:00
2010-02-12 13:34:04 +00:00