Giter VIP home page Giter VIP logo

Comments (11)

blairmacintyre avatar blairmacintyre commented on May 27, 2024

Unfortunately, we didn't get the WebRTC backend for argon.js completely working on my recent versions of Android (an update mid-year last year broke the video orientation). Since nobody was actually using it, it was never fixed (we've been using Argon4 on Android).

If you can figure out how to get it fixed, we'd be happy to accept a PR.

from argon.

jgwinner avatar jgwinner commented on May 27, 2024

Ok - I downloaded Argon.js and those demos worked fine. I was trying to build a separate download, but hey, if it works, maybe I just have people use that. However, the venu I'm using this in has bad cell connectivity, so I was trying to build a Unity app.

Not sure I know enough to fix it, but I can try to take a look, but only if it's use to others besides myself.

I'm a little intrigued by the "since nobody was actually using it". What ARE people using?

== John ==

from argon.

speigg avatar speigg commented on May 27, 2024

@jgwinner argon.js is primarily designed to work with the Argon browser (which exposes advanced computer vision functionality). However, we are in the process of transitioning away from our own custom api towards the use of the WebXR standard (which is still in development). So argon.js may likely be deprecated soon. The next version of the Argon Browser will support the WebXR apis.

from argon.

jgwinner avatar jgwinner commented on May 27, 2024

Makes sense!

from argon.

evaristoc avatar evaristoc commented on May 27, 2024

Having same problem as @jgwinner.

we are in the process of transitioning away from our own custom api towards the use of the WebXR standard (which is still in development). So argon.js may likely be deprecated soon. The next version of the Argon Browser will support the WebXR apis.

Thanks for the clarification, @speigg. It is a pitty the *.js is to be deprecated that soon though. In my opinion without a transition period the framework might face some adoption resistance from ordinary/amateur developers and even from the general mobile phone user if having to download a dedicated browser as a requirement.

I would like to advocate for more AR between JavaScript (web) developers and I think having a workable framework could help people to get interested.

Unfortunately, we didn't get the WebRTC backend for argon.js completely working on my recent versions of Android (an update mid-year last year broke the video orientation). Since nobody was actually using it, it was never fixed (we've been using Argon4 on Android).

Is there a way to fix this bug? I am not a pro developer but maybe I can help with a fix?

from argon.

evaristoc avatar evaristoc commented on May 27, 2024

I guess this is the pull that broke the screen orientation?
#85

from argon.

evaristoc avatar evaristoc commented on May 27, 2024

A quick inspection brought me to this update:
d0fb261

where the video plane and camera/canvas Aspects are apparently adjusted. It looks like a candidate. Any suggestions?

from argon.

blairmacintyre avatar blairmacintyre commented on May 27, 2024

Unfortunately, we have nobody working on this right now (no skilled Android devs in the lab, no funding to hire any) so we can't look into it ...

from argon.

evaristoc avatar evaristoc commented on May 27, 2024

Sorry to hear that, @blairmacintyre . I really like the initiative and hope you a LOT of success!

from argon.

blairmacintyre avatar blairmacintyre commented on May 27, 2024

Thanks. We've transitioned our focus to webxr, since it's going to be available in most places this year (I expect). While it will not necessarily support everything Argon does, it will be useful to work on pushing the WebXR community to support what we need. And, of course, we'll likely have a version of Argon that supports webxr with custom extensions for the things we care about, although I don't know what it will take to get an Android version out (Android programmers would be welcome!)

from argon.

evaristoc avatar evaristoc commented on May 27, 2024

@blairmacintyre by the way:

Following some "informed guesses" I found a possible hack for the topic of this issue in case you want to know. It is a common error what I think it happened: the coder confused a "=" for a "===".

In the argon.min.js, it is at:
"portrait"===this.orientation&&(n.rotation.z=1/2*Math.PI)

Apparently, it should be:
"portrait"===this.orientation&&(n.rotation.z===1/2*Math.PI)

The debugging was very partial: I am debugging going through the argon.min.js and committing to my gh-page - although I should have done it using Android Studio?

EDIT: the camera image is in the right position but NOT the coordinates. Sorry, ignore this one! Require in-field testing: apparently is ok??

========================

Thanks @blairmacintyre ! I am VERY new to this field, also consider myself still an amateur despite of the experience.

One of my purposes for this year is to write about this exciting topic and present demos with different projects while researching the area. Not that I am an influencer but I would like to advocate the use of AR within the JS community, focusing on JS/web based alternatives.

As a personal project, I would like to see if I can build a small AR outdoor exhibition - one reason I was so enthusiastic about argon.js.

I don't know much about WebXR but I see listed a couple of projects I have used to build demos! Thanks!

Not really verse in Android even though Google Suite is what interest me now - and Mozilla, of course!!!!. Unfortunately no Java; python and a bit of C++ perhaps? Still please keep it in the loop (testing?, another pair of eyes? some code when applicable?).

Anyway hope this helps!

from argon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.