-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFT Branch, looking for a working demo #83
Comments
H @nicolocarpignoli i am working to update the nft branch see this my PR kalwalt#1 This is a work in progress, for now i don't receive errors but the nft image is not recognized ( or could be some other issue).
yes the Api is a bit old, you are right but you could also try the other repository https://github.com/artoolkit/jsartoolkit5/tree/nft
it should be related ( but not sure 100%) to the last part of the artoolkit.api, jsartoolkit5/js/artoolkit.api.js Lines 1706 to 1728 in 276e354
and this is in my branch: Unfortunately i have also some issue with the other type of markers, i think i am very close but i can't see where is the problem... |
Great! I'm trying to run the demo, opening in a local environment https://github.com/artoolkit/jsartoolkit5/blob/nft/examples/nft_threejs.html but loading your file linked above (artoolkit.api.js). I always get the FS is not defined error. |
that's strange... no i don't run any script could you post all the log? but Are you trying to use my artoolkit.api.js version with the example? |
Yes, I'm using your artoolkit.api.js on the HTML, but I got the same error of the 'original' artoolkit.api.js with the modifies about 'createObjectUrl' that I said on the first post. I have the latest Chrome on desktop (but error on mobile as well): Launched on a local server under https to avoid CORS and privacy problems. |
I don't know why this happens, but what happens if you use the minified version ? and also what is the result for the |
@nicolocarpignoli wait i have other changes in my branch! |
@nicolocarpignoli the FS error could be caused also by a wrong compilation of the libs: the |
eventually will be closed by: #86 |
there is now! :D |
@nicolocarpignoli please see here on how to fix the FS error |
Hi everybody
I think the NFT branch is very very interesting, also for things like AR.js. I'd like to try a demo. I see there is a lot of demos on it, but I tried the 'nft_threejs.html' demo file, and I found several issues, that are blocking me:
at some point, on
artoolkit.api.js
, there is a call tovideo.src = URL.createObjectUrl(stream)
. API is old and the solution is simply to do this:video.srcObject = stream
instead of the aboveFS is not defined.
I have not solved the second error. It requires FS, that is a node thing. I don't understand why it is used on an HTML file, and also, how this is working in the first place.
BTW, my answer is: is there anybody that has been able to use some of the NFT branch demo with success, in the past months? Can you point me what demos to use, or another project maybe that uses such jsartoolkit branch?
thank you so much
The text was updated successfully, but these errors were encountered: