Game Development Community

Dynamic Texture

by Jonathan Mendenhall · in Torque Game Builder · 05/24/2010 (3:17 pm) · 2 replies

I have been trying to find a good solution for how to get live video playing in Torque; and the best idea that I have come up with so far is to use the DynamicTexture class to write each video frame to a texture, and then set one of my in game objects to use that texture. Does anyone understand the system well enough to let me know if this is something that could possibly work (at a reasonable framerate). Also, I am particularly unclear about how my dynamic texture could be attached to an in-game object. Any help or advice would be greatly appreciated.

#1
05/24/2010 (7:05 pm)
Hey Jonathan...

I've never heard of the DynamicTexture class so I did a quick search and it looks like it's part of the TGE/TGEA engine and not the TGB engine.

Wrong forum perhaps?
#2
05/25/2010 (8:02 am)
Heh, right forum, wrong question. I saw the class in the source code and assumed that I could use it.