{"action":"created","issue":{"url":"https://api.github.com/repos/BabylonJS/Exporters/issues/249","repository_url":"https://api.github.com/repos/BabylonJS/Exporters","labels_url":"https://api.github.com/repos/BabylonJS/Exporters/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/BabylonJS/Exporters/issues/249/comments","events_url":"https://api.github.com/repos/BabylonJS/Exporters/issues/249/events","html_url":"https://github.com/BabylonJS/Exporters/issues/249","id":337316491,"node_id":"MDU6SXNzdWUzMzczMTY0OTE=","number":249,"title":"Camera, lighting and visibility export?","user":{"login":"jdswiney","id":39228827,"node_id":"MDQ6VXNlcjM5MjI4ODI3","avatar_url":"https://avatars3.githubusercontent.com/u/39228827?v=4","gravatar_id":"","url":"https://api.github.com/users/jdswiney","html_url":"https://github.com/jdswiney","followers_url":"https://api.github.com/users/jdswiney/followers","following_url":"https://api.github.com/users/jdswiney/following{/other_user}","gists_url":"https://api.github.com/users/jdswiney/gists{/gist_id}","starred_url":"https://api.github.com/users/jdswiney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdswiney/subscriptions","organizations_url":"https://api.github.com/users/jdswiney/orgs","repos_url":"https://api.github.com/users/jdswiney/repos","events_url":"https://api.github.com/users/jdswiney/events{/privacy}","received_events_url":"https://api.github.com/users/jdswiney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"noalak","id":20560340,"node_id":"MDQ6VXNlcjIwNTYwMzQw","avatar_url":"https://avatars2.githubusercontent.com/u/20560340?v=4","gravatar_id":"","url":"https://api.github.com/users/noalak","html_url":"https://github.com/noalak","followers_url":"https://api.github.com/users/noalak/followers","following_url":"https://api.github.com/users/noalak/following{/other_user}","gists_url":"https://api.github.com/users/noalak/gists{/gist_id}","starred_url":"https://api.github.com/users/noalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noalak/subscriptions","organizations_url":"https://api.github.com/users/noalak/orgs","repos_url":"https://api.github.com/users/noalak/repos","events_url":"https://api.github.com/users/noalak/events{/privacy}","received_events_url":"https://api.github.com/users/noalak/received_events","type":"User","site_admin":false},"assignees":[{"login":"noalak","id":20560340,"node_id":"MDQ6VXNlcjIwNTYwMzQw","avatar_url":"https://avatars2.githubusercontent.com/u/20560340?v=4","gravatar_id":"","url":"https://api.github.com/users/noalak","html_url":"https://github.com/noalak","followers_url":"https://api.github.com/users/noalak/followers","following_url":"https://api.github.com/users/noalak/following{/other_user}","gists_url":"https://api.github.com/users/noalak/gists{/gist_id}","starred_url":"https://api.github.com/users/noalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noalak/subscriptions","organizations_url":"https://api.github.com/users/noalak/orgs","repos_url":"https://api.github.com/users/noalak/repos","events_url":"https://api.github.com/users/noalak/events{/privacy}","received_events_url":"https://api.github.com/users/noalak/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-01T19:42:28Z","updated_at":"2018-07-02T09:21:51Z","closed_at":null,"author_association":"NONE","body":"They all work great when exporting to Babylon.js files. Thanks for adding them! When exporting to GLTF files, the camera, lighting and visibility doesn't seem to work. It would be awesome to have them there too. Is a limitation of the GLTF file type?"},"comment":{"url":"https://api.github.com/repos/BabylonJS/Exporters/issues/comments/401729697","html_url":"https://github.com/BabylonJS/Exporters/issues/249#issuecomment-401729697","issue_url":"https://api.github.com/repos/BabylonJS/Exporters/issues/249","id":401729697,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTcyOTY5Nw==","user":{"login":"noalak","id":20560340,"node_id":"MDQ6VXNlcjIwNTYwMzQw","avatar_url":"https://avatars2.githubusercontent.com/u/20560340?v=4","gravatar_id":"","url":"https://api.github.com/users/noalak","html_url":"https://github.com/noalak","followers_url":"https://api.github.com/users/noalak/followers","following_url":"https://api.github.com/users/noalak/following{/other_user}","gists_url":"https://api.github.com/users/noalak/gists{/gist_id}","starred_url":"https://api.github.com/users/noalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noalak/subscriptions","organizations_url":"https://api.github.com/users/noalak/orgs","repos_url":"https://api.github.com/users/noalak/repos","events_url":"https://api.github.com/users/noalak/events{/privacy}","received_events_url":"https://api.github.com/users/noalak/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T09:21:51Z","updated_at":"2018-07-02T09:21:51Z","author_association":"CONTRIBUTOR","body":"Cameras are exported in glTF. However, glTF specs only defines free cameras. Cameras with aim (ArcRotateCamera) are not supported by glTF specs.\r\nBecause of that, in the Babylon Sandbox, an ArcRotateCamera is always created and used by default to ease visualisation of the scene. You can switch between cameras using the Inspector panel (square with pen icon on the bottom right corner).\r\n\r\nLights are exported using KHR_lights extension. This extension is optional. Babylon does read it. Make sure your engine does too.\r\n\r\nAs you said, visibility is not part of gltf spec.\r\n\r\nBtw, which software are you exporting from ? 3ds max, Maya, Unity ?"}}
{"actor":{"display_login":"noalak"}}