{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/42","id":98165634,"html_url":"https://github.com/Microsoft/DirectXTex/pull/42","diff_url":"https://github.com/Microsoft/DirectXTex/pull/42.diff","patch_url":"https://github.com/Microsoft/DirectXTex/pull/42.patch","issue_url":"https://api.github.com/repos/Microsoft/DirectXTex/issues/42","number":42,"state":"open","locked":false,"title":"[TexConv] Add alpha coverage to mipmap generation.","user":{"login":"CM-SamOates","id":24584636,"avatar_url":"https://avatars.githubusercontent.com/u/24584636?v=3","gravatar_id":"","url":"https://api.github.com/users/CM-SamOates","html_url":"https://github.com/CM-SamOates","followers_url":"https://api.github.com/users/CM-SamOates/followers","following_url":"https://api.github.com/users/CM-SamOates/following{/other_user}","gists_url":"https://api.github.com/users/CM-SamOates/gists{/gist_id}","starred_url":"https://api.github.com/users/CM-SamOates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CM-SamOates/subscriptions","organizations_url":"https://api.github.com/users/CM-SamOates/orgs","repos_url":"https://api.github.com/users/CM-SamOates/repos","events_url":"https://api.github.com/users/CM-SamOates/events{/privacy}","received_events_url":"https://api.github.com/users/CM-SamOates/received_events","type":"User","site_admin":false},"body":"Alpha coverage increases alpha accuracy at lower mip levels by scaling the alpha channel based upon the alpha coverage of the original image.\r\n\r\nAlpha coverage takes a ratio between 0 and 1, Any number greater than 1 disables alpha coverage.\r\nThe default value (if the command line option is not supplied) is 1, disabling the feature by default.\r\n\r\nThis technique allows noisy textures (such as leaves on a tree) to retain a high accuracy in the mips when compared against the original source image.\r\n\r\nAn overview of the technique implemented can be found here: http://the-witness.net/news/2010/09/computing-alpha-mipmaps/\r\nHowever, some optimizations have been made, as well as using multi-sampling from the source image to give a smoother distribution within the alpha of the mips.","created_at":"2016-12-15T14:56:43Z","updated_at":"2016-12-15T14:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/42/commits","review_comments_url":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/42/comments","review_comment_url":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/DirectXTex/issues/42/comments","statuses_url":"https://api.github.com/repos/Microsoft/DirectXTex/statuses/ec577d253cac79db7f6afd27f8926644b37b57e8","head":{"label":"CM-SamOates:master","ref":"master","sha":"ec577d253cac79db7f6afd27f8926644b37b57e8","user":{"login":"CM-SamOates","id":24584636,"avatar_url":"https://avatars.githubusercontent.com/u/24584636?v=3","gravatar_id":"","url":"https://api.github.com/users/CM-SamOates","html_url":"https://github.com/CM-SamOates","followers_url":"https://api.github.com/users/CM-SamOates/followers","following_url":"https://api.github.com/users/CM-SamOates/following{/other_user}","gists_url":"https://api.github.com/users/CM-SamOates/gists{/gist_id}","starred_url":"https://api.github.com/users/CM-SamOates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CM-SamOates/subscriptions","organizations_url":"https://api.github.com/users/CM-SamOates/orgs","repos_url":"https://api.github.com/users/CM-SamOates/repos","events_url":"https://api.github.com/users/CM-SamOates/events{/privacy}","received_events_url":"https://api.github.com/users/CM-SamOates/received_events","type":"User","site_admin":false},"repo":{"id":76542339,"name":"DirectXTex","full_name":"CM-SamOates/DirectXTex","owner":{"login":"CM-SamOates","id":24584636,"avatar_url":"https://avatars.githubusercontent.com/u/24584636?v=3","gravatar_id":"","url":"https://api.github.com/users/CM-SamOates","html_url":"https://github.com/CM-SamOates","followers_url":"https://api.github.com/users/CM-SamOates/followers","following_url":"https://api.github.com/users/CM-SamOates/following{/other_user}","gists_url":"https://api.github.com/users/CM-SamOates/gists{/gist_id}","starred_url":"https://api.github.com/users/CM-SamOates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CM-SamOates/subscriptions","organizations_url":"https://api.github.com/users/CM-SamOates/orgs","repos_url":"https://api.github.com/users/CM-SamOates/repos","events_url":"https://api.github.com/users/CM-SamOates/events{/privacy}","received_events_url":"https://api.github.com/users/CM-SamOates/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CM-SamOates/DirectXTex","description":"DirectXTex texture processing library","fork":true,"url":"https://api.github.com/repos/CM-SamOates/DirectXTex","forks_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/forks","keys_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/teams","hooks_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/hooks","issue_events_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/issues/events{/number}","events_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/events","assignees_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/assignees{/user}","branches_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/branches{/branch}","tags_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/tags","blobs_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/git/refs{/sha}","trees_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/statuses/{sha}","languages_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/languages","stargazers_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/stargazers","contributors_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/contributors","subscribers_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/subscribers","subscription_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/subscription","commits_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/commits{/sha}","git_commits_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/git/commits{/sha}","comments_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/comments{/number}","issue_comment_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/issues/comments{/number}","contents_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/contents/{+path}","compare_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/merges","archive_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/downloads","issues_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/issues{/number}","pulls_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/pulls{/number}","milestones_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/milestones{/number}","notifications_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/labels{/name}","releases_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/releases{/id}","deployments_url":"https://api.github.com/repos/CM-SamOates/DirectXTex/deployments","created_at":"2016-12-15T08:59:00Z","updated_at":"2016-12-15T08:59:03Z","pushed_at":"2016-12-15T14:49:52Z","git_url":"git://github.com/CM-SamOates/DirectXTex.git","ssh_url":"git@github.com:CM-SamOates/DirectXTex.git","clone_url":"https://github.com/CM-SamOates/DirectXTex.git","svn_url":"https://github.com/CM-SamOates/DirectXTex","homepage":"http://blogs.msdn.com/b/chuckw/archive/2011/10/28/directxtex.aspx","size":1993,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"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":"Microsoft:master","ref":"master","sha":"101c306eafb5f5a982a7d43b1db658161a650bb0","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":33688642,"name":"DirectXTex","full_name":"Microsoft/DirectXTex","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/DirectXTex","description":"DirectXTex texture processing library","fork":false,"url":"https://api.github.com/repos/Microsoft/DirectXTex","forks_url":"https://api.github.com/repos/Microsoft/DirectXTex/forks","keys_url":"https://api.github.com/repos/Microsoft/DirectXTex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/DirectXTex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/DirectXTex/teams","hooks_url":"https://api.github.com/repos/Microsoft/DirectXTex/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/DirectXTex/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/DirectXTex/events","assignees_url":"https://api.github.com/repos/Microsoft/DirectXTex/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/DirectXTex/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/DirectXTex/tags","blobs_url":"https://api.github.com/repos/Microsoft/DirectXTex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/DirectXTex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/DirectXTex/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/DirectXTex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/DirectXTex/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/DirectXTex/languages","stargazers_url":"https://api.github.com/repos/Microsoft/DirectXTex/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/DirectXTex/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/DirectXTex/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/DirectXTex/subscription","commits_url":"https://api.github.com/repos/Microsoft/DirectXTex/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/DirectXTex/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/DirectXTex/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/DirectXTex/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/DirectXTex/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/DirectXTex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/DirectXTex/merges","archive_url":"https://api.github.com/repos/Microsoft/DirectXTex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/DirectXTex/downloads","issues_url":"https://api.github.com/repos/Microsoft/DirectXTex/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/DirectXTex/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/DirectXTex/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/DirectXTex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/DirectXTex/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/DirectXTex/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/DirectXTex/deployments","created_at":"2015-04-09T19:37:02Z","updated_at":"2016-12-13T15:02:14Z","pushed_at":"2016-12-08T22:26:49Z","git_url":"git://github.com/Microsoft/DirectXTex.git","ssh_url":"git@github.com:Microsoft/DirectXTex.git","clone_url":"https://github.com/Microsoft/DirectXTex.git","svn_url":"https://github.com/Microsoft/DirectXTex","homepage":"http://blogs.msdn.com/b/chuckw/archive/2011/10/28/directxtex.aspx","size":1993,"stargazers_count":268,"watchers_count":268,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":21,"forks":79,"open_issues":21,"watchers":268,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/42"},"html":{"href":"https://github.com/Microsoft/DirectXTex/pull/42"},"issue":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/issues/42"},"comments":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/DirectXTex/statuses/ec577d253cac79db7f6afd27f8926644b37b57e8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":193,"deletions":11,"changed_files":4}}
{"actor":{"display_login":"CM-SamOates"}}