FOVE SUPPORT CENTER

Same Image to Both Eyes

Comments

3 comments

  • Avatar
    Pierre

    Hello,

    You should be able to do that by inheriting (or directly modify) the FoveInterface class and overriding the UpdateEyePosition function.

    virtual protected void UpdateEyePosition(Vector3 left, Vector3 right)
    {
    _stereoData[0].position = left;
    _stereoData[1].position = right;
    }

    Set the 2 positions to left for rendering twice the left eye, to zero to render from the main camera, or to right to render twice the right eye. 

    Let me know if you face any issues.

    Best.

    1
    Comment actions Permalink
  • Avatar
    hello

    Thank you for the advice. I was able to directly modify the FoveInterface class to show what I wanted.

    I was hoping to be able to toggle back and forth "in-game" between the no-depth and in-depth viewing. How would the inheritance work for this? (I apologize, I am fairly new to programming)

     

    0
    Comment actions Permalink
  • Avatar
    Pierre

    Hello,

    You can simply add a new property or function to the FoveInterface class and control it from your script to switch the mode.

    0
    Comment actions Permalink

Please sign in to leave a comment.