Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

HTC Vive FOV / PC Screen FOV

Discussion in 'Scripting' started by mathaout, Jun 14, 2018.

  1. mathaout

    mathaout

    Joined:
    Aug 16, 2017
    Posts:
    4
    I am currently doing demonstrations with HTC Vive. Unfortunately, the field of view of my Vive is different from the screen. When I think to show something on the screen (visible through in my HTC), it is out of field for visitors.

    So I want to create a frame showing the field of view of PC screen when I'm in the Vive (like the photo below). However, the resolution returned by Unity is that of the HTC Vive and not the PC screen.



    How can I do this? Do you have any idea?

    Thank you in advance!

    Sorry for my bad english :(
     
  2. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,091
    The FoV of the HTC vive is a locked value.

    https://docs.unity3d.com/Manual/VROverview.html
    "Each Camera that is rendering to the device automatically replaces the FOV of the Camera with the FOV that the user input in the software settings for each VR SDK. The user cannot change the field of view during runtime, because this behaviour is known to induce motion sickness."