Skip to content

Commit

Permalink
Merge pull request #18 from qualisys/update_qavatar_with_fingers
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilRosenquist authored Mar 5, 2021
2 parents 9198efe + 93f1b40 commit fc7d853
Show file tree
Hide file tree
Showing 18 changed files with 177 additions and 52 deletions.
Binary file modified Example Project/Content/BackFlip.umap
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/Body_D_red.uasset
Binary file not shown.
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/Body_R.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/Mask_D.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/QAFace.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/QAMask.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/QASuit_B.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/QAvatar.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/QAvatar_PhysicsAsset.uasset
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/QAvatar_Skeleton.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Example Project/Content/QAvatar/face_D.uasset
Binary file not shown.
2 changes: 1 addition & 1 deletion Example Project/ExampleProject.uproject
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"FileVersion": 3,
"EngineAssociation": "4.25",
"EngineAssociation": "4.26",
"Category": "",
"Description": "",
"Plugins": [
Expand Down
Binary file modified Example Project/Saved/AutoScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ class QTMCONNECTLIVELINK_API UQualisysLiveLinkRetargetAsset : public ULiveLinkRe
bool DebugTPose;

private:
TArray<FQuat> LocalPoseCorrections;
TArray<FQuat> TargetLocalPoseCorrections;
TArray<FCompactPoseBoneIndex> CompactPoseBoneIndices;

int32 GetSourceBoneIndex(const FCompactPoseBoneIndex& Index);
FTransform GetRefPose(const FCompactPose& Pose, const FCompactPoseBoneIndex& Index, bool UsePoseCorrection);

FTransform GetWorldPose(const FCompactPose& Pose, const FCompactPoseBoneIndex& Index, bool UsePoseCorrection);
FTransform GetWorldReferencePose(const FCompactPose& Pose, const FCompactPoseBoneIndex& Index, bool UsePoseCorrection);
};

0 comments on commit fc7d853

Please sign in to comment.