argon

Using Geo-coordintes Instead of Cartesian to Draw in Argon and A-Frame

[亡魂溺海] 提交于 2019-12-09 01:42:37
问题 I would like to create a GPS drawing program in Argon and A-Frame which draws lines based upon people's movements. Lines can be drawn in A-Frame with, for example, the meshline component which uses Cartesian points: <a-entity meshline="lineWidth: 20; path: -2 -1 0, 0 -2 0</a-entity> If I were to do this with a GPS device, I would take the GPS coordinates and map them directly to something like Google maps. Does Argon have any similar functionality such that I can use the GPS coordinates

Occlusion of real-world objects using three.js

只谈情不闲聊 提交于 2019-12-08 21:00:41
问题 I’m using three.js inside an experimental augmented-reality web browser. (The browser is called Argon. Essentially, Argon uses Qualcomm’s Vuforia AR SDK to track images and objects in the phone camera. Argon sends the tracking information into Javascript, where it uses transparent web pages with three.js to create 3D graphics on top of the phone video feed.) My question is about three.js, however. The data Argon sends into the web page allows me to align the 3D camera with the physical phone

Argon.js: Error: A frame state has not yet been received

泄露秘密 提交于 2019-12-08 06:09:18
问题 I am attempting to use argon.js server side so that I can convert lla coordinates to a predefined reference frame. I'm not rendering any graphics of course, I'm just using it to convert values. See SO question Using Geo-coordintes Instead of Cartesian to Draw in Argon and A-Frame for details. Per that thread, I am trying to create a cesium entity for a fixed coordinate which I will later use to create other entities relative to it. When I do, everything runs until I get to the last line of

Argon.js: Error: A frame state has not yet been received

我怕爱的太早我们不能终老 提交于 2019-12-06 16:40:48
I am attempting to use argon.js server side so that I can convert lla coordinates to a predefined reference frame. I'm not rendering any graphics of course, I'm just using it to convert values. See SO question Using Geo-coordintes Instead of Cartesian to Draw in Argon and A-Frame for details. Per that thread, I am trying to create a cesium entity for a fixed coordinate which I will later use to create other entities relative to it. When I do, everything runs until I get to the last line of the program var gtrefEntityPose = app.context.getEntityPose(gtrefEntity); where I receive Error: A frame