{"action":"opened","number":444,"pull_request":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/444","id":31483732,"html_url":"https://github.com/BabylonJS/Babylon.js/pull/444","diff_url":"https://github.com/BabylonJS/Babylon.js/pull/444.diff","patch_url":"https://github.com/BabylonJS/Babylon.js/pull/444.patch","issue_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/444","number":444,"state":"open","locked":false,"title":"Mesh optimization in simplification","user":{"login":"RaananW","id":1381702,"avatar_url":"https://avatars.githubusercontent.com/u/1381702?v=3","gravatar_id":"","url":"https://api.github.com/users/RaananW","html_url":"https://github.com/RaananW","followers_url":"https://api.github.com/users/RaananW/followers","following_url":"https://api.github.com/users/RaananW/following{/other_user}","gists_url":"https://api.github.com/users/RaananW/gists{/gist_id}","starred_url":"https://api.github.com/users/RaananW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaananW/subscriptions","organizations_url":"https://api.github.com/users/RaananW/orgs","repos_url":"https://api.github.com/users/RaananW/repos","events_url":"https://api.github.com/users/RaananW/events{/privacy}","received_events_url":"https://api.github.com/users/RaananW/received_events","type":"User","site_admin":false},"body":"The optimizeIndices method works well for some types of objects but some exporters export vertices with the same position and normals but different uv/color definitions.\r\nThis leads to a problem during the reconstruction of the mesh after the simplification process.\r\nThis was solved in those commits. An extra optional parameter (optimizeMesh) was added to the simplification settings, thus not breaking the API.\r\nThe decimation was cleaned up and simplified as well. It will run better and faster now.","created_at":"2015-03-18T23:45:17Z","updated_at":"2015-03-18T23:45:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ac73b8546123277edd6e8117144da857c81f424","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/444/commits","review_comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/444/comments","review_comment_url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/444/comments","statuses_url":"https://api.github.com/repos/BabylonJS/Babylon.js/statuses/92093988dd63639c894832730b4416cd533b241a","head":{"label":"RaananW:decimation","ref":"decimation","sha":"92093988dd63639c894832730b4416cd533b241a","user":{"login":"RaananW","id":1381702,"avatar_url":"https://avatars.githubusercontent.com/u/1381702?v=3","gravatar_id":"","url":"https://api.github.com/users/RaananW","html_url":"https://github.com/RaananW","followers_url":"https://api.github.com/users/RaananW/followers","following_url":"https://api.github.com/users/RaananW/following{/other_user}","gists_url":"https://api.github.com/users/RaananW/gists{/gist_id}","starred_url":"https://api.github.com/users/RaananW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaananW/subscriptions","organizations_url":"https://api.github.com/users/RaananW/orgs","repos_url":"https://api.github.com/users/RaananW/repos","events_url":"https://api.github.com/users/RaananW/events{/privacy}","received_events_url":"https://api.github.com/users/RaananW/received_events","type":"User","site_admin":false},"repo":{"id":27167103,"name":"Babylon.js","full_name":"RaananW/Babylon.js","owner":{"login":"RaananW","id":1381702,"avatar_url":"https://avatars.githubusercontent.com/u/1381702?v=3","gravatar_id":"","url":"https://api.github.com/users/RaananW","html_url":"https://github.com/RaananW","followers_url":"https://api.github.com/users/RaananW/followers","following_url":"https://api.github.com/users/RaananW/following{/other_user}","gists_url":"https://api.github.com/users/RaananW/gists{/gist_id}","starred_url":"https://api.github.com/users/RaananW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaananW/subscriptions","organizations_url":"https://api.github.com/users/RaananW/orgs","repos_url":"https://api.github.com/users/RaananW/repos","events_url":"https://api.github.com/users/RaananW/events{/privacy}","received_events_url":"https://api.github.com/users/RaananW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RaananW/Babylon.js","description":"Babylon.js: a complete JavaScript framework for building 3D games with HTML 5 and WebGL","fork":true,"url":"https://api.github.com/repos/RaananW/Babylon.js","forks_url":"https://api.github.com/repos/RaananW/Babylon.js/forks","keys_url":"https://api.github.com/repos/RaananW/Babylon.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RaananW/Babylon.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RaananW/Babylon.js/teams","hooks_url":"https://api.github.com/repos/RaananW/Babylon.js/hooks","issue_events_url":"https://api.github.com/repos/RaananW/Babylon.js/issues/events{/number}","events_url":"https://api.github.com/repos/RaananW/Babylon.js/events","assignees_url":"https://api.github.com/repos/RaananW/Babylon.js/assignees{/user}","branches_url":"https://api.github.com/repos/RaananW/Babylon.js/branches{/branch}","tags_url":"https://api.github.com/repos/RaananW/Babylon.js/tags","blobs_url":"https://api.github.com/repos/RaananW/Babylon.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RaananW/Babylon.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RaananW/Babylon.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/RaananW/Babylon.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RaananW/Babylon.js/statuses/{sha}","languages_url":"https://api.github.com/repos/RaananW/Babylon.js/languages","stargazers_url":"https://api.github.com/repos/RaananW/Babylon.js/stargazers","contributors_url":"https://api.github.com/repos/RaananW/Babylon.js/contributors","subscribers_url":"https://api.github.com/repos/RaananW/Babylon.js/subscribers","subscription_url":"https://api.github.com/repos/RaananW/Babylon.js/subscription","commits_url":"https://api.github.com/repos/RaananW/Babylon.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/RaananW/Babylon.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/RaananW/Babylon.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/RaananW/Babylon.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/RaananW/Babylon.js/contents/{+path}","compare_url":"https://api.github.com/repos/RaananW/Babylon.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RaananW/Babylon.js/merges","archive_url":"https://api.github.com/repos/RaananW/Babylon.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RaananW/Babylon.js/downloads","issues_url":"https://api.github.com/repos/RaananW/Babylon.js/issues{/number}","pulls_url":"https://api.github.com/repos/RaananW/Babylon.js/pulls{/number}","milestones_url":"https://api.github.com/repos/RaananW/Babylon.js/milestones{/number}","notifications_url":"https://api.github.com/repos/RaananW/Babylon.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RaananW/Babylon.js/labels{/name}","releases_url":"https://api.github.com/repos/RaananW/Babylon.js/releases{/id}","created_at":"2014-11-26T08:35:20Z","updated_at":"2015-03-18T19:13:12Z","pushed_at":"2015-03-18T23:37:22Z","git_url":"git://github.com/RaananW/Babylon.js.git","ssh_url":"git@github.com:RaananW/Babylon.js.git","clone_url":"https://github.com/RaananW/Babylon.js.git","svn_url":"https://github.com/RaananW/Babylon.js","homepage":null,"size":417435,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"base":{"label":"BabylonJS:master","ref":"master","sha":"c12415f158c3f41558234bcb13c3cc59852bfed0","user":{"login":"BabylonJS","id":4855800,"avatar_url":"https://avatars.githubusercontent.com/u/4855800?v=3","gravatar_id":"","url":"https://api.github.com/users/BabylonJS","html_url":"https://github.com/BabylonJS","followers_url":"https://api.github.com/users/BabylonJS/followers","following_url":"https://api.github.com/users/BabylonJS/following{/other_user}","gists_url":"https://api.github.com/users/BabylonJS/gists{/gist_id}","starred_url":"https://api.github.com/users/BabylonJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabylonJS/subscriptions","organizations_url":"https://api.github.com/users/BabylonJS/orgs","repos_url":"https://api.github.com/users/BabylonJS/repos","events_url":"https://api.github.com/users/BabylonJS/events{/privacy}","received_events_url":"https://api.github.com/users/BabylonJS/received_events","type":"Organization","site_admin":false},"repo":{"id":11007313,"name":"Babylon.js","full_name":"BabylonJS/Babylon.js","owner":{"login":"BabylonJS","id":4855800,"avatar_url":"https://avatars.githubusercontent.com/u/4855800?v=3","gravatar_id":"","url":"https://api.github.com/users/BabylonJS","html_url":"https://github.com/BabylonJS","followers_url":"https://api.github.com/users/BabylonJS/followers","following_url":"https://api.github.com/users/BabylonJS/following{/other_user}","gists_url":"https://api.github.com/users/BabylonJS/gists{/gist_id}","starred_url":"https://api.github.com/users/BabylonJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BabylonJS/subscriptions","organizations_url":"https://api.github.com/users/BabylonJS/orgs","repos_url":"https://api.github.com/users/BabylonJS/repos","events_url":"https://api.github.com/users/BabylonJS/events{/privacy}","received_events_url":"https://api.github.com/users/BabylonJS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BabylonJS/Babylon.js","description":"Babylon.js: a complete JavaScript framework for building 3D games with HTML 5 and WebGL","fork":false,"url":"https://api.github.com/repos/BabylonJS/Babylon.js","forks_url":"https://api.github.com/repos/BabylonJS/Babylon.js/forks","keys_url":"https://api.github.com/repos/BabylonJS/Babylon.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BabylonJS/Babylon.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BabylonJS/Babylon.js/teams","hooks_url":"https://api.github.com/repos/BabylonJS/Babylon.js/hooks","issue_events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/events{/number}","events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/events","assignees_url":"https://api.github.com/repos/BabylonJS/Babylon.js/assignees{/user}","branches_url":"https://api.github.com/repos/BabylonJS/Babylon.js/branches{/branch}","tags_url":"https://api.github.com/repos/BabylonJS/Babylon.js/tags","blobs_url":"https://api.github.com/repos/BabylonJS/Babylon.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BabylonJS/Babylon.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BabylonJS/Babylon.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/BabylonJS/Babylon.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BabylonJS/Babylon.js/statuses/{sha}","languages_url":"https://api.github.com/repos/BabylonJS/Babylon.js/languages","stargazers_url":"https://api.github.com/repos/BabylonJS/Babylon.js/stargazers","contributors_url":"https://api.github.com/repos/BabylonJS/Babylon.js/contributors","subscribers_url":"https://api.github.com/repos/BabylonJS/Babylon.js/subscribers","subscription_url":"https://api.github.com/repos/BabylonJS/Babylon.js/subscription","commits_url":"https://api.github.com/repos/BabylonJS/Babylon.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/BabylonJS/Babylon.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/BabylonJS/Babylon.js/contents/{+path}","compare_url":"https://api.github.com/repos/BabylonJS/Babylon.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BabylonJS/Babylon.js/merges","archive_url":"https://api.github.com/repos/BabylonJS/Babylon.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BabylonJS/Babylon.js/downloads","issues_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues{/number}","pulls_url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls{/number}","milestones_url":"https://api.github.com/repos/BabylonJS/Babylon.js/milestones{/number}","notifications_url":"https://api.github.com/repos/BabylonJS/Babylon.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BabylonJS/Babylon.js/labels{/name}","releases_url":"https://api.github.com/repos/BabylonJS/Babylon.js/releases{/id}","created_at":"2013-06-27T20:40:42Z","updated_at":"2015-03-18T19:52:49Z","pushed_at":"2015-03-18T16:41:37Z","git_url":"git://github.com/BabylonJS/Babylon.js.git","ssh_url":"git@github.com:BabylonJS/Babylon.js.git","clone_url":"https://github.com/BabylonJS/Babylon.js.git","svn_url":"https://github.com/BabylonJS/Babylon.js","homepage":null,"size":425068,"stargazers_count":1712,"watchers_count":1712,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":456,"mirror_url":null,"open_issues_count":2,"forks":456,"open_issues":2,"watchers":1712,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/444"},"html":{"href":"https://github.com/BabylonJS/Babylon.js/pull/444"},"issue":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/444"},"comments":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/444/comments"},"review_comments":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/444/comments"},"review_comment":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/444/commits"},"statuses":{"href":"https://api.github.com/repos/BabylonJS/Babylon.js/statuses/92093988dd63639c894832730b4416cd533b241a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":223,"deletions":263,"changed_files":2}}