Showing a GUI on a 3D Object
by Brian Jansen · in Torque Game Engine · 06/29/2007 (10:55 am) · 7 replies
OK, I am working on a game and I need to have a video showing on a tv screen in the game. Is it possible to show a video or even a GUI on an in game object? I was thinking if there wasn't already a method of doing this it may be possible to edit something the GUI that shows the player names above players. Thanks in advance and any help would be....helpful.
About the author
#2
06/29/2007 (11:19 am)
The resource Scott is thinking of will most likely be a TGEA only resource, if memory serves me correctly. However, this resource is based on the dynamic texture object capability already found in stock TGE. Let me do a quick search to find out. . .
#3
This a good resource that shows the usage of a Dynamic Texture Object. Which is the TGE solution for your project.
Yup, I found the stock engine files which are: engine\dgl\gDynamicTexture.cc and engine\dgl\gDynamicTexture.h.
That's your starting point =)
06/29/2007 (11:29 am)
Check hereThis a good resource that shows the usage of a Dynamic Texture Object. Which is the TGE solution for your project.
Yup, I found the stock engine files which are: engine\dgl\gDynamicTexture.cc and engine\dgl\gDynamicTexture.h.
That's your starting point =)
#4
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10899
06/29/2007 (11:41 am)
Thanks, will this allow GUI's also like this resource does?www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10899
#5
06/29/2007 (11:47 am)
You might have to make some code changes to get the guiTextureControl behavior found in the TGEA resource. Just depends on how much interaction you need.
#6
06/29/2007 (11:58 am)
I don't have TGEA but thanks for finding that resource for me.
#7
07/13/2007 (12:11 am)
If your players don't need to interact with the TV you could use IFL animation on the television.
Associate Scott Burns
GG Alumni