{"action":"created","issue":{"url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS/issues/7","repository_url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS","labels_url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS/issues/7/comments","events_url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS/issues/7/events","html_url":"https://github.com/rsanchezsaez/CardboardSDK-iOS/issues/7","id":75161626,"number":7,"title":"What about smaller screens? e.g. not 50/50 split","user":{"login":"stefkeB","id":1118880,"avatar_url":"https://avatars.githubusercontent.com/u/1118880?v=3","gravatar_id":"","url":"https://api.github.com/users/stefkeB","html_url":"https://github.com/stefkeB","followers_url":"https://api.github.com/users/stefkeB/followers","following_url":"https://api.github.com/users/stefkeB/following{/other_user}","gists_url":"https://api.github.com/users/stefkeB/gists{/gist_id}","starred_url":"https://api.github.com/users/stefkeB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefkeB/subscriptions","organizations_url":"https://api.github.com/users/stefkeB/orgs","repos_url":"https://api.github.com/users/stefkeB/repos","events_url":"https://api.github.com/users/stefkeB/events{/privacy}","received_events_url":"https://api.github.com/users/stefkeB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-11T10:01:07Z","updated_at":"2016-04-15T15:44:09Z","closed_at":null,"body":"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:\r\nleft camera = 25% width, aligned to the left (x=0)\r\nright camera = 25% width, aligned to the right (x=0.75)\r\nHeight can stay at 100%\r\n\r\nThis reconstructed the stereo view, albeit with a smaller view (the middle of the screen stays empty).\r\n\r\nWith 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.\r\n\r\nAny hints on where do I have to adjust this?\r\nI was looking at CopyCameraAndMakeSideBySide in CardboardEye.cs but not sure how to adapt it.\r\n\r\nIf there is a simpler method, that would also be fine.\r\nMaybe the stereo-setting?\r\nMaybe the spacing between the two camera's?\r\n\r\nWith 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."},"comment":{"url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS/issues/comments/210512381","html_url":"https://github.com/rsanchezsaez/CardboardSDK-iOS/issues/7#issuecomment-210512381","issue_url":"https://api.github.com/repos/rsanchezsaez/CardboardSDK-iOS/issues/7","id":210512381,"user":{"login":"andr3wmac","id":862932,"avatar_url":"https://avatars.githubusercontent.com/u/862932?v=3","gravatar_id":"","url":"https://api.github.com/users/andr3wmac","html_url":"https://github.com/andr3wmac","followers_url":"https://api.github.com/users/andr3wmac/followers","following_url":"https://api.github.com/users/andr3wmac/following{/other_user}","gists_url":"https://api.github.com/users/andr3wmac/gists{/gist_id}","starred_url":"https://api.github.com/users/andr3wmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andr3wmac/subscriptions","organizations_url":"https://api.github.com/users/andr3wmac/orgs","repos_url":"https://api.github.com/users/andr3wmac/repos","events_url":"https://api.github.com/users/andr3wmac/events{/privacy}","received_events_url":"https://api.github.com/users/andr3wmac/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T15:44:09Z","updated_at":"2016-04-15T15:44:09Z","body":"I'm running into a similar issue. On iPhone 5 and iPhone 5s the eyes are cut off by the edge of the screen. Looks to show about 60-70% of the eyes then the rest is cut off. On iPad I can see fully see both eyes. Any advice on correcting this? If I figure out I'll PR it."}}