Forum Discussion

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

Questions about two cameras and GUI

Hi all, I am developing a software with Unity and Oculus Rift, I need the user to have the oculus see the entire scene but audience can see the normal scene and a GUI to interact with the environment. It is possible?

4 Replies

Replies have been turned off for this discussion
  • kersk's avatar
    kersk
    Meta Employee
    I'd recommend approaching that as a multiplayer networked app with two different clients, one for VR and one for the audience. That would give you complete freedom to do what you want with each view point.
  • Hi,

    oh, I'm surprised I have to set up a network system for something so simple, maybe have not explained well, I'm doing a software simulation, I need the user to only see the scene and not the interface (as shown in the first image), 2.tiff I want to control the simulation through an interface (as shown in the second image), I tested the camera eye to making a culling mask interface but has no effect (I am using Ngui) , I'm missing ?? 1.tiff I'll take the thread to ask another question, because when I approach to the door is inflated3.tiff?
  • kersk's avatar
    kersk
    Meta Employee
    The window that is visible on the desktop is just a mirror of what is presented to the VR user. We don't currently support a way to render different content in that window.

    If you just want to do a quick test prototype of your idea, one workaround could be to only render the UI within the black space of the frame that is not visible to the VR user. Another option is to not have a UI for the audience at all, and instead only have keyboard shortcuts. The VR user could use another input device such as a controller, and the audience uses the keyboard, for example. These aren't great solutions though. I know it adds complexity, but I would still recommend a multiple client approach since it will give you the most flexibility to develop your app without any restrictions.