
Time code is also being converted according to similar rules. Joint names go through a similar stage to be converted into a byte array.

Bvh like data has to go through conversion to quaternion, get negated whenever the W term goes to the negative range so that the W term can be kept positive, then this manipulated quaternion goes through a conversion stage to turn the values into integers comprised between a certain range, in order to be written as signed integers of 2 bytes each, dropping the W term as the negation done at a previous stage allows its reconstruction on the fly. Sorry Vir, but your take on anim file format is misleading.įirst, it's not a simple dump. anim as well, using the options specified in the selected. It would probably make sense to allow the preview and option selection stages to be done for. I say "roughly" equivalent because the bvh uploader also tries to do some optimizations on the uploaded animations, which using. anim file is roughly equivalent to taking all the animation data out of a bvh, and then adding all of the various options chosen in the bvh floater - so you're bypassing the preview and option selection stages and skipping straight to upload. With bvh, you start with a file format and specify various options, and the combination of all that animation + option info gets sent up to create an animation.

anim isn't really a file format it's just a binary dump of what the viewer uploads when it's creating a new animation.
