Game Development Community

How to play a video stream on a Gui Control Window?

by Ryan Santos · in Torque Developer Network · 10/22/2010 (6:50 am) · 0 replies

We purchased Torque 2D and 3D June 2010 and we are in the process of creating new games to replace our existing old DirectX 2D games. Searching through the forums, I saw this statement

Quote:I'm thinking about putting a GuiTSCtrl into the texture canvas and see what hilarity ensues... Security camera anyone?

in www.torquepowered.com/community/forums/viewthread/29713/. Well, my assignment is to make the security camera functionality into a reality. Although the engine we are using is "Torque 3D 2009", our current game is currently in 2D (because it is meant to be a flat table game for now). So my task might be much simpler than what was discussed in the thread being in a 3D environment. However since torque is new to me, I need suggestions on how will I go on and implement this security camera video stream displaying on a plain gui control window. Or maybe direct me to some resource which I can modify to get this up and running in the shortest possible time.

To add a bit more info, I already have done a security camera video streaming application but it works on window handles and using VMR9 in DirectX. I packaged this functionality into a MS Windows DLL and it is currently being used in one of our games. Another question is, "How can I port this VMR9 functionality and paint the stream to a Gui Control instead of a MS Window?"