mdlpp: add animation, sequence, flex, and IK support #85
+1,402
−83
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
put head in wood chipper for 1 week see what comes out
New
Added support for bone animation data with compressed quaternions/vectors and RLE decompression, animation descriptors with frame count/fps/flags, IK rules/chains/links and error data, and movement/velocity data.
Sequence parsing now includes descriptors with blending and timing, animation events, auto layers, IK locks, activity names/weights, keyvalue strings, and pose parameters.
Flex/facial system includes eyeball movement parameters, vertex animations, flex controllers/UI config/rules/operators (all flex operation types), mesh flex controllers, and mouth bone references.
Also added all 21 bone flags, attachment points on bones, external model and animation block references, and basic Header2 parsing.
Tested with the included v44, v47,and v49 MDL files and my own v48s (TF2 Heavy and Bot Heavy models).
WIP
animBlock == 0)animIndexIndex,weightListIndex,poseKeyIndex,cyclePoseIndex