Open JanOwiesniak opened 6 years ago
Hey Jan! Thanks for giving this a try! I haven’t tested on an iPhone 6s so I’m not sure why It doesn’t show the right size. Perhaps you can investigate that, it seems like a straightforward matter. As for Vuforia, it is at least partially working, since the video is via Vuforia, though tracking should be working too. But yes, all you should have to do is remove the argon-private dependency and add the DEBUG_VUFORIA_LICENSE_KEY.
Also, try the webxr samples in the bookmarks rather than the old Argon samples.
Hey @speigg,
the WebXR examples are working (besides the wrong sized camera image i mentioned earlier).
The reason why i'm here is actually because i liked the idea of "talking" to Vuforia from a Javascript / Typescript / NativeScript environment. Argon.js seems to be the only lib which tries to tackle this task (or are there any other i'm not aware of?).
I would really appreciate if you could take a look into the Vuforia Image Target example to give me a few helpful hints what's the issue here. Maybe i can fixed it on my own :)
There is a WebXR / Vuforia image target example that works with the newer ArgonXR version. Check it out here:
https://github.com/argonjs/webxr-polyfill/tree/argon-wrapper
@speigg Thanks for the hint! It actually worked (at least as a proof of concept)!
Feedback
I recorded my session (maybe helpful to figure out what went wrong): https://youtu.be/76WDwoYVA0I
@JanOwiesniak that example is meant to track a 3D printed model, not the image you were looking at (false positive, that’s why the detection / tracking was “bad”). Alternatively, if you look at this image you should see a rectangle highlighting the image:
@speigg thanks for looking into it.
I tried but i can now longer open the Vuforia AR Example (even a fresh install of the argon-app does not help here). Not sure what went wrong. Have not changed anything at all, just restarted ngrok.
A screen capture of my session:
@JanOwiesnik I can’t really tell, but it’s odd that it gave you a file:// url like that.
@JanOwiesniak please also note that the "xr" branch is still a work in progress. Gheric doesn't have the cycles to actively help folks get it working, but can obviously (like above) answer questions. If you discover solutions to problems, please let us know. For example, if there is something someone needs to know when building (installing certain versions of things, etc), adding those to the readme and submitting a PR on it would be great.
@JanOwiesniak I can understand that the 6s might be slow: as the lowest supported iPhone for ARK, it's already pushing the limit. Web, Nativescript layers, Vuforia: all add overhead. I've had my 7Plus and XS get warm running AR Web stuff (in the WebXR Viewer we built at Mozilla, even, which isn't burdened with the additional Nativescript layer).
That said, it shouldn't be horrible and unusable, I think.
I tried to compile the argon-app (
master
branch) for my iPhone 6s but it is not working, probably because dependency issues between node, typescript and nativescript.It all ends up with a lot of typescript warnings and errors. So I looked at the other branches and figured out that you are working on an xr branch which seems to be very up-to-date (it even includes Vuforia 7).
So I switch the xr branch and tried to compile there. The package.json includes one dependency which points to my a system (../argon-private).
I didn’t have this dep. on my local system so I just removed all the occurrences in the code (it is used in utils for vuforia stuff -> decrypt and getInternalVuforiaKey)
I changed the code to this:
I set my
DEBUG_VUFORIA_LICENSE_KEY
as well and started to rebuild the project for iOS again.I was surprised because it “just" worked. So I jumped into Xcode to let it run on my iPhone 6s. The application started but there are at least 2 bugs.
—
I really appreciate any kind of help. Me starting the app on my phone.
This is what Xcode gives me: