for my project, we want to know the outmost world positions still shown on the HMD. The extreme values from the viewport of the camera would be the appropriate approach to get those values.
Normally, I would use the camera object and calculate:
min = cam.ViewportToWorldPoint(new Vector3(0,0,1))
max = cam.ViewportToWorldPoint(new Vector3(1,1,1))
However, the camera objects for the eyes are not accessible in unity. The camera object on the FoveInterface doesn't deliver the actual viewport of the virtual scene.
Can someone help me?
Thanks in advance;
Please sign in to leave a comment.