Porting From VIVE Wave to VIVE OpenXR
If you were developing on the VIVE WAVE - All-in-One, you will need to pay attention to the following items when porting your project to the VIVE OpenXR - All-in-One.
Understanding Pose Origins
- Floor: To get the pose corresponding to the floor plane, use the following settings:
- Wave Plugin: Set the
WVR_PoseOriginModel
function parameter toWVR_PoseOriginModel_OriginOnGround
. - OpenXR Plugin: Set the XrSpace parameter to
XR_REFERENCE_SPACE_TYPE_STAGE
.
- Wave Plugin: Set the
- Head: To get the pose corresponding to the user's head, use the following settings:
- Wave Plugin: Set the
WVR_PoseOriginModel
function parameter toWVR_PoseOriginModel_OriginOnHead
. - OpenXR Plugin: Set the XrSpace parameter to
XR_REFERENCE_SPACE_TYPE_LOCAL
.
- Wave Plugin: Set the
• Wave plugin function
WVR_EXPORT void WVR_GetPoseState (WVR_DeviceType type, WVR_PoseOriginModel originModel, uint32_t predictedMilliSec, WVR_PoseState_t * poseState)
• OpenXR plugin function
XrResult xrLocateSpace (XrSpace space, XrSpace baseSpace, XrTime time, XrSpaceLocation* location)