Example of SDK Distortion for Generic Plugin
A lot of people are probably facing the same problem: how to integrate rift distortion into an existing game engine, for example via plug-in.
Getting hmd position and direction is easy, but doing the actual sdk distortion is pretty challenging.
It sounds easy from the steps described in the sdk, but practically speaking...
( Tuscany has pretty deep dependencies on Common Platform and Render, which are quite tough to dissect.
Tiny on the other hand is not cross-platform. )
Optimally this could be an sdk feature, to accept a texture handle and work with it, to let developers avoid the convoluted setup completely?
I wonder if anybody would be so kind as to share a minimal example in which you pass an existing texture, rendered by the game engine, to ovrHmd_EndFrame EyeTextures?
Getting hmd position and direction is easy, but doing the actual sdk distortion is pretty challenging.
It sounds easy from the steps described in the sdk, but practically speaking...
( Tuscany has pretty deep dependencies on Common Platform and Render, which are quite tough to dissect.
Tiny on the other hand is not cross-platform. )
Optimally this could be an sdk feature, to accept a texture handle and work with it, to let developers avoid the convoluted setup completely?
I wonder if anybody would be so kind as to share a minimal example in which you pass an existing texture, rendered by the game engine, to ovrHmd_EndFrame EyeTextures?
