Skip to main content
Up and Coming
February 26, 2015

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

    VrallyAuthor
    Up and Coming
    March 4, 2015
    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...
    Inspiring
    March 4, 2015
    I'll see if anyone knows.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV