bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

Reset sensor orientation required. #52

Closed ChrisDenham closed 6 years ago

ChrisDenham commented 9 years ago

Since updating to the 0.6.0.1 version, I've noticed that I seem to need to call OculusDevice::resetSensorOrientation() i.e. ovrHmd_RecenterPose(m_hmdDevice); every time I restart my application because the default orientation seems to be different from the recentered pose. Am I doing something wrong? Or do we need to add an explicit call to recenter pose on application/viewer startup?

bjornblissing commented 8 years ago

In the 1.3 SDK there is a new function ovr_GetSessionStatus::ShouldRecenter which should be used to trigger ovr_RecenterTrackingOrigin when needed.

bjornblissing commented 6 years ago

Unable to reproduce the error using the current version of the Oculus SDK (1.20.0).