Forum Discussion
Scawen
11 years agoHeroic Explorer
Request : Provide Refresh Rate in the ovrHmd structure
For various reasons (e.g. determining the optimal pattern of physics steps per visual frame) it would be good to know the refresh rate of the HMD.
I know there is a value FrameIntervalSeconds in the ovrFrameTiming structure returned by the ovrHmd_GetFrameTiming function that is called every frame in the game loop. But it looks as if this is a precise measurement of each frame. It would be good to know the refresh rate of the device at the point of initialisation.
What I am guessing would be the way, is a refresh rate value in the ovrHmd structure filled in by the ovrHmd_Create function.
I know there is a value FrameIntervalSeconds in the ovrFrameTiming structure returned by the ovrHmd_GetFrameTiming function that is called every frame in the game loop. But it looks as if this is a precise measurement of each frame. It would be good to know the refresh rate of the device at the point of initialisation.
What I am guessing would be the way, is a refresh rate value in the ovrHmd structure filled in by the ovrHmd_Create function.
6 Replies
- cyberealityGrand ChampionCan you see if this works for you:
ovr_GetFloat(m_hmd, "VsyncToNextVsync", 0.f)
- ScawenHeroic ExplorerThanks, I will check that out.
- cyberealityGrand ChampionYou can also check "DisplayRefreshRate" in the "ovrHmdDesc_".
- ScawenHeroic ExplorerI did search for things like that but I can't find it in the ovrHmdDesc described in the "OVR_CAPI_0_6_0.h" file in the 0.6.0.1 SDK.
- cyberealityGrand ChampionAh, yes. DisplayRefreshRate was added in 0.7 so it will be available soon.
- ScawenHeroic ExplorerGreat, thanks!
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
- 3 months ago
- 2 months ago