{"action":"created","issue":{"url":"https://api.github.com/repos/argonjs/argon-aframe/issues/6","repository_url":"https://api.github.com/repos/argonjs/argon-aframe","labels_url":"https://api.github.com/repos/argonjs/argon-aframe/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/argonjs/argon-aframe/issues/6/comments","events_url":"https://api.github.com/repos/argonjs/argon-aframe/issues/6/events","html_url":"https://github.com/argonjs/argon-aframe/issues/6","id":205459997,"node_id":"MDU6SXNzdWUyMDU0NTk5OTc=","number":6,"title":"Best way to integrated argon and aframe","user":{"login":"blairmacintyre","id":1348861,"node_id":"MDQ6VXNlcjEzNDg4NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1348861?v=4","gravatar_id":"","url":"https://api.github.com/users/blairmacintyre","html_url":"https://github.com/blairmacintyre","followers_url":"https://api.github.com/users/blairmacintyre/followers","following_url":"https://api.github.com/users/blairmacintyre/following{/other_user}","gists_url":"https://api.github.com/users/blairmacintyre/gists{/gist_id}","starred_url":"https://api.github.com/users/blairmacintyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairmacintyre/subscriptions","organizations_url":"https://api.github.com/users/blairmacintyre/orgs","repos_url":"https://api.github.com/users/blairmacintyre/repos","events_url":"https://api.github.com/users/blairmacintyre/events{/privacy}","received_events_url":"https://api.github.com/users/blairmacintyre/received_events","type":"User","site_admin":false},"labels":[{"id":413985442,"node_id":"MDU6TGFiZWw0MTM5ODU0NDI=","url":"https://api.github.com/repos/argonjs/argon-aframe/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":413985445,"node_id":"MDU6TGFiZWw0MTM5ODU0NDU=","url":"https://api.github.com/repos/argonjs/argon-aframe/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-02-05T22:28:40Z","updated_at":"2018-06-11T14:36:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Right now, argon and aframe are integrated via a new scene, the `ar-scene`.  This has the advantage that developers explicitly choose if they want VR (via `a-scene`) or AR (via `ar-scene`) and means the internal implementation and structure of the two scenes can be different.\r\n\r\nHowever, separating the scenes makes a few things difficult\r\n- it is harder to switch between AR and VR (or simply 3D-in-a-div) because the scene must change\r\n- it makes it harder to repurpose existing A-Frame samples and demo code (perhaps this is minor)\r\n- 3rd party components and extensions often search the DOM for an `a-scene` element, preventing them from working with argon (e.g., the inspector does this!)\r\n\r\nThere are two alternatives to the current implementation.\r\n\r\n1) cause argon-aframe.js to override the methods in the `a-scene` object, causing it to work with argon and AR.  This is perhaps the \"simplest\" but it means that once you load argon-aframe.js, you can no longer do VR.\r\n\r\n2) cause argon-aframe.js to add new methods to the `a-scene` object, an analogous set of capabilities for AR as currently exist for VR (e.g., enterAR methods and events, etc, akin to the current enterVR ones).  Additional methods/properties would allow the programmer to choose between AR and VR.  If running in a browser that supports both, we could even put a second icon up beside the current \"VR glasses\" icon, to allow the end user to choose between AR and VR.\r\n\r\nI'm curious what people think.  I'm leaving toward implementing option 2.  WebVR is moving toward supporting multiple kinds of displays, so we will eventually want AFrame to support having the user choose between different displays and modalities. "},"comment":{"url":"https://api.github.com/repos/argonjs/argon-aframe/issues/comments/396266126","html_url":"https://github.com/argonjs/argon-aframe/issues/6#issuecomment-396266126","issue_url":"https://api.github.com/repos/argonjs/argon-aframe/issues/6","id":396266126,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjI2NjEyNg==","user":{"login":"blairmacintyre","id":1348861,"node_id":"MDQ6VXNlcjEzNDg4NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1348861?v=4","gravatar_id":"","url":"https://api.github.com/users/blairmacintyre","html_url":"https://github.com/blairmacintyre","followers_url":"https://api.github.com/users/blairmacintyre/followers","following_url":"https://api.github.com/users/blairmacintyre/following{/other_user}","gists_url":"https://api.github.com/users/blairmacintyre/gists{/gist_id}","starred_url":"https://api.github.com/users/blairmacintyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairmacintyre/subscriptions","organizations_url":"https://api.github.com/users/blairmacintyre/orgs","repos_url":"https://api.github.com/users/blairmacintyre/repos","events_url":"https://api.github.com/users/blairmacintyre/events{/privacy}","received_events_url":"https://api.github.com/users/blairmacintyre/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T14:36:40Z","updated_at":"2018-06-11T14:36:40Z","author_association":"CONTRIBUTOR","body":"for argon.js, go to argonjs.io\r\n\r\nfor aframe and argon, all we have is what's here on this repo.  "}}
{"actor":{"display_login":"blairmacintyre"}}