Forum Discussion

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

Disable distortion with SDK distortion rendering

Just a suggestion with the C API, it would be nice to be able to disable the distortion when using SDK distortion rendering. This would allow us to easily turn off distortion rather than have a totally separate code path and custom rendering to a Quad on our side.

void ovrHmd_EndFrame(ovrHmd hmd, bool performDistortion = true)


Or the flag could be passed in BeginFrame instead if it helps. Just a thought!
Guy

2 Replies

  • "guygodin" wrote:
    Just a suggestion with the C API, it would be nice to be able to disable the distortion when using SDK distortion rendering. This would allow us to easily turn off distortion rather than have a totally separate code path and custom rendering to a Quad on our side.

    void ovrHmd_EndFrame(ovrHmd hmd, bool performDistortion = true)


    Or the flag could be passed in BeginFrame instead if it helps. Just a thought!
    Guy


    The alternate code path isn't that hard to build, and adding this to the API would only be useful for developers / debuggers and only in a limited number of circumstances. I'd rather the developers at OVR focus their limited time and resources on improving the overall core functionality of the SDK, and do things like restore OSX support
  • "jherico" wrote:
    The alternate code path isn't that hard to build, and adding this to the API would only be useful for developers / debuggers and only in a limited number of circumstances.

    I've already built the alternative code path, I was just suggesting it as others may need to do it. In my case it's a feature of the tool so it's more than a developer only feature. I think it's also useful if you want to output/record videos to demo your game.