Internal Animation Format

From Second Life Wiki
Revision as of 21:11, 10 December 2007 by Jacek Antonelli (talk | contribs) (Added brief overview of how animations are serialized and deserialized)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When uploading an animation from a BVH (BioVision Hierarchy) file, the viewer parses the BVH and serializes the animation data to be stored on the asset servers. The source code for the BVH parsing and animation data serialization is located in linden/indra/llcharacter/llbvhloader.cpp.

Later, when a viewer receives the animation data from the asset server, the viewer decodes/deserializes the internal format back into animation data to be played. The source code for deserializes the motion data is located in ``linden/indra/llcharacter/llkeyframemotion.cpp.