TGEA Theora support
by Frank Bignone · 08/05/2009 (2:26 am) · 24 comments
Archive file updated on 6th August 2009
The proposed download is a modification of provided source code from GarageGames in order to support Theora movie playback. The current resource is only working for video playback and does not included the sound streaming which is needed in order to have both video and sound support.
First of all, just download the following file and copy the engine folder inside your TGEA folder (do not forget to backup your data first). The archive includes also the latest Theora library distribution. You may need to compile them for your platform (just go inside engine/lib/libTheora).
In order to compile you application, you will need to set-up the correct path for include and library file. First set-up the path for the include files as followed:

Then set-up the path for the library and the new theora lib file in the linker option as followed:


For the library to link, you may face some linker issue with the release library; but it works well with the debug library.
Then you can try the .ogg demonstration video available in the archive by creating a TheoraGuiCtrl in the GUI editor as followed.

You can find this resource on our blog here www.torquelab.com.
The proposed download is a modification of provided source code from GarageGames in order to support Theora movie playback. The current resource is only working for video playback and does not included the sound streaming which is needed in order to have both video and sound support.
First of all, just download the following file and copy the engine folder inside your TGEA folder (do not forget to backup your data first). The archive includes also the latest Theora library distribution. You may need to compile them for your platform (just go inside engine/lib/libTheora).
In order to compile you application, you will need to set-up the correct path for include and library file. First set-up the path for the include files as followed:

Then set-up the path for the library and the new theora lib file in the linker option as followed:


For the library to link, you may face some linker issue with the release library; but it works well with the debug library.
Then you can try the .ogg demonstration video available in the archive by creating a TheoraGuiCtrl in the GUI editor as followed.

You can find this resource on our blog here www.torquelab.com.
About the author
Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.
#22
02/18/2010 (12:47 am)
In fact to make it works, I think it is required to recompile all library (some settings in compiler which are not consistent between TGEA and libTheora). I did not spend time on it as working on something else now and also with already support of Theora inside T3D.
#23
02/18/2010 (6:33 pm)
Just for reference, the solution was under my noise, got it working by integrating the libtheora project delivered with TGEA 1.8.2.
#24
05/10/2010 (3:12 am)
this is only for GUI,can it work in Scence(not in GUI)??? 
Torque 3D Owner Novack
CyberianSoftware
I'm not beeing able to build a release version of the game, actually. I tried forcing the debug libtheora build (by using a fixed dir instead of "$(ConfigurationName)") but didn't work. The debug tgea builds ok.
May be the library version?
Edit: apparently not. Same problem with the latest theora release.