[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27617] trunk/blender/source/gameengine/ VideoTexture/Texture.cpp: BGE: bindId property in VideoTexture.Texture ( to get the openGL id of the texture)

Carsten Wartmann cw at blenderbuch.de
Sat Mar 20 14:00:29 CET 2010


Am 20.03.2010 01:11, schrieb Dalai Felinto:
> Log Message:
> -----------
> 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:

I tried both files and they worked. However I am not sure what the use 
of this is? Drawing GUIs in the BGE?

Is it also possible to draw into textures which are mapped onto an 
object? (sorry no time to try).

The example files are a bit "dry" to made artists interested ;-)

BTW: I am used to (NaN times) and willing to work with all developers 
who need good test scenes for new features, and also willing to help 
while documenting new features. Just ask!

Carsten

-- 
Carsten Wartmann: Autor - Dozent - 3D - Grafik
Homepage:         http://blenderbuch.de/
Das Blender-Buch: http://blenderbuch.de/redirect.html


More information about the Bf-committers mailing list