Game Development Community

Movies and animations in GUI menus

by Shay Casey · in Torque Game Engine · 03/05/2004 (4:42 pm) · 56 replies

I posted this in the SDK forum but no one had responded yet. So I am reposting here.

I just bought the SDK and I have been digging everywhere. I have not read or seen anything in the demo about support for intro movies or animated menus.

Does anyone know if movies are supported and what formats can be used. I also would like to include some animated menus. Has anyone tried this yet?

One final idea/question. The torque GUI editor tends to layout GUI graphics like HTML ie. as the monitor res increases the spacing changes between all of the elements. I would like to have only one resolution size and scale it accordingly. Any ideas.

Thanks for input/more questions and/or solutions

7
Page «Previous 1 2 3 Last »
#1
03/07/2004 (12:44 pm)
Torque doesn't have support out of box for either. However, animated guis can be done in script easily, or in C++. Movie support is contingent on finding a playback library that works on all the platforms you want to support. Tell me if you find a good one that does mac/windows/unix. :)
#2
03/08/2004 (8:52 am)
Thanks ben. By library you mean?? (sorry I am a n00b)

Quicktime works on Win/Mac but I dont know about unix. I will need to put someone on this that knows what they are doing obviously : ) Most games use a proprietary system right? I know quake does.

Info on it here(in case you are interested):
http://www.csse.monash.edu.au/~timf/videocodec/idroq.txt
#3
03/08/2004 (1:05 pm)
Another stupid question... does it support audio in the menus stock or would we have to add that as well. thx. If I can get some help on this stuff maybe we can make resources to give back to the community.
#4
03/08/2004 (8:47 pm)
Library. A module of code used for a specific task. Like OpenGL or DirectX or SDL.

I believe you can get the standard menu stuff to make noise with minimal effort.

Interesting link. Any articles on how to compress?
#5
03/09/2004 (7:35 am)
Cool. I found the quake toolkit v1.5 which has a RoQ video encoder and I read somewhere that id made the RoQ format and library public. I am still looking for the libs tho. Grame Devine probably gave a little more detail about this in a .plan file but I have yet to track it down.

http://www.planetquake.com/eoc/qtoolkit/index.shtml
#6
03/09/2004 (7:45 am)
One could also look at adding xvid support to TGE. At one time was had code to play movies (windows only) in DX9, but dropped it due to lack of cross platform support

-Ron
#7
03/09/2004 (8:09 am)
Cool. I found the quake toolkit v1.5 which has a RoQ video encoder and I read somewhere that id made the RoQ format and library public. I am still looking for the libs tho. Grame Devine probably gave a little more detail about this in a .plan file but I have yet to track it down.

http://www.planetquake.com/eoc/qtoolkit/index.shtml
#8
03/09/2004 (8:15 am)
Xvid is a no go... no OS X build yet. They added linux which helps but it hasn't been ported to mac yet. Im on panther right now so... : )
#9
03/09/2004 (8:24 am)
What about using this? It says that it is platform independent but that just sounds like a lot more work.

http://sourceforge.net/projects/libmpeg2/

I am email id software to find out more specifics on the EULA for RoQ format. I will post info here when and if I hear back from them.
#10
03/09/2004 (8:28 am)
I'd almost say it would be better to provide a different method on each system, and then use something like Divx or XVid as a codec. libmpeg2 looks good, but mpeg2 isn't very good compression.
#11
03/09/2004 (8:34 am)
What about using this? It says that it is platform independent but that just sounds like a lot more work.

http://sourceforge.net/projects/libmpeg2/

I am email id software to find out more specifics on the EULA for RoQ format. I will post info here when and if I hear back from them.
#12
03/09/2004 (8:37 am)
If RoQ is actually open source then it is going to be the best way to go imo. You build the files out of a series of bitmaps which can easily be rendered from after effects or a 3D app. It runs smoothly on all platforms. Check the quake III arena demo if you want to see it in action.
#13
03/09/2004 (8:41 am)
Hrmmmm

Please read this spacificly the XviD 0.9.2 notice

seems like they have Mac support, at least one of the bullet items mentions it.
#14
03/09/2004 (8:52 am)
XVid/Divx are both just Codecs though Ron, so you still need a library to use them thats cross platform.
#15
03/09/2004 (9:02 am)
Ok so I started diggin around in the source for Torque to see about adding, at the very least, a windows based player into the GUI and I find that there is already an AVI player GUI control.
#16
03/09/2004 (9:09 am)
Hmm, RoQ sounds interesting. Tell me if you get it working (or if you need advice on the way).

Of course, so does DivX support. ;)
#17
03/09/2004 (9:17 am)
Just as a distraction, i'm seeing what it will take to get the AVI vontrol working, as it looks unfinished. Personally I want to be able to use XVid/Divx so thats where i'm heading right now.
#18
03/09/2004 (9:18 am)
AVI has been fixed in a previous forum thread, might want to search the forums. I think some of the issues was around not including the a header file or two.

-Ron

www.garagegames.com/mg/forums/result.thread.php?qt=6038
#19
03/09/2004 (10:24 am)
Ron,

Thanks for the link, but I had already gotten it working :p Was a pretty easy job to get the video playing.

However, it seems the AVI control (at least the AVI part of it) directly uses VFW which means its not going to work on anything else (Anything other than windows I mean).

Anyway, my goal right now is to pull the audio directly from the AVI file.
#20
03/09/2004 (10:28 am)
It would also be better to rip all this VFW crap out and replace it with DirectShow for the long run. I do believe VFW is legacy now.
Page «Previous 1 2 3 Last »