Skip to main content
New Participant
April 14, 2017

Getting a projection matrix in unity

Hey there,

I am trying to write a mirror script in unity accurately. For this i'm trying to get the position, rotation, and projection matrix per eye of the oculus. However I am having a hell of a time getting an accurate per eye projection matrix. There seems to be almost enough data from the OVRPlugin Frustrumf struct but not enough to fully make an accurate calculation. Is there anywhere in the oculus utils for unity to get this data or any calculation anyone can share?
    This topic has been closed for replies.

    1 reply

    kojack
    Honored Contributor
    April 14, 2017
    (Moved to Unity developer section)
    Author: Oculus Monitor , Auto Oculus Touch , Forum Dark Mode , Phantom Touch Remover , X-Plane Fixer Hardware: Threadripper 1950x, MSI Gaming Trio 2080TI, Asrock X399 Taich Headsets: Wrap 1200VR, DK1, DK2, CV1, Rift-S, GearVR, Go, Quest, Quest 2, Reverb G2, Quest 3