forked from bartvdbraak/blender
15bd165ca0
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. |
||
---|---|---|
.. | ||
blender | ||
blenderplayer | ||
creator | ||
darwin | ||
gameengine | ||
icons | ||
kernel | ||
CMakeLists.txt | ||
Makefile | ||
nan_compile.mk | ||
nan_definitions.mk | ||
nan_link.mk | ||
nan_subdirs.mk | ||
nan_warn.mk | ||
SConscript |