Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Vrally's avatar
Vrally
Protege
11 years ago

When is ovrTrackingState.CameraPose updated?

I need to calculate the exact position of the HMD in world space and I know exact where the HMD camera is in world coordinates. Since ovrTrackingState.HeadPose.ThePose returns were the head is relative the origin and ovrTrackingState.CameraPose returns where the Camera is relative the origin, this calculation is quite simple.

The origin gets reset everytime you call ovrHmd_RecenterPose() which result in changing values of the CameraPose.

But I am also seeing that the ovrTrackingState.CameraPose values changes now and then, even if I don't call ovrHmd_RecenterPose().

Under what conditions do the ovrTrackingState.CameraPose change?

2 Replies

  • I know it is GDC and all, but I would really appreciate if someone from Oculus could give me some detail into this issue. The fact that ovrTrackingState.CameraPose is changing without anyone triggering the ovrHmd_RecenterPose() function is kind of frustrating...