Forum Discussion
baba-k
10 years agoHonored Guest
ovrFrameTiming usage
Hello!
I'm in the process of writing some code for viewing 360 images on an Oculus but am a bit unclear as to whether I need to worry about the ovrFrameTiming object returned by ovrHmd_BeginFrame ? I'm using SDK distortion (0.4.4), no position tracking, and rendering with timewarp enabled at over 75fps. It seems fine but frame timing is mentioned a few times in the docs and in the examples so I'm a bit confused. In what circumstances should the ovrFrameTiming object be used ?
thanks!
I'm in the process of writing some code for viewing 360 images on an Oculus but am a bit unclear as to whether I need to worry about the ovrFrameTiming object returned by ovrHmd_BeginFrame ? I'm using SDK distortion (0.4.4), no position tracking, and rendering with timewarp enabled at over 75fps. It seems fine but frame timing is mentioned a few times in the docs and in the examples so I'm a bit confused. In what circumstances should the ovrFrameTiming object be used ?
thanks!
2 Replies
- cyberealityGrand ChampionYou use it like this:
frameTiming = ovrHmd_BeginFrameTiming(hmd, 0);
ovrTrackingState ts = ovrHmd_GetTrackingState(hmd, frameTiming.ScanoutMidpointSeconds); - baba-kHonored GuestHi,
Thanks for your reply.
I meant more when/why should it be used ? I'm calling ovrHmd_BeginFrame/ovrHmd_GetEyePoses not the functions you suggested, is that okay ?
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
- 1 month ago
- 3 years ago
- 9 months ago