{"action":"closed","number":8047,"pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/8047","id":57871045,"html_url":"https://github.com/mrdoob/three.js/pull/8047","diff_url":"https://github.com/mrdoob/three.js/pull/8047.diff","patch_url":"https://github.com/mrdoob/three.js/pull/8047.patch","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/8047","number":8047,"state":"closed","locked":false,"title":"Example stereo pano","user":{"login":"rnixik","id":1498878,"avatar_url":"https://avatars.githubusercontent.com/u/1498878?v=3","gravatar_id":"","url":"https://api.github.com/users/rnixik","html_url":"https://github.com/rnixik","followers_url":"https://api.github.com/users/rnixik/followers","following_url":"https://api.github.com/users/rnixik/following{/other_user}","gists_url":"https://api.github.com/users/rnixik/gists{/gist_id}","starred_url":"https://api.github.com/users/rnixik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnixik/subscriptions","organizations_url":"https://api.github.com/users/rnixik/orgs","repos_url":"https://api.github.com/users/rnixik/repos","events_url":"https://api.github.com/users/rnixik/events{/privacy}","received_events_url":"https://api.github.com/users/rnixik/received_events","type":"User","site_admin":false},"body":"This is a stereo panorama example.\r\nI have captured free demo scene Sun Temple from Unreal Engine 4 using SceneCaptureComponent2D (with rotations and supersampling), got two equirectangular projections for left and right eye. Then I converted them into cube-format. There is stereo issue with floor and ceil, I know how to fix it but I need more time with capturing in UE4. There are 4 additional tiles in atlas for proper dimension of file (power of two). But I did not manage to [get rid of seams](http://stackoverflow.com/questions/35113569/seams-on-cube-edges-when-using-texture-atlas-with-three-js). Then I used canvas and `drawImage` to split textures. So, extra black tiles are not necessary now. Resolution is poor because original png file is too heavy for repository (~20 MB). \r\n\r\nI have added webvr-polyfill because demo works on desktops (Chrome and Firefox). Also it should work with Oculus Rift (but did not tested this example).\r\nI have tested it on Samsung Note 4 (Android 4.4.4) with GearVR (cardboard mode) on Chrome 48.\r\n\r\nScreenshot (desktop) ![demo](http://s.getid.org/0fe656af92cfb073b.png) \r\n\r\n","created_at":"2016-02-01T17:22:18Z","updated_at":"2016-02-10T03:49:55Z","closed_at":"2016-02-10T03:49:55Z","merged_at":"2016-02-10T03:49:55Z","merge_commit_sha":"b1ff70594a3a9427203922b6669028b94953fd67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mrdoob/three.js/pulls/8047/commits","review_comments_url":"https://api.github.com/repos/mrdoob/three.js/pulls/8047/comments","review_comment_url":"https://api.github.com/repos/mrdoob/three.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/8047/comments","statuses_url":"https://api.github.com/repos/mrdoob/three.js/statuses/ebe818381e2dfd2b8cdf33cb4894859d3747e324","head":{"label":"rnixik:example-stereo-pano","ref":"example-stereo-pano","sha":"ebe818381e2dfd2b8cdf33cb4894859d3747e324","user":{"login":"rnixik","id":1498878,"avatar_url":"https://avatars.githubusercontent.com/u/1498878?v=3","gravatar_id":"","url":"https://api.github.com/users/rnixik","html_url":"https://github.com/rnixik","followers_url":"https://api.github.com/users/rnixik/followers","following_url":"https://api.github.com/users/rnixik/following{/other_user}","gists_url":"https://api.github.com/users/rnixik/gists{/gist_id}","starred_url":"https://api.github.com/users/rnixik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnixik/subscriptions","organizations_url":"https://api.github.com/users/rnixik/orgs","repos_url":"https://api.github.com/users/rnixik/repos","events_url":"https://api.github.com/users/rnixik/events{/privacy}","received_events_url":"https://api.github.com/users/rnixik/received_events","type":"User","site_admin":false},"repo":{"id":49055701,"name":"three.js","full_name":"rnixik/three.js","owner":{"login":"rnixik","id":1498878,"avatar_url":"https://avatars.githubusercontent.com/u/1498878?v=3","gravatar_id":"","url":"https://api.github.com/users/rnixik","html_url":"https://github.com/rnixik","followers_url":"https://api.github.com/users/rnixik/followers","following_url":"https://api.github.com/users/rnixik/following{/other_user}","gists_url":"https://api.github.com/users/rnixik/gists{/gist_id}","starred_url":"https://api.github.com/users/rnixik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnixik/subscriptions","organizations_url":"https://api.github.com/users/rnixik/orgs","repos_url":"https://api.github.com/users/rnixik/repos","events_url":"https://api.github.com/users/rnixik/events{/privacy}","received_events_url":"https://api.github.com/users/rnixik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rnixik/three.js","description":"JavaScript 3D library.","fork":true,"url":"https://api.github.com/repos/rnixik/three.js","forks_url":"https://api.github.com/repos/rnixik/three.js/forks","keys_url":"https://api.github.com/repos/rnixik/three.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rnixik/three.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rnixik/three.js/teams","hooks_url":"https://api.github.com/repos/rnixik/three.js/hooks","issue_events_url":"https://api.github.com/repos/rnixik/three.js/issues/events{/number}","events_url":"https://api.github.com/repos/rnixik/three.js/events","assignees_url":"https://api.github.com/repos/rnixik/three.js/assignees{/user}","branches_url":"https://api.github.com/repos/rnixik/three.js/branches{/branch}","tags_url":"https://api.github.com/repos/rnixik/three.js/tags","blobs_url":"https://api.github.com/repos/rnixik/three.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rnixik/three.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rnixik/three.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/rnixik/three.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rnixik/three.js/statuses/{sha}","languages_url":"https://api.github.com/repos/rnixik/three.js/languages","stargazers_url":"https://api.github.com/repos/rnixik/three.js/stargazers","contributors_url":"https://api.github.com/repos/rnixik/three.js/contributors","subscribers_url":"https://api.github.com/repos/rnixik/three.js/subscribers","subscription_url":"https://api.github.com/repos/rnixik/three.js/subscription","commits_url":"https://api.github.com/repos/rnixik/three.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/rnixik/three.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/rnixik/three.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/rnixik/three.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/rnixik/three.js/contents/{+path}","compare_url":"https://api.github.com/repos/rnixik/three.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rnixik/three.js/merges","archive_url":"https://api.github.com/repos/rnixik/three.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rnixik/three.js/downloads","issues_url":"https://api.github.com/repos/rnixik/three.js/issues{/number}","pulls_url":"https://api.github.com/repos/rnixik/three.js/pulls{/number}","milestones_url":"https://api.github.com/repos/rnixik/three.js/milestones{/number}","notifications_url":"https://api.github.com/repos/rnixik/three.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rnixik/three.js/labels{/name}","releases_url":"https://api.github.com/repos/rnixik/three.js/releases{/id}","deployments_url":"https://api.github.com/repos/rnixik/three.js/deployments","created_at":"2016-01-05T09:25:13Z","updated_at":"2016-01-05T09:25:18Z","pushed_at":"2016-02-09T16:04:23Z","git_url":"git://github.com/rnixik/three.js.git","ssh_url":"git@github.com:rnixik/three.js.git","clone_url":"https://github.com/rnixik/three.js.git","svn_url":"https://github.com/rnixik/three.js","homepage":"http://threejs.org/","size":357817,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mrdoob:dev","ref":"dev","sha":"6295c939392a5fc6033d9e5e28877dd48618275c","user":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"repo":{"id":576201,"name":"three.js","full_name":"mrdoob/three.js","owner":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrdoob/three.js","description":"JavaScript 3D library.","fork":false,"url":"https://api.github.com/repos/mrdoob/three.js","forks_url":"https://api.github.com/repos/mrdoob/three.js/forks","keys_url":"https://api.github.com/repos/mrdoob/three.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrdoob/three.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrdoob/three.js/teams","hooks_url":"https://api.github.com/repos/mrdoob/three.js/hooks","issue_events_url":"https://api.github.com/repos/mrdoob/three.js/issues/events{/number}","events_url":"https://api.github.com/repos/mrdoob/three.js/events","assignees_url":"https://api.github.com/repos/mrdoob/three.js/assignees{/user}","branches_url":"https://api.github.com/repos/mrdoob/three.js/branches{/branch}","tags_url":"https://api.github.com/repos/mrdoob/three.js/tags","blobs_url":"https://api.github.com/repos/mrdoob/three.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrdoob/three.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrdoob/three.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrdoob/three.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrdoob/three.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mrdoob/three.js/languages","stargazers_url":"https://api.github.com/repos/mrdoob/three.js/stargazers","contributors_url":"https://api.github.com/repos/mrdoob/three.js/contributors","subscribers_url":"https://api.github.com/repos/mrdoob/three.js/subscribers","subscription_url":"https://api.github.com/repos/mrdoob/three.js/subscription","commits_url":"https://api.github.com/repos/mrdoob/three.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrdoob/three.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrdoob/three.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrdoob/three.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrdoob/three.js/contents/{+path}","compare_url":"https://api.github.com/repos/mrdoob/three.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrdoob/three.js/merges","archive_url":"https://api.github.com/repos/mrdoob/three.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrdoob/three.js/downloads","issues_url":"https://api.github.com/repos/mrdoob/three.js/issues{/number}","pulls_url":"https://api.github.com/repos/mrdoob/three.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mrdoob/three.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mrdoob/three.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrdoob/three.js/labels{/name}","releases_url":"https://api.github.com/repos/mrdoob/three.js/releases{/id}","deployments_url":"https://api.github.com/repos/mrdoob/three.js/deployments","created_at":"2010-03-23T18:58:01Z","updated_at":"2016-02-10T01:27:16Z","pushed_at":"2016-02-10T03:49:55Z","git_url":"git://github.com/mrdoob/three.js.git","ssh_url":"git@github.com:mrdoob/three.js.git","clone_url":"https://github.com/mrdoob/three.js.git","svn_url":"https://github.com/mrdoob/three.js","homepage":"http://threejs.org/","size":437835,"stargazers_count":23210,"watchers_count":23210,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":7387,"mirror_url":null,"open_issues_count":570,"forks":7387,"open_issues":570,"watchers":23210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/8047"},"html":{"href":"https://github.com/mrdoob/three.js/pull/8047"},"issue":{"href":"https://api.github.com/repos/mrdoob/three.js/issues/8047"},"comments":{"href":"https://api.github.com/repos/mrdoob/three.js/issues/8047/comments"},"review_comments":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/8047/comments"},"review_comment":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/8047/commits"},"statuses":{"href":"https://api.github.com/repos/mrdoob/three.js/statuses/ebe818381e2dfd2b8cdf33cb4894859d3747e324"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":5,"additions":229,"deletions":1,"changed_files":3}}