Skip to content

Commit

Permalink
feat(Editor/Runtime/Samples): Update for v60
Browse files Browse the repository at this point in the history
Summary:
BREAKING CHANGE: Samples rely on scripts found in v60 of the Meta SDK.

Editor:
- Add OVRProjectSetupMovementSDKSamples task to integrate with the Oculus Project Setup Tool for sample specific tasks
- Remove ProjectValidationWindow, as the Project Setup Tool is used instead now

Runtime:
- Add support for tongue tracking
- Add DeformationRig for driving available correctives on the face
- Add full body for retargeting
- Add full body animation constraints
- Add toggle between high and low fidelity upper body tracking (IOBT)
- Add body tracking calibration example
- Updated helper menus to include setup for full body, and new constraints for upper body
- Updated locomotion to support full body, and fix several bugs with locomotion
- Updated locomotion to use animation blending between tracking (full body) and the locomotion animator

Samples:
- Updated the MovementAura scene with tongue support
- Updated the MovementRetargeting scene to use a full body
- Updated the MovementISDKIntegration scene to use a full body
- Updated the MovementLocomotion scene to use a full body

DEPRECATED: All legacy scripts have been placed in the Legacy folder. This includes the following: CustomMappings, FullBodyCustomMappings, AnimationConstraintMasker.

Reviewed By: sohailshafiiWk

Differential Revision: D52219081

fbshipit-source-id: 3dbdebc730609ec9c51ea8dee581ef36c831e9db
  • Loading branch information
Andrew Kim authored and facebook-github-bot committed Dec 16, 2023
1 parent a0341bd commit 8d5f1bb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Editor/Utils/OVRProjectSetupMovementSDKSamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ static OVRProjectSetupMovementSDKSamplesTasks()
level: OVRProjectSetup.TaskLevel.Required,
group: _group,
platform: BuildTargetGroup.Android,
isDone: group => OVRRuntimeSettings.GetRuntimeSettings().BodyTrackingFidelity == OVRPlugin.BodyTrackingFidelity2.High,
isDone: group => OVRRuntimeSettings.Instance.BodyTrackingFidelity == OVRPlugin.BodyTrackingFidelity2.High,
message: "Body Tracking Fidelity should be set to High.",
fix: group => OVRRuntimeSettings.GetRuntimeSettings().BodyTrackingFidelity = OVRPlugin.BodyTrackingFidelity2.High,
fix: group =>
{
OVRRuntimeSettings.Instance.BodyTrackingFidelity = OVRPlugin.BodyTrackingFidelity2.High;
OVRRuntimeSettings.CommitRuntimeSettings(OVRRuntimeSettings.Instance);
},
fixMessage: "Set OVRRuntimeSettings.BodyTrackingFidelity = High"
);

Expand All @@ -46,7 +50,11 @@ static OVRProjectSetupMovementSDKSamplesTasks()
platform: BuildTargetGroup.Android,
isDone: group => OVRRuntimeSettings.GetRuntimeSettings().BodyTrackingJointSet == OVRPlugin.BodyJointSet.FullBody,
message: "Body Tracking Joint Set should be set to Full Body.",
fix: group => OVRRuntimeSettings.GetRuntimeSettings().BodyTrackingJointSet = OVRPlugin.BodyJointSet.FullBody,
fix: group =>
{
OVRRuntimeSettings.Instance.BodyTrackingJointSet = OVRPlugin.BodyJointSet.FullBody;
OVRRuntimeSettings.CommitRuntimeSettings(OVRRuntimeSettings.Instance);
},
fixMessage: "Set OVRRuntimeSettings.BodyTrackingJointSet = FullBody"
);

Expand Down

0 comments on commit 8d5f1bb

Please sign in to comment.