Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
JustNerdThings's avatar
JustNerdThings
Honored Guest
11 years ago

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.

1 Reply

Replies have been turned off for this discussion
  • 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.