Page 1 of 1

Animation raw data information

Posted: Tue Jan 22, 2008 4:20 pm
by Choking Victim
This data was incorrect. I have deleted it as to not confuse people.

Posted: Tue Jan 22, 2008 5:10 pm
by Aumaan Anubis
I understood about 0.5% of what you just said, but good job on it anyway.

Posted: Tue Jan 22, 2008 5:44 pm
by plushiefire
Dude, nice!! Some great Halo2 minds might work on this shiznit...

Posted: Wed Jan 23, 2008 2:21 am
by DarkShallFall
I remember Detox telling me something about I_F almost getting custom animation but then he lost his notes or something. Looks good so far I hope to be able to do custom animation soon ;), Keep up the great work and its aweful nice to see people sticking with halo 2.

Re: Animation raw data information

Posted: Wed Jan 23, 2008 3:09 am
by shade45
Choking Victim wrote:
CODEC #0 _no_compression_codec AVERAGE KEY RATIOS Rot:1.00, Trs:1.00, Scl:1.00
CODEC #1 _uncompressed_static_data_codec AVERAGE KEY RATIOS Rot:1.00, Trs:1.00, Scl:1.00
CODEC #2 _uncompressed_animated_data_codec AVERAGE KEY RATIOS Rot:1.00, Trs:1.00, Scl:1.00
CODEC #3 _8byte_quantized_rotation_only_codec AVERAGE KEY RATIOS Rot:1.00, Trs:1.00, Scl:1.00
CODEC #4 byte_keyframe_lightly_quantized AVERAGE KEY RATIOS Rot:0.22, Trs:0.26, Scl:1.00
CODEC #5 word_keyframe_lightly_quantized AVERAGE KEY RATIOS Rot:1.00, Trs:1.00, Scl:1.00
CODEC #6 reverse_byte_keyframe_lightly_quantized AVERAGE KEY RATIOS Rot:0.27, Trs:0.64, Scl:0.12
CODEC #7 reverse_word_keyframe_lightly_quantized AVERAGE KEY RATIOS Rot:0.07, Trs:0.14, Scl:1.00
CODEC #8 _blend_screen_codec AVERAGE KEY RATIOS Rot:1.00, Trs:1.00, Scl:1.00
The above information shows the animation codec, and what i assume is the method of compression. I've looked into quantization and have learned that it plays a role in lossy data compression. Although I don't know exactly how to decompress the animations.
I've never worked with animation raw(or know much about animation to begin with :P) but from what you wrote about the compression this is what I gather, lets say that codec 7 is being used on the raw data, its gonna compress the rotation value(s) to 7%, the Trs(Transfomation?) value(s) to 14% and the scale value(s) will stay the same at 100% of their original values. This is what quantization does it allows you to selectively compress certain sections of data while preserving other sections in higher quality(less lossy).

I don't believe the is any special decompressing algorithm going on here. Just find the values of Rot, Trs, and Scl and multiply them by their compression ratio to get their original lossless value.

I'm not entirely sure about this tho its 4Am and i havnt gotten much sleep so if Im 100% wrong don't blame me :P

Posted: Wed Jan 23, 2008 6:18 am
by grimdoomer
Nice, I had a few ideas on Animation stuff. Need any help let me know and ill lend a hand.

Posted: Wed Jan 23, 2008 10:08 am
by turk645
i understood a small amount of this :P. And since my 360 is dead ill probably abuse the custom animations once its possable

Posted: Wed Jan 23, 2008 10:12 am
by -DeToX-
DarkShallFall wrote:I remember Detox telling me something about I_F almost getting custom animation but then he lost his notes or something. Looks good so far I hope to be able to do custom animation soon ;), Keep up the great work and its aweful nice to see people sticking with halo 2.
Not exactly. I asked I_F if he ever did custom jmads a long time ago. He said he probably did, but doesn't have his info anymore or something along those lines...

Choking Victim, I am glad you are progressing. ;P

Posted: Wed Jan 23, 2008 11:12 am
by DarkShallFall
-DeToX- wrote:
DarkShallFall wrote:I remember Detox telling me something about I_F almost getting custom animation but then he lost his notes or something. Looks good so far I hope to be able to do custom animation soon ;), Keep up the great work and its aweful nice to see people sticking with halo 2.
Not exactly. I asked I_F if he ever did custom jmads a long time ago. He said he probably did, but doesn't have his info anymore or something along those lines...

Choking Victim, I am glad you are progressing. ;P
It was a while back ;)

Posted: Wed Jan 23, 2008 1:56 pm
by Choking Victim
Incorrect.

Posted: Thu Jan 24, 2008 2:57 pm
by Choking Victim
Incorrect.