Page 1 of 1

Animation Translation Data Help

Posted: Sun Aug 13, 2017 12:17 am
by killercracker
I'm in the process of writing an animation importer for DBZ Burst Limit and I'm having issues reading the translation information. When parsing some animations the format of the translation data is an array of vec3's containing floats but the animation data that produces broken models don't look like or read like floats. Considering this is one of the only games I've been able to read animation from, I'm left with little insight on what format this may be. Help would be appreciated, I'm sure it's something simple I'm overlooking. I attached a link to the max scene and the script to import the animation and an animation log for better insight.

https://pastebin.com/z2JnAQek
https://www.dropbox.com/s/qvr5ufsrejb2a ... on.7z?dl=0

Image Image

Re: Animation help

Posted: Sun Aug 13, 2017 1:42 am
by shakotay2
killercracker wrote:but the animation data that produces broken models don't look like or read like floats.
did you consider compressed data? Such as 4 bytes = 32 bits splitted up into 11+11+10 bits for x, y, z?
(don't have max installed to try out your script)

Re: Animation help

Posted: Sun Aug 13, 2017 4:18 pm
by killercracker
did you consider compressed data? Such as 4 bytes = 32 bits splitted up into 11+11+10 bits for x, y, z?
(don't have max installed to try out your script)
I don't think that would be the case. That would leave me with 8 bytes after the conversion that I'd have to work considering that it would still be in vec3 format and I couldn't find any flags or indications for any change of format. I think the issue is that the translation data is meant to referenced from a specific point instead of being used absolutely.