Forum Discussion
Saangi
10 years agoHonored Guest
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?
6 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffThis is not directly possible. You could make a third camera with target eye = none to render whatever you wanted to the main display though.
- SaangiHonored GuestTo ask, is it possible to use this to render the right eye?
http://docs.unity3d.com/540/Documentation/ScriptReference/VR.VRSettings-showDeviceView.html - SaangiHonored Guest
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. - vrdavebOculus StaffThat 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.
- SaangiHonored GuestI 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?? - vrdavebOculus StaffHere 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device