How to display the camera view in VR mode?

I want to display a VR camera view for headsets. Can't find a sample of how to do this in google or google documentation.

In theory, I suppose that I should display two cameras at once or something similar to each with 50% of the screen width, but I'm not sure if this is the correct way to solve this problem. It is also necessary to respect the proportions. It's a little frustrating not to find information or guidance on how to achieve this.

I am sure these should be easy ways to achieve it, because there are many apps in the google game that show the camera in VR mode.

Any help or code examples on how to achieve it would be much appreciated.

thank

+3


source to share


1 answer


It may be late, but this is exactly what you are looking for. Try the sample "gvr-vuforia" from the project link: https://github.com/gearvrf/GearVRf-Demos



0


source







All Articles