Skip to main content
New Participant
June 21, 2016

How to view content in right eye from Unity + Oculus Rift from primary monitor



Completely new to Unity Here. I'm using Unity 5.3.4f1 to make a VR Game on Oculus Rift.



Currently I'm using the setting under the OVRCameraRig to target display to be right eye only.
This is the setting for the Camera



In order to monitor what the player is doing, I would like to display
his right eye on the primary monitor. However, for some weird reason
the content rendered on the primary monitor is the one from his left eye
which is blacked out.



Could someone help me with figuring out how to do so?



This topic has been closed for replies.

6 replies

Inspiring
June 21, 2016
This is not directly possible. You could make a third camera with target eye = none to render whatever you wanted to the main display though.
SaangiAuthor
New Participant
June 21, 2016
SaangiAuthor
New Participant
June 21, 2016

vrdaveb said:

This is not directly possible. You could make a third camera with target eye = none to render whatever you wanted to the main display though.



Just to clarify when you said third camera, all i need to do is duplicate the current camera i'm using and then change the target eye to none? Because that's what I did but it didn't render on the main display.
Inspiring
June 21, 2016
That should work. Next to Target Eye there is also a Display option. What is that set to? If the Camera is still a child of your OVRCameraRig, it may be getting disabled. Try moving it to another GameObject.
SaangiAuthor
New Participant
June 22, 2016
I duplicated the entire OVRCameraRig as shown in here and added it to another GameObject.
The settings for the first camera under OVRCameraRig is this:

And the settings for the second camera under OVRCameraRig is this:



Do i have to change the Display to another display like Display 2? are there any other scripts to attach or write to any of the camera??

Inspiring
June 22, 2016
Here is how I would set it up. Make your "Right Camera" a child of the main VR camera and translate it to the right by 0.03m. The parent Camera will render to the headset (both eyes) and the "Right Camera" will render only to the main monitor, from the perspective of the right eye.