Forum Discussion
edorachlee
7 years agoHonored Guest
How to display two separate camera feeds under OVRCameraRig
I'm trying to display two separate camera feeds in Unity in real time, and I've been successful so far using WebCamTexture and two planes.
This was easy in basic Unity as I just needed to attach my script to the planes under MainCamera, but I was unsure how I could achieve the same results when using OVRCameraRig. I've currently got the two planes as children of LeftEyeAnchor and RightEyeAnchor and modified the scripts for each one. This setup seems to be problematic, however, as only the plane under LeftEyeAnchor displays the feed and the plane under RightEyeAnchor doesn't do anything. Could anyone point me in the right direction?
This was easy in basic Unity as I just needed to attach my script to the planes under MainCamera, but I was unsure how I could achieve the same results when using OVRCameraRig. I've currently got the two planes as children of LeftEyeAnchor and RightEyeAnchor and modified the scripts for each one. This setup seems to be problematic, however, as only the plane under LeftEyeAnchor displays the feed and the plane under RightEyeAnchor doesn't do anything. Could anyone point me in the right direction?
1 Reply
Replies have been turned off for this discussion
- MikeSwansonProtegeHave you enabled Use Per Eye Cameras on OVRCameraRig? Also, have you created layers for your planes and updated the camera culling masks? Perhaps the Oculus script does this automatically...I don't recall.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 11 years ago