{"action":"created","issue":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/2352","repository_url":"https://api.github.com/repos/BabylonJS/Babylon.js","labels_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/2352/labels{/name}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/2352/comments","events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/2352/events","html_url":"https://github.com/BabylonJS/Babylon.js/issues/2352","id":237302110,"number":2352,"title":"GLTF loader failing with certain buffer view byte offsets","user":{"login":"jamesgk","id":988758,"avatar_url":"https://avatars3.githubusercontent.com/u/988758?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesgk","html_url":"https://github.com/jamesgk","followers_url":"https://api.github.com/users/jamesgk/followers","following_url":"https://api.github.com/users/jamesgk/following{/other_user}","gists_url":"https://api.github.com/users/jamesgk/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesgk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesgk/subscriptions","organizations_url":"https://api.github.com/users/jamesgk/orgs","repos_url":"https://api.github.com/users/jamesgk/repos","events_url":"https://api.github.com/users/jamesgk/events{/privacy}","received_events_url":"https://api.github.com/users/jamesgk/received_events","type":"User","site_admin":false},"labels":[{"id":45382879,"url":"https://api.github.com/repos/BabylonJS/Babylon.js/labels/bug","name":"bug","color":"fc2929","default":true},{"id":586753771,"url":"https://api.github.com/repos/BabylonJS/Babylon.js/labels/loaders","name":"loaders","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-20T18:25:05Z","updated_at":"2017-06-20T20:38:34Z","closed_at":"2017-06-20T18:37:26Z","body":"The GLTF loader fails when an accessor with type VEC3 uses a buffer view with a non-multiple-of-4 byte offset. I believe this kind of GLTF data is valid. [This code](https://github.com/BabylonJS/Babylon.js/blob/6801156e1c696c43526b73eb104b1f07c66afefd/loaders/src/glTF/2.0/babylon.glTFLoaderUtils.ts#L96) causes the crash.\r\n\r\nWould it be possible to slice up buffers per-bufferView before creating these new typed arrays for accessors? I understand this would incur a performance penalty but I don't see any other way to deal with this scenario."},"comment":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/comments/309884219","html_url":"https://github.com/BabylonJS/Babylon.js/issues/2352#issuecomment-309884219","issue_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/2352","id":309884219,"user":{"login":"bghgary","id":19158740,"avatar_url":"https://avatars1.githubusercontent.com/u/19158740?v=3","gravatar_id":"","url":"https://api.github.com/users/bghgary","html_url":"https://github.com/bghgary","followers_url":"https://api.github.com/users/bghgary/followers","following_url":"https://api.github.com/users/bghgary/following{/other_user}","gists_url":"https://api.github.com/users/bghgary/gists{/gist_id}","starred_url":"https://api.github.com/users/bghgary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bghgary/subscriptions","organizations_url":"https://api.github.com/users/bghgary/orgs","repos_url":"https://api.github.com/users/bghgary/repos","events_url":"https://api.github.com/users/bghgary/events{/privacy}","received_events_url":"https://api.github.com/users/bghgary/received_events","type":"User","site_admin":false},"created_at":"2017-06-20T20:38:34Z","updated_at":"2017-06-20T20:38:34Z","body":"Agreed. I was just wondering if someone was working on glTF 2.0 for assimp. 😮"}}
{"actor":{"display_login":"bghgary"}}