{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/9508","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/9508/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/9508/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/9508/events","html_url":"https://github.com/mrdoob/three.js/issues/9508","id":171060487,"number":9508,"title":"spotlight tojson does not export target, 3js editor does not edit it","user":{"login":"makc","id":242577,"avatar_url":"https://avatars.githubusercontent.com/u/242577?v=3","gravatar_id":"","url":"https://api.github.com/users/makc","html_url":"https://github.com/makc","followers_url":"https://api.github.com/users/makc/followers","following_url":"https://api.github.com/users/makc/following{/other_user}","gists_url":"https://api.github.com/users/makc/gists{/gist_id}","starred_url":"https://api.github.com/users/makc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makc/subscriptions","organizations_url":"https://api.github.com/users/makc/orgs","repos_url":"https://api.github.com/users/makc/repos","events_url":"https://api.github.com/users/makc/events{/privacy}","received_events_url":"https://api.github.com/users/makc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-08-14T14:07:15Z","updated_at":"2016-09-06T21:53:08Z","closed_at":null,"body":"```json\r\n{\r\n            \"uuid\": \"F7A1537F-0DA9-4FC2-9436-1BCC2A930EDA\",\r\n            \"type\": \"SpotLight\",\r\n            \"castShadow\": true,\r\n            \"matrix\": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 215.52757263183594, -383.2663269042969, 587.3773193359375, 1],\r\n            \"color\": 255,\r\n            \"intensity\": 2,\r\n            \"distance\": 1300,\r\n            \"angle\": 0.3490658503988659,\r\n            \"decay\": 1,\r\n            \"penumbra\": 0\r\n        }\r\n```\r\n\r\nthis is what I get for the spot light. importing it in 3js editor it looks at the origin."},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/245108017","html_url":"https://github.com/mrdoob/three.js/issues/9508#issuecomment-245108017","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/9508","id":245108017,"user":{"login":"tentone","id":9158354,"avatar_url":"https://avatars.githubusercontent.com/u/9158354?v=3","gravatar_id":"","url":"https://api.github.com/users/tentone","html_url":"https://github.com/tentone","followers_url":"https://api.github.com/users/tentone/followers","following_url":"https://api.github.com/users/tentone/following{/other_user}","gists_url":"https://api.github.com/users/tentone/gists{/gist_id}","starred_url":"https://api.github.com/users/tentone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tentone/subscriptions","organizations_url":"https://api.github.com/users/tentone/orgs","repos_url":"https://api.github.com/users/tentone/repos","events_url":"https://api.github.com/users/tentone/events{/privacy}","received_events_url":"https://api.github.com/users/tentone/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T21:53:08Z","updated_at":"2016-09-06T21:53:08Z","body":"Hmm thats true, sorry my bad. (Should that be fixed?)\r\n\r\nAnyway i think just trowing the target away and use the light rotation would be kinda of easy anyway since the shader takes a direction vector its fast to calculate one from euler rotation.\r\n\r\n"}}
{"actor":{"display_login":"tentone"}}