{"action":"created","issue":{"url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/18","repository_url":"https://api.github.com/repos/diablodale/dp.kinect2","labels_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/18/comments","events_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/18/events","html_url":"https://github.com/diablodale/dp.kinect2/issues/18","id":138970560,"number":18,"title":"feature request: directly generate OpenGL texture output","user":{"login":"diablodale","id":679350,"avatar_url":"https://avatars.githubusercontent.com/u/679350?v=3","gravatar_id":"","url":"https://api.github.com/users/diablodale","html_url":"https://github.com/diablodale","followers_url":"https://api.github.com/users/diablodale/followers","following_url":"https://api.github.com/users/diablodale/following{/other_user}","gists_url":"https://api.github.com/users/diablodale/gists{/gist_id}","starred_url":"https://api.github.com/users/diablodale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diablodale/subscriptions","organizations_url":"https://api.github.com/users/diablodale/orgs","repos_url":"https://api.github.com/users/diablodale/repos","events_url":"https://api.github.com/users/diablodale/events{/privacy}","received_events_url":"https://api.github.com/users/diablodale/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diablodale/dp.kinect2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-07T12:47:33Z","updated_at":"2016-03-08T20:25:39Z","closed_at":null,"body":"A new feature request. To output opengl textures rather than jit matrices. Good for patches that only process things in jit.gl.* objects or in shaders. This will remove one process from the chain of efforts and should cause a slight improvement in overall patch performance (though may not be measurable).\r\n\r\nThe simplest implementation would be a single attribute that designated that all matrices outlets will instead output textures. A drawback of this is that it doesn't allow a mix of matrices and textures (e.g. depth and color as texture + player and IR as matrix). With this simple approach a matrix can be created by chaining a jit.matrix object for only those that are needed.\r\n\r\nOutput types per data feed should be respected. For example, if @irtype=float32, then the IR texture should be a float32. If @irtype=long, then the texture should be a single plane 32-bit long texture.\r\n\r\nIt is not planned to internally combine multiple textures into one. Shaders and other tools can easily accept multiple textures and can do any combining necessary in the vertex, geometry, or fragment portions.\r\n\r\n@singularmoments do you have any comments on this texture feature idea?"},"comment":{"url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/comments/193954144","html_url":"https://github.com/diablodale/dp.kinect2/issues/18#issuecomment-193954144","issue_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/18","id":193954144,"user":{"login":"singularmoments","id":17693840,"avatar_url":"https://avatars.githubusercontent.com/u/17693840?v=3","gravatar_id":"","url":"https://api.github.com/users/singularmoments","html_url":"https://github.com/singularmoments","followers_url":"https://api.github.com/users/singularmoments/followers","following_url":"https://api.github.com/users/singularmoments/following{/other_user}","gists_url":"https://api.github.com/users/singularmoments/gists{/gist_id}","starred_url":"https://api.github.com/users/singularmoments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singularmoments/subscriptions","organizations_url":"https://api.github.com/users/singularmoments/orgs","repos_url":"https://api.github.com/users/singularmoments/repos","events_url":"https://api.github.com/users/singularmoments/events{/privacy}","received_events_url":"https://api.github.com/users/singularmoments/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T20:25:39Z","updated_at":"2016-03-08T20:25:39Z","body":"yes perhaps a picture is better;\r\nlook at the text on the book.\r\nthe quality difference is huge\r\n\r\nas you can see, \r\nalign=1 the cloud not modified is the same as in kinect studio.\r\nthe only difference is that the color is 1920x1080 depth_mapped.(instead of 512x424)\r\n\r\nalign2 kind of kill the cloud , being color_mapped.\r\n\r\nIf you want to see it by yourself, a small patch.\r\n\r\n![align1and2_not optimal](https://cloud.githubusercontent.com/assets/17693840/13615050/c15eebae-e573-11e5-8078-0e7348837c3d.png)\r\n\r\n[kin2_cloud_test.zip](https://github.com/diablodale/dp.kinect2/files/163898/kin2_cloud_test.zip)\r\n"}}