{"action":"created","issue":{"url":"https://api.github.com/repos/Kinect/RoomAliveToolkit/issues/21","labels_url":"https://api.github.com/repos/Kinect/RoomAliveToolkit/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Kinect/RoomAliveToolkit/issues/21/comments","events_url":"https://api.github.com/repos/Kinect/RoomAliveToolkit/issues/21/events","html_url":"https://github.com/Kinect/RoomAliveToolkit/issues/21","id":116815933,"number":21,"title":"ProjectionMapping","user":{"login":"minze202","id":15836689,"avatar_url":"https://avatars.githubusercontent.com/u/15836689?v=3","gravatar_id":"","url":"https://api.github.com/users/minze202","html_url":"https://github.com/minze202","followers_url":"https://api.github.com/users/minze202/followers","following_url":"https://api.github.com/users/minze202/following{/other_user}","gists_url":"https://api.github.com/users/minze202/gists{/gist_id}","starred_url":"https://api.github.com/users/minze202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minze202/subscriptions","organizations_url":"https://api.github.com/users/minze202/orgs","repos_url":"https://api.github.com/users/minze202/repos","events_url":"https://api.github.com/users/minze202/events{/privacy}","received_events_url":"https://api.github.com/users/minze202/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T17:47:51Z","updated_at":"2015-11-21T15:15:11Z","closed_at":null,"body":"Hi there,\r\n\r\nme and my group are currently trying to use your framework to create a simple game in unity. We were able to calibrate the projector with a single kinect camera and were able to run the projection mapping sample just fine.\r\n\r\nNow we tried to fill two walls inside a bookshelf with different colors,\r\n![image](https://cloud.githubusercontent.com/assets/15836689/11152654/1ade7370-8a34-11e5-8639-5c2cb18d57b8.png)\r\nWe tried to do that by saving the bookshelf geometry as obj-file and load it in unity. Then we put on each wall a plane with a different material. Lastly we put the main camera in an approriate spot and then use the desktopDuplication option in the sample to project the \"game\" onto the bookshelf.\r\nUnfortunately the colored planes never match the walls in the real world. We tried to adjust the camera but we can never achieve the overlapping we desire(As you can see on the pic: they have the right width, but not the right height). We thought that by only adjusting the camera into the projector position, we would be able to fill the walls of the bookshelf \"perfectly\". Did we perhaps miss something? The viewport of our Kinect is much higher than that of the projector. Could that be a problem?"},"comment":{"url":"https://api.github.com/repos/Kinect/RoomAliveToolkit/issues/comments/158651473","html_url":"https://github.com/Kinect/RoomAliveToolkit/issues/21#issuecomment-158651473","issue_url":"https://api.github.com/repos/Kinect/RoomAliveToolkit/issues/21","id":158651473,"user":{"login":"thundercarrot","id":11758497,"avatar_url":"https://avatars.githubusercontent.com/u/11758497?v=3","gravatar_id":"","url":"https://api.github.com/users/thundercarrot","html_url":"https://github.com/thundercarrot","followers_url":"https://api.github.com/users/thundercarrot/followers","following_url":"https://api.github.com/users/thundercarrot/following{/other_user}","gists_url":"https://api.github.com/users/thundercarrot/gists{/gist_id}","starred_url":"https://api.github.com/users/thundercarrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thundercarrot/subscriptions","organizations_url":"https://api.github.com/users/thundercarrot/orgs","repos_url":"https://api.github.com/users/thundercarrot/repos","events_url":"https://api.github.com/users/thundercarrot/events{/privacy}","received_events_url":"https://api.github.com/users/thundercarrot/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T15:15:11Z","updated_at":"2015-11-21T15:15:11Z","body":"When using the desktopDuplication approach, it is important that the graphics camera in Unity match that used in the projection mapping sample. Look at how userView and userProjection are composed from the head position and some basic assumption of FOV and aspect.\r\n\r\nKeep in mind in all this that RoomAlive Toolkit is right handed and Unity is left handed."}}