I have an iPhone 4S and with the Durovis SDK I tried earlier on, I had to adapt to the smaller 3,5 screen on my phone. Instead of setting the left/right cameras to each take 50% of the screen, I had to adjust them as follows:
left camera = 25% width, aligned to the left (x=0)
right camera = 25% width, aligned to the right (x=0.75)
Height can stay at 100%
This reconstructed the stereo view, albeit with a smaller view (the middle of the screen stays empty).
With the CardboardSDK-iOS, I did set both left/right camera's that way, but the rendering of the two cameras to the main camera does not take this into account.
Any hints on where do I have to adjust this?
I was looking at CopyCameraAndMakeSideBySide in CardboardEye.cs but not sure how to adapt it.
If there is a simpler method, that would also be fine.
Maybe the stereo-setting?
Maybe the spacing between the two camera's?
With bigger screens, your eye center is nicely in the middle of half the screen, but we have to adapt this for smaller (e.g. iPhone 4S) or bigger (iPad) screens.
I have an iPhone 4S and with the Durovis SDK I tried earlier on, I had to adapt to the smaller 3,5 screen on my phone. Instead of setting the left/right cameras to each take 50% of the screen, I had to adjust them as follows:
left camera = 25% width, aligned to the left (x=0)
right camera = 25% width, aligned to the right (x=0.75)
Height can stay at 100%
This reconstructed the stereo view, albeit with a smaller view (the middle of the screen stays empty).
With the CardboardSDK-iOS, I did set both left/right camera's that way, but the rendering of the two cameras to the main camera does not take this into account.
Any hints on where do I have to adjust this?
I was looking at CopyCameraAndMakeSideBySide in CardboardEye.cs but not sure how to adapt it.
If there is a simpler method, that would also be fine.
Maybe the stereo-setting?
Maybe the spacing between the two camera's?
With bigger screens, your eye center is nicely in the middle of half the screen, but we have to adapt this for smaller (e.g. iPhone 4S) or bigger (iPad) screens.