{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/9529","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/9529/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/9529/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/9529/events","html_url":"https://github.com/mrdoob/three.js/pull/9529","id":171531834,"number":9529,"title":"Adding buffer geometry utilities for merging.","user":{"login":"kylegmaxwell","id":11025081,"avatar_url":"https://avatars.githubusercontent.com/u/11025081?v=3","gravatar_id":"","url":"https://api.github.com/users/kylegmaxwell","html_url":"https://github.com/kylegmaxwell","followers_url":"https://api.github.com/users/kylegmaxwell/followers","following_url":"https://api.github.com/users/kylegmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/kylegmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/kylegmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylegmaxwell/subscriptions","organizations_url":"https://api.github.com/users/kylegmaxwell/orgs","repos_url":"https://api.github.com/users/kylegmaxwell/repos","events_url":"https://api.github.com/users/kylegmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/kylegmaxwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T22:19:56Z","updated_at":"2016-09-07T23:21:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/9529","html_url":"https://github.com/mrdoob/three.js/pull/9529","diff_url":"https://github.com/mrdoob/three.js/pull/9529.diff","patch_url":"https://github.com/mrdoob/three.js/pull/9529.patch"},"body":"These are some buffer geometry utilities that I wrote for merging geometry and related operations. I am submitting this after discussion on {mrdoob}/three.js#8162 with @WestLangley \r\nhttps://github.com/mrdoob/three.js/pull/8162#issuecomment-238746823\r\nThe main idea is that to merge buffer geometry requires creating a new geometry, hence the functions are static on the BufferGeometry class. I also created a jsfiddle as an example.\r\nhttps://jsfiddle.net/kylu/c1rt9dnb/"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/245449110","html_url":"https://github.com/mrdoob/three.js/pull/9529#issuecomment-245449110","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/9529","id":245449110,"user":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T23:21:05Z","updated_at":"2016-09-07T23:21:05Z","body":"I'm thinking of creating a `InstancedBufferGeometry`. `splitVertices` would then become something like ```if ( geometry.isInstancedBufferGeometry ) geometry2 = geometry.toBufferGeometry();```, right?"}}
{"actor":{"display_login":"mrdoob"}}