{"action":"created","issue":{"url":"https://api.github.com/repos/kuflex/MorphOpenCL/issues/1","labels_url":"https://api.github.com/repos/kuflex/MorphOpenCL/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kuflex/MorphOpenCL/issues/1/comments","events_url":"https://api.github.com/repos/kuflex/MorphOpenCL/issues/1/events","html_url":"https://github.com/kuflex/MorphOpenCL/issues/1","id":67001082,"number":1,"title":"Color each particle differently?","user":{"login":"JoshuaBatty","id":1289413,"avatar_url":"https://avatars.githubusercontent.com/u/1289413?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaBatty","html_url":"https://github.com/JoshuaBatty","followers_url":"https://api.github.com/users/JoshuaBatty/followers","following_url":"https://api.github.com/users/JoshuaBatty/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaBatty/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaBatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaBatty/subscriptions","organizations_url":"https://api.github.com/users/JoshuaBatty/orgs","repos_url":"https://api.github.com/users/JoshuaBatty/repos","events_url":"https://api.github.com/users/JoshuaBatty/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaBatty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-07T22:07:11Z","updated_at":"2015-05-01T18:53:21Z","closed_at":null,"body":"Hey dude this is a really cool example. Was just checking if you knew how to draw each particle with a different color? Specifically I want to be able to have an image that contains color and have that color information used to color each particle...? Any ideas. Thanks!  "},"comment":{"url":"https://api.github.com/repos/kuflex/MorphOpenCL/issues/comments/98204723","html_url":"https://github.com/kuflex/MorphOpenCL/issues/1#issuecomment-98204723","issue_url":"https://api.github.com/repos/kuflex/MorphOpenCL/issues/1","id":98204723,"user":{"login":"perevalovds","id":5965453,"avatar_url":"https://avatars.githubusercontent.com/u/5965453?v=3","gravatar_id":"","url":"https://api.github.com/users/perevalovds","html_url":"https://github.com/perevalovds","followers_url":"https://api.github.com/users/perevalovds/followers","following_url":"https://api.github.com/users/perevalovds/following{/other_user}","gists_url":"https://api.github.com/users/perevalovds/gists{/gist_id}","starred_url":"https://api.github.com/users/perevalovds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perevalovds/subscriptions","organizations_url":"https://api.github.com/users/perevalovds/orgs","repos_url":"https://api.github.com/users/perevalovds/repos","events_url":"https://api.github.com/users/perevalovds/events{/privacy}","received_events_url":"https://api.github.com/users/perevalovds/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T18:53:21Z","updated_at":"2015-05-01T18:53:21Z","body":"Hi Joshua,\r\nwe made morphing between images,\r\nVideo: http://www.youtube.com/watch?v=J3RJgYcQi-k\r\nCode: https://github.com/kuflex/examples/tree/master/Morph-images\r\n\r\nBasically, we just create one additiinal VBO buffer holding colors, and use it in OpenCL computations and in drawing.\r\n\r\nHope, it helps you with your project! :)"}}