{"action":"created","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/issues/82","repository_url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/issues/82/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/issues/82/events","html_url":"https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/82","id":160039398,"number":82,"title":"Added generateNormals stage","user":{"login":"lilleyse","id":915398,"avatar_url":"https://avatars.githubusercontent.com/u/915398?v=3","gravatar_id":"","url":"https://api.github.com/users/lilleyse","html_url":"https://github.com/lilleyse","followers_url":"https://api.github.com/users/lilleyse/followers","following_url":"https://api.github.com/users/lilleyse/following{/other_user}","gists_url":"https://api.github.com/users/lilleyse/gists{/gist_id}","starred_url":"https://api.github.com/users/lilleyse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilleyse/subscriptions","organizations_url":"https://api.github.com/users/lilleyse/orgs","repos_url":"https://api.github.com/users/lilleyse/repos","events_url":"https://api.github.com/users/lilleyse/events{/privacy}","received_events_url":"https://api.github.com/users/lilleyse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-13T20:38:05Z","updated_at":"2016-06-30T21:08:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/pulls/82","html_url":"https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/82","diff_url":"https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/82.diff","patch_url":"https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/82.patch"},"body":"This adds support for generating normals if they do not exist."},"comment":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/issues/comments/229789264","html_url":"https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/82#issuecomment-229789264","issue_url":"https://api.github.com/repos/AnalyticalGraphicsInc/gltf-pipeline/issues/82","id":229789264,"user":{"login":"JoshuaStorm","id":12414183,"avatar_url":"https://avatars.githubusercontent.com/u/12414183?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaStorm","html_url":"https://github.com/JoshuaStorm","followers_url":"https://api.github.com/users/JoshuaStorm/followers","following_url":"https://api.github.com/users/JoshuaStorm/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaStorm/subscriptions","organizations_url":"https://api.github.com/users/JoshuaStorm/orgs","repos_url":"https://api.github.com/users/JoshuaStorm/repos","events_url":"https://api.github.com/users/JoshuaStorm/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaStorm/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T21:08:06Z","updated_at":"2016-06-30T21:08:06Z","body":"I am at a bit of a loss if anyone else has any ideas they'd be appreciated!\r\n\r\nAs a naive test to confirm the shared vertices issue, I iterated through the indices and in any case where there was multiple references to the same vertex, I duplicated that vertex and had the respective index refer to the new duplicate--effectively getting rid of shared vertices by simply duplicating all shared vertices.\r\n\r\nThen generating normals for that, I ended up with this box:\r\n\r\n![weirdnormals](https://cloud.githubusercontent.com/assets/12414183/16503483/34eadbde-3ee1-11e6-97de-05131fa0429f.jpg)\r\n\r\nWith RGB mapped to normal value\r\n\r\n![colorweirdnormals](https://cloud.githubusercontent.com/assets/12414183/16503497/44e415e6-3ee1-11e6-879b-ddb0cd062cd8.jpg)\r\n\r\n\r\nI'm wondering if it is possibly for some of the vertices to be in the incorrect winding order?\r\n"}}
{"actor":{"display_login":"JoshuaStorm"}}