Skip to main content
New Participant
March 12, 2015

Separate cameras of OVRCameraRig

Hi guys,

I've mounted two webcams onto my DK2 (like William Steptoe once did), where each webcam is displayed on a plane in Unity.
I now have to separate the CameraRig so that each OVR-camera only sees one plane.

I'm pretty sure that some modification has to be made in "OVRCameraRig.cs" and that it has something to do with "leftEyeAnchor" and "rightEyeAnchor" but I don't know which line has to be edited and how.

Thanks.
    This topic has been closed for replies.

    1 reply

    Inspiring
    March 24, 2015
    No, you don't want to touch the spacing between the cameras. This will cause problems and make people uncomfortable.

    What you want to do is use layers so you can display a different plane in each eye (but each plane should be the same size and in the same position as each other).

    See here: http://docs.unity3d.com/Manual/Layers.html

    Hope that helps.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV