{"action":"created","issue":{"url":"https://api.github.com/repos/ands/lightmapper/issues/3","repository_url":"https://api.github.com/repos/ands/lightmapper","labels_url":"https://api.github.com/repos/ands/lightmapper/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ands/lightmapper/issues/3/comments","events_url":"https://api.github.com/repos/ands/lightmapper/issues/3/events","html_url":"https://github.com/ands/lightmapper/issues/3","id":171074507,"number":3,"title":"Right-Handed Projection Matrix","user":{"login":"andr3wmac","id":862932,"avatar_url":"https://avatars.githubusercontent.com/u/862932?v=3","gravatar_id":"","url":"https://api.github.com/users/andr3wmac","html_url":"https://github.com/andr3wmac","followers_url":"https://api.github.com/users/andr3wmac/followers","following_url":"https://api.github.com/users/andr3wmac/following{/other_user}","gists_url":"https://api.github.com/users/andr3wmac/gists{/gist_id}","starred_url":"https://api.github.com/users/andr3wmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andr3wmac/subscriptions","organizations_url":"https://api.github.com/users/andr3wmac/orgs","repos_url":"https://api.github.com/users/andr3wmac/repos","events_url":"https://api.github.com/users/andr3wmac/events{/privacy}","received_events_url":"https://api.github.com/users/andr3wmac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ands/lightmapper/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ands/lightmapper/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"ands","id":151513,"avatar_url":"https://avatars.githubusercontent.com/u/151513?v=3","gravatar_id":"","url":"https://api.github.com/users/ands","html_url":"https://github.com/ands","followers_url":"https://api.github.com/users/ands/followers","following_url":"https://api.github.com/users/ands/following{/other_user}","gists_url":"https://api.github.com/users/ands/gists{/gist_id}","starred_url":"https://api.github.com/users/ands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ands/subscriptions","organizations_url":"https://api.github.com/users/ands/orgs","repos_url":"https://api.github.com/users/ands/repos","events_url":"https://api.github.com/users/ands/events{/privacy}","received_events_url":"https://api.github.com/users/ands/received_events","type":"User","site_admin":false},"assignees":[{"login":"ands","id":151513,"avatar_url":"https://avatars.githubusercontent.com/u/151513?v=3","gravatar_id":"","url":"https://api.github.com/users/ands","html_url":"https://github.com/ands","followers_url":"https://api.github.com/users/ands/followers","following_url":"https://api.github.com/users/ands/following{/other_user}","gists_url":"https://api.github.com/users/ands/gists{/gist_id}","starred_url":"https://api.github.com/users/ands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ands/subscriptions","organizations_url":"https://api.github.com/users/ands/orgs","repos_url":"https://api.github.com/users/ands/repos","events_url":"https://api.github.com/users/ands/events{/privacy}","received_events_url":"https://api.github.com/users/ands/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-08-14T19:34:11Z","updated_at":"2016-09-13T21:30:01Z","closed_at":null,"body":"The projection matrix code in lm_setView is right-handed. When used in a renderer that's left-handed the culling has to change based on whether its a lightmap render or a regular scene render. Could you add a setting, perhaps in lmCreate, where left/right handedness could be specified?\r\n\r\nAlso, does the library make that assumption, or any other assumption about handedness/winding order/culling anywhere else? I ask because I switched the projection function to left-handed and the result was darker leading me to believe the library relies on that handedness to some degree."},"comment":{"url":"https://api.github.com/repos/ands/lightmapper/issues/comments/246831050","html_url":"https://github.com/ands/lightmapper/issues/3#issuecomment-246831050","issue_url":"https://api.github.com/repos/ands/lightmapper/issues/3","id":246831050,"user":{"login":"andr3wmac","id":862932,"avatar_url":"https://avatars.githubusercontent.com/u/862932?v=3","gravatar_id":"","url":"https://api.github.com/users/andr3wmac","html_url":"https://github.com/andr3wmac","followers_url":"https://api.github.com/users/andr3wmac/followers","following_url":"https://api.github.com/users/andr3wmac/following{/other_user}","gists_url":"https://api.github.com/users/andr3wmac/gists{/gist_id}","starred_url":"https://api.github.com/users/andr3wmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andr3wmac/subscriptions","organizations_url":"https://api.github.com/users/andr3wmac/orgs","repos_url":"https://api.github.com/users/andr3wmac/repos","events_url":"https://api.github.com/users/andr3wmac/events{/privacy}","received_events_url":"https://api.github.com/users/andr3wmac/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T21:30:01Z","updated_at":"2016-09-13T21:30:01Z","body":"Hey, sorry for disappearing I had some life things get in the way of personal projects. Anyway, I've pushed my bgfx port here: https://github.com/andr3wmac/bgfx as example number 32. \r\n\r\nYou can find the actual ported lightmapper.h here:\r\nhttps://github.com/andr3wmac/bgfx/blob/master/examples/32-lightmapper/lightmapper_bgfx.h \r\nLet me know if the way I modified the license at the top is okay I can restructure it if you prefer.\r\n\r\nI assume you're unfamiliar with bgfx, the build instructions are here if you need them: \r\nhttps://bkaradzic.github.io/bgfx/build.html\r\n\r\nDX11 is the only working API at the moment."}}
{"actor":{"display_login":"andr3wmac"}}