Skip to main content
Up and Coming
August 13, 2014

Does the OVRcontroller instansiate camera at runtime?

I've noticed that the 0.4.1 OVR controller instansiates a camera at runtime.

I'm wondering what the function of that new camera is? It's created as a component under the OVR parent. I'm guessing it's used for the GUI but not sure.
    This topic has been closed for replies.

    2 replies

    Up and Coming
    August 15, 2014
    If I'm not mistaken it's not actually rendering any Unity content. It exists as a hack to force Unity to render the left and right eye cameras. I'm not 100% sure though.
    Inspiring
    August 16, 2014
    That is correct. OVRCameraController makes sure there is a Camera on its GameObject at startup. It sets the Camera to be trivial to render. It doesn't contribute to the final output or GUI, but just forces Unity to render the left and right eye textures. They get composited in our native plugin.