|
group2 0.1.0
CSE 125 Group 2
|
Assimp ↔ ozz ↔ GLM conversion helpers shared by the rig and animation library loaders. More...
#include <assimp/matrix4x4.h>#include <assimp/scene.h>#include <ozz/animation/offline/raw_skeleton.h>#include <ozz/base/maths/quaternion.h>#include <ozz/base/maths/simd_math.h>#include <ozz/base/maths/vec_float.h>#include <glm/glm.hpp>#include <string>#include <unordered_map>#include <unordered_set>Go to the source code of this file.
Classes | |
| struct | anim_utils::JointRestPose |
| Rest-pose local transform cached during skeleton building, reused as a fallback keyframe for joints without animation channels. More... | |
Namespaces | |
| namespace | anim_utils |
Functions | |
| glm::mat4 | anim_utils::ozzToGlm (const ozz::math::Float4x4 &m) |
| Convert an ozz SIMD 4x4 matrix to a GLM column-major mat4. | |
| glm::mat4 | anim_utils::aiToGlm (const aiMatrix4x4 &m) |
| Convert an Assimp row-major 4x4 matrix to GLM column-major. | |
| bool | anim_utils::buildJoint (const aiNode *node, const std::unordered_set< std::string > &boneNames, ozz::animation::offline::RawSkeleton::Joint &outJoint, std::unordered_map< std::string, JointRestPose > &restPoses) |
| Recursively build a RawSkeleton joint tree from the Assimp node hierarchy. | |
Assimp ↔ ozz ↔ GLM conversion helpers shared by the rig and animation library loaders.