{"action":"opened","number":697,"pull_request":{"url":"https://api.github.com/repos/assimp/assimp/pulls/697","id":51952486,"html_url":"https://github.com/assimp/assimp/pull/697","diff_url":"https://github.com/assimp/assimp/pull/697.diff","patch_url":"https://github.com/assimp/assimp/pull/697.patch","issue_url":"https://api.github.com/repos/assimp/assimp/issues/697","number":697,"state":"open","locked":false,"title":"Basic experimental glTF support","user":{"login":"OtgerRP","id":2356820,"avatar_url":"https://avatars.githubusercontent.com/u/2356820?v=3","gravatar_id":"","url":"https://api.github.com/users/OtgerRP","html_url":"https://github.com/OtgerRP","followers_url":"https://api.github.com/users/OtgerRP/followers","following_url":"https://api.github.com/users/OtgerRP/following{/other_user}","gists_url":"https://api.github.com/users/OtgerRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OtgerRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OtgerRP/subscriptions","organizations_url":"https://api.github.com/users/OtgerRP/orgs","repos_url":"https://api.github.com/users/OtgerRP/repos","events_url":"https://api.github.com/users/OtgerRP/events{/privacy}","received_events_url":"https://api.github.com/users/OtgerRP/received_events","type":"User","site_admin":false},"body":"I had made a basic implementation for a glTF importer for my own use (and started one exporter), and as I see it's being added I'd like to contribute it. It uses *RapidJSON* instead of *picojson* though (because it supports in-place parsing, avoiding making a lot of copies), which it is licensed under MIT (not sure if there are license compatibility issues).\r\n\r\nIt can read both text (gltf) and binary (glb) formats, and currently only imports a subset of the data: the node hierarchy (with transforms), materials (basic properties), textures (both file references and embedded), and the meshes (vertex positions, normals, texture coordinates and the faces).\r\n\r\nIt is still experimental, but I tried most of the glTF's repo models and they seem to work correctly in all their variants. In any case I think it could be a good starting point to improve.\r\n","created_at":"2015-11-27T01:00:52Z","updated_at":"2015-11-27T01:00:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/assimp/assimp/pulls/697/commits","review_comments_url":"https://api.github.com/repos/assimp/assimp/pulls/697/comments","review_comment_url":"https://api.github.com/repos/assimp/assimp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/assimp/assimp/issues/697/comments","statuses_url":"https://api.github.com/repos/assimp/assimp/statuses/526027999bb7a364c7e87bab4de8ad846073fc7e","head":{"label":"OtgerRP:master","ref":"master","sha":"526027999bb7a364c7e87bab4de8ad846073fc7e","user":{"login":"OtgerRP","id":2356820,"avatar_url":"https://avatars.githubusercontent.com/u/2356820?v=3","gravatar_id":"","url":"https://api.github.com/users/OtgerRP","html_url":"https://github.com/OtgerRP","followers_url":"https://api.github.com/users/OtgerRP/followers","following_url":"https://api.github.com/users/OtgerRP/following{/other_user}","gists_url":"https://api.github.com/users/OtgerRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OtgerRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OtgerRP/subscriptions","organizations_url":"https://api.github.com/users/OtgerRP/orgs","repos_url":"https://api.github.com/users/OtgerRP/repos","events_url":"https://api.github.com/users/OtgerRP/events{/privacy}","received_events_url":"https://api.github.com/users/OtgerRP/received_events","type":"User","site_admin":false},"repo":{"id":46740110,"name":"assimp","full_name":"OtgerRP/assimp","owner":{"login":"OtgerRP","id":2356820,"avatar_url":"https://avatars.githubusercontent.com/u/2356820?v=3","gravatar_id":"","url":"https://api.github.com/users/OtgerRP","html_url":"https://github.com/OtgerRP","followers_url":"https://api.github.com/users/OtgerRP/followers","following_url":"https://api.github.com/users/OtgerRP/following{/other_user}","gists_url":"https://api.github.com/users/OtgerRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OtgerRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OtgerRP/subscriptions","organizations_url":"https://api.github.com/users/OtgerRP/orgs","repos_url":"https://api.github.com/users/OtgerRP/repos","events_url":"https://api.github.com/users/OtgerRP/events{/privacy}","received_events_url":"https://api.github.com/users/OtgerRP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OtgerRP/assimp","description":"Official Open Asset Import Library Repository. Loads 40+ 3D file formats into one unified and clean data structure. ","fork":true,"url":"https://api.github.com/repos/OtgerRP/assimp","forks_url":"https://api.github.com/repos/OtgerRP/assimp/forks","keys_url":"https://api.github.com/repos/OtgerRP/assimp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OtgerRP/assimp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OtgerRP/assimp/teams","hooks_url":"https://api.github.com/repos/OtgerRP/assimp/hooks","issue_events_url":"https://api.github.com/repos/OtgerRP/assimp/issues/events{/number}","events_url":"https://api.github.com/repos/OtgerRP/assimp/events","assignees_url":"https://api.github.com/repos/OtgerRP/assimp/assignees{/user}","branches_url":"https://api.github.com/repos/OtgerRP/assimp/branches{/branch}","tags_url":"https://api.github.com/repos/OtgerRP/assimp/tags","blobs_url":"https://api.github.com/repos/OtgerRP/assimp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OtgerRP/assimp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OtgerRP/assimp/git/refs{/sha}","trees_url":"https://api.github.com/repos/OtgerRP/assimp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OtgerRP/assimp/statuses/{sha}","languages_url":"https://api.github.com/repos/OtgerRP/assimp/languages","stargazers_url":"https://api.github.com/repos/OtgerRP/assimp/stargazers","contributors_url":"https://api.github.com/repos/OtgerRP/assimp/contributors","subscribers_url":"https://api.github.com/repos/OtgerRP/assimp/subscribers","subscription_url":"https://api.github.com/repos/OtgerRP/assimp/subscription","commits_url":"https://api.github.com/repos/OtgerRP/assimp/commits{/sha}","git_commits_url":"https://api.github.com/repos/OtgerRP/assimp/git/commits{/sha}","comments_url":"https://api.github.com/repos/OtgerRP/assimp/comments{/number}","issue_comment_url":"https://api.github.com/repos/OtgerRP/assimp/issues/comments{/number}","contents_url":"https://api.github.com/repos/OtgerRP/assimp/contents/{+path}","compare_url":"https://api.github.com/repos/OtgerRP/assimp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OtgerRP/assimp/merges","archive_url":"https://api.github.com/repos/OtgerRP/assimp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OtgerRP/assimp/downloads","issues_url":"https://api.github.com/repos/OtgerRP/assimp/issues{/number}","pulls_url":"https://api.github.com/repos/OtgerRP/assimp/pulls{/number}","milestones_url":"https://api.github.com/repos/OtgerRP/assimp/milestones{/number}","notifications_url":"https://api.github.com/repos/OtgerRP/assimp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OtgerRP/assimp/labels{/name}","releases_url":"https://api.github.com/repos/OtgerRP/assimp/releases{/id}","created_at":"2015-11-23T18:35:30Z","updated_at":"2015-11-23T18:35:42Z","pushed_at":"2015-11-27T00:44:23Z","git_url":"git://github.com/OtgerRP/assimp.git","ssh_url":"git@github.com:OtgerRP/assimp.git","clone_url":"https://github.com/OtgerRP/assimp.git","svn_url":"https://github.com/OtgerRP/assimp","homepage":"http://assimp.sf.net","size":77674,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"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":"assimp:master","ref":"master","sha":"fc6f35dab2f7a6e2a130d8e2575a702a5b77fdfa","user":{"login":"assimp","id":265533,"avatar_url":"https://avatars.githubusercontent.com/u/265533?v=3","gravatar_id":"","url":"https://api.github.com/users/assimp","html_url":"https://github.com/assimp","followers_url":"https://api.github.com/users/assimp/followers","following_url":"https://api.github.com/users/assimp/following{/other_user}","gists_url":"https://api.github.com/users/assimp/gists{/gist_id}","starred_url":"https://api.github.com/users/assimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assimp/subscriptions","organizations_url":"https://api.github.com/users/assimp/orgs","repos_url":"https://api.github.com/users/assimp/repos","events_url":"https://api.github.com/users/assimp/events{/privacy}","received_events_url":"https://api.github.com/users/assimp/received_events","type":"Organization","site_admin":false},"repo":{"id":648332,"name":"assimp","full_name":"assimp/assimp","owner":{"login":"assimp","id":265533,"avatar_url":"https://avatars.githubusercontent.com/u/265533?v=3","gravatar_id":"","url":"https://api.github.com/users/assimp","html_url":"https://github.com/assimp","followers_url":"https://api.github.com/users/assimp/followers","following_url":"https://api.github.com/users/assimp/following{/other_user}","gists_url":"https://api.github.com/users/assimp/gists{/gist_id}","starred_url":"https://api.github.com/users/assimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assimp/subscriptions","organizations_url":"https://api.github.com/users/assimp/orgs","repos_url":"https://api.github.com/users/assimp/repos","events_url":"https://api.github.com/users/assimp/events{/privacy}","received_events_url":"https://api.github.com/users/assimp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assimp/assimp","description":"Official Open Asset Import Library Repository. Loads 40+ 3D file formats into one unified and clean data structure. ","fork":false,"url":"https://api.github.com/repos/assimp/assimp","forks_url":"https://api.github.com/repos/assimp/assimp/forks","keys_url":"https://api.github.com/repos/assimp/assimp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assimp/assimp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assimp/assimp/teams","hooks_url":"https://api.github.com/repos/assimp/assimp/hooks","issue_events_url":"https://api.github.com/repos/assimp/assimp/issues/events{/number}","events_url":"https://api.github.com/repos/assimp/assimp/events","assignees_url":"https://api.github.com/repos/assimp/assimp/assignees{/user}","branches_url":"https://api.github.com/repos/assimp/assimp/branches{/branch}","tags_url":"https://api.github.com/repos/assimp/assimp/tags","blobs_url":"https://api.github.com/repos/assimp/assimp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assimp/assimp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assimp/assimp/git/refs{/sha}","trees_url":"https://api.github.com/repos/assimp/assimp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assimp/assimp/statuses/{sha}","languages_url":"https://api.github.com/repos/assimp/assimp/languages","stargazers_url":"https://api.github.com/repos/assimp/assimp/stargazers","contributors_url":"https://api.github.com/repos/assimp/assimp/contributors","subscribers_url":"https://api.github.com/repos/assimp/assimp/subscribers","subscription_url":"https://api.github.com/repos/assimp/assimp/subscription","commits_url":"https://api.github.com/repos/assimp/assimp/commits{/sha}","git_commits_url":"https://api.github.com/repos/assimp/assimp/git/commits{/sha}","comments_url":"https://api.github.com/repos/assimp/assimp/comments{/number}","issue_comment_url":"https://api.github.com/repos/assimp/assimp/issues/comments{/number}","contents_url":"https://api.github.com/repos/assimp/assimp/contents/{+path}","compare_url":"https://api.github.com/repos/assimp/assimp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assimp/assimp/merges","archive_url":"https://api.github.com/repos/assimp/assimp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assimp/assimp/downloads","issues_url":"https://api.github.com/repos/assimp/assimp/issues{/number}","pulls_url":"https://api.github.com/repos/assimp/assimp/pulls{/number}","milestones_url":"https://api.github.com/repos/assimp/assimp/milestones{/number}","notifications_url":"https://api.github.com/repos/assimp/assimp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assimp/assimp/labels{/name}","releases_url":"https://api.github.com/repos/assimp/assimp/releases{/id}","created_at":"2010-05-05T12:53:45Z","updated_at":"2015-11-26T18:06:35Z","pushed_at":"2015-11-27T01:00:52Z","git_url":"git://github.com/assimp/assimp.git","ssh_url":"git@github.com:assimp/assimp.git","clone_url":"https://github.com/assimp/assimp.git","svn_url":"https://github.com/assimp/assimp","homepage":"http://assimp.sf.net","size":97991,"stargazers_count":966,"watchers_count":966,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":408,"mirror_url":null,"open_issues_count":141,"forks":408,"open_issues":141,"watchers":966,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/assimp/assimp/pulls/697"},"html":{"href":"https://github.com/assimp/assimp/pull/697"},"issue":{"href":"https://api.github.com/repos/assimp/assimp/issues/697"},"comments":{"href":"https://api.github.com/repos/assimp/assimp/issues/697/comments"},"review_comments":{"href":"https://api.github.com/repos/assimp/assimp/pulls/697/comments"},"review_comment":{"href":"https://api.github.com/repos/assimp/assimp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/assimp/assimp/pulls/697/commits"},"statuses":{"href":"https://api.github.com/repos/assimp/assimp/statuses/526027999bb7a364c7e87bab4de8ad846073fc7e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":10503,"deletions":27,"changed_files":40}}