Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

OvrSceneView::GetEyeProjectionMatrix ignores eye parameter... why?

IzhidoIzhido Posts: 5
I'm confused about this. The samples in the OVR SDK seem to use this to generate the projection matrices "per eye"... but, somehow, the eye parameter in the method is simply ignored, and a projection matrix based only on horizontal / vertical FOV and near distance is generated for both eyes.

The documentation for the method says "We may want to make per-eye projection matrices if we move away from nearly-centered lenses", but I´m not sure what it actually means. Anyone care to comment a bit further on this?


  • xSzlobixxSzlobix Posts: 4
    Can you link me to the dokumentation?

    As far as I know, there are 2 projection matrices computed for each eye, the eye offset is not calculated in the matrices themselves, but the image rendered is made rendered by 2 cameras, one for each eye, from the eyes respective location, using the oer eye projection matrices.

    Can you let me know the values the SDK uses for calculating the matrices, please?

    Thank you and good luck!
Sign In or Register to comment.