Theora inside TGEA 1.8.1
by Frank Bignone · in Torque Game Engine Advanced · 03/20/2009 (1:18 am) · 24 replies
Just tackling the issue to put Theora inside TGEA 1.8.1.
I got the decoding part of the code to work correctly as can be shown with the lower part of the next screenshot. Nevertheless, I have some issue with the texture storage, as it looks like the bitmap is completely changed as shown in the top part of the next screenshot.
Two questions:
- the format of the bitmap if R8G8B8A8, will it be possible to know internally how it is stored for the texture and if I need to do some conversion?
- how can it be that the writeBmp is ok, and not the texture on which the bitmap is attached to (texture is created with KeepBitmap and Dynamic)?
Thanks for support.

I got the decoding part of the code to work correctly as can be shown with the lower part of the next screenshot. Nevertheless, I have some issue with the texture storage, as it looks like the bitmap is completely changed as shown in the top part of the next screenshot.
Two questions:
- the format of the bitmap if R8G8B8A8, will it be possible to know internally how it is stored for the texture and if I need to do some conversion?
- how can it be that the writeBmp is ok, and not the texture on which the bitmap is attached to (texture is created with KeepBitmap and Dynamic)?
Thanks for support.

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
08/05/2009 (12:02 am)
Ok, just finished to package the source code (took longer time as I had to dig in some backup disk...). I will upload it tonight on GG and my server too.
Torque 3D Owner Frank Bignone
Darkhand Studio