Forum Discussion
HartLabs
12 years agoHonored Guest
0.4.2 to 0.4.3 SDK Change List/Update Tips
So I just updated from 0.4.2 to 0.4.3 and there were a bunch of changes to the SDK which I needed to incorporate into my code. I listed the ones I was affected by here to aid others in their updating.
ovrHmd_GetEyePose is depreciated so remove:
add:
eyeRenderDesc.ViewAdjust is depreciated so remove:
add:
Position returned by ovrHmd_GetEyePoses now includes the View Adjust translation already, so for head position replace:
with:
Feel free to add other tips in this thread!
ovrHmd_GetEyePose is depreciated so remove:
eyeRenderPose[eye] = ovrHmd_GetEyePose(hmd, eye);
add:
ovrVector3f hmdToEyeViewOffset[2];
hmdToEyeViewOffset[0] = eyeRenderDesc[0].HmdToEyeViewOffset;
hmdToEyeViewOffset[1] = eyeRenderDesc[1].HmdToEyeViewOffset;
ovrHmd_GetEyePoses(hmd, 0, hmdToEyeViewOffset, eyeRenderPose, NULL);
eyeRenderDesc.ViewAdjust is depreciated so remove:
eyeRenderDesc[eye].ViewAdjust
add:
eyeRenderDesc[eye].HmdToEyeViewOffset
Position returned by ovrHmd_GetEyePoses now includes the View Adjust translation already, so for head position replace:
eyeRenderPose[eye].Position
with:
ovrTrackingState trackingState = ovrHmd_GetTrackingState(hmd, 0);
trackingState.HeadPose.ThePose.Position
Feel free to add other tips in this thread!
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years ago
- 5 months ago
- 2 years ago