{"action":"created","issue":{"url":"https://api.github.com/repos/kcoley/gltf2usd/issues/44","repository_url":"https://api.github.com/repos/kcoley/gltf2usd","labels_url":"https://api.github.com/repos/kcoley/gltf2usd/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/kcoley/gltf2usd/issues/44/comments","events_url":"https://api.github.com/repos/kcoley/gltf2usd/issues/44/events","html_url":"https://github.com/kcoley/gltf2usd/issues/44","id":358233050,"node_id":"MDU6SXNzdWUzNTgyMzMwNTA=","number":44,"title":"Issue converting GLFT and getting texture to properly render","user":{"login":"scottstevens","id":1002480,"node_id":"MDQ6VXNlcjEwMDI0ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/1002480?v=4","gravatar_id":"","url":"https://api.github.com/users/scottstevens","html_url":"https://github.com/scottstevens","followers_url":"https://api.github.com/users/scottstevens/followers","following_url":"https://api.github.com/users/scottstevens/following{/other_user}","gists_url":"https://api.github.com/users/scottstevens/gists{/gist_id}","starred_url":"https://api.github.com/users/scottstevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottstevens/subscriptions","organizations_url":"https://api.github.com/users/scottstevens/orgs","repos_url":"https://api.github.com/users/scottstevens/repos","events_url":"https://api.github.com/users/scottstevens/events{/privacy}","received_events_url":"https://api.github.com/users/scottstevens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kcoley","id":3946928,"node_id":"MDQ6VXNlcjM5NDY5Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/3946928?v=4","gravatar_id":"","url":"https://api.github.com/users/kcoley","html_url":"https://github.com/kcoley","followers_url":"https://api.github.com/users/kcoley/followers","following_url":"https://api.github.com/users/kcoley/following{/other_user}","gists_url":"https://api.github.com/users/kcoley/gists{/gist_id}","starred_url":"https://api.github.com/users/kcoley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcoley/subscriptions","organizations_url":"https://api.github.com/users/kcoley/orgs","repos_url":"https://api.github.com/users/kcoley/repos","events_url":"https://api.github.com/users/kcoley/events{/privacy}","received_events_url":"https://api.github.com/users/kcoley/received_events","type":"User","site_admin":false},"assignees":[{"login":"kcoley","id":3946928,"node_id":"MDQ6VXNlcjM5NDY5Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/3946928?v=4","gravatar_id":"","url":"https://api.github.com/users/kcoley","html_url":"https://github.com/kcoley","followers_url":"https://api.github.com/users/kcoley/followers","following_url":"https://api.github.com/users/kcoley/following{/other_user}","gists_url":"https://api.github.com/users/kcoley/gists{/gist_id}","starred_url":"https://api.github.com/users/kcoley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcoley/subscriptions","organizations_url":"https://api.github.com/users/kcoley/orgs","repos_url":"https://api.github.com/users/kcoley/repos","events_url":"https://api.github.com/users/kcoley/events{/privacy}","received_events_url":"https://api.github.com/users/kcoley/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-09-07T22:42:32Z","updated_at":"2018-09-17T18:36:17Z","closed_at":null,"author_association":"NONE","body":"I've been playing around with this and have been having an easy time converting GLFT's from around the web... but have been having a lot of problem getting ARKIT to properly render out the textures from assets of my own.  I was wondering if there was some insight that could be provided as to why my USDZ version is not working when the GLFT is fine.\r\n\r\nI incidentally had to fix something locally to get this to convert (I havent sent a pull request for it yet)  The first line of _convert_texture_to_usd seems to have indexing problems when referencing the textures... ive fixed this by having it use the actual source:\r\n\r\n`image_name = gltf_texture if (isinstance(gltf_texture, basestring)) else self.images[self.textures[gltf_texture['index']]['source']]`\r\n\r\n(Source GLFT)\r\n[DeclanChair_TobiasGravel.zip](https://github.com/kcoley/gltf2usd/files/2362700/DeclanChair_TobiasGravel.zip)\r\n\r\n(USDZ)\r\n[declan.zip](https://github.com/kcoley/gltf2usd/files/2362701/declan.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/kcoley/gltf2usd/issues/comments/422123765","html_url":"https://github.com/kcoley/gltf2usd/issues/44#issuecomment-422123765","issue_url":"https://api.github.com/repos/kcoley/gltf2usd/issues/44","id":422123765,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjEyMzc2NQ==","user":{"login":"kcoley","id":3946928,"node_id":"MDQ6VXNlcjM5NDY5Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/3946928?v=4","gravatar_id":"","url":"https://api.github.com/users/kcoley","html_url":"https://github.com/kcoley","followers_url":"https://api.github.com/users/kcoley/followers","following_url":"https://api.github.com/users/kcoley/following{/other_user}","gists_url":"https://api.github.com/users/kcoley/gists{/gist_id}","starred_url":"https://api.github.com/users/kcoley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcoley/subscriptions","organizations_url":"https://api.github.com/users/kcoley/orgs","repos_url":"https://api.github.com/users/kcoley/repos","events_url":"https://api.github.com/users/kcoley/events{/privacy}","received_events_url":"https://api.github.com/users/kcoley/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T18:36:17Z","updated_at":"2018-09-17T18:36:17Z","author_association":"OWNER","body":"Hi @scottstevens , yes sorry, I made the conversion on my `refactorSkeletons` branch: https://github.com/kcoley/gltf2usd/tree/refactorSkeletons\r\n\r\nIt's still work in progress, but you can give it a try with the models.  I am changing how I am loading textures using pillow, which fixes a bug with loading grayscale images.\r\n\r\n"}}
{"actor":{"display_login":"kcoley"}}