-
Notifications
You must be signed in to change notification settings - Fork 938
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
ES6 feature in master and beyond: AR.js next #402
Comments
Aframe nft examples does not works, it load partially but the worker is not created. Can't understand why didn't happened before. I will fix this as soon as i will found the reason fo this bug. |
live example with the bug: https://kalwalt.github.io/kalwalt-interactivity-AR/arjs/basic-nft-aframe.html |
New release |
I think on resize may be causing the models to tilt in the marker based tracking. It tends to happen mostly when in landscape mode ou when the user causes a rotation on the device when the scene is loaded on the marker. Maybe a rebuild scene function on the device orientation changes could fix the issue |
I plan to add Typescript support to AR.js and to artoolkit5-js, see this issue AR-js-org/artoolkit5-js#20. I created also this other issue AR-js-org/artoolkit5-js#19 mentioning SIMD feature. I have no idea when this can be done, but this is on my tick list now! |
I started to develop the AR.js-core package see this issue AR-js-org/AR.js-core#2 this will be a first step to the new AR.js-next generation library. Please tell us your opinion about this idea. This however it will be done in the next year, due to lack of free time in this part of the year. |
@kalwalt looks good to me, definitely makes sense to have the core more rendering-framework agnostic. |
ES6 feature in master and beyond: AR.js next
I merged the ES6 feature 2 days ago into master, i think this is a great step for AR.js. Tough this means that is not assured to be bug free. We converted all the code to the ES6 standard but maybe we missed something, please if you find some inconsistencies or issue file here or open a new one describing the "glitch" you found.
Anyway there are a couple of things to point out:
AR.js/three.js/examples/basic.html
Lines 101 to 130 in 4b5d84f
and few lines after getSourceOrientation:
AR.js/three.js/examples/basic.html
Lines 133 to 150 in 4b5d84f
or create a new instance of ARjs-session as in the arjs-session example. The routine is implemented in its core you don't need to write nothing:
AR.js/three.js/src/new-api/arjs-session.js
Lines 91 to 119 in 4b5d84f
Future steps
I released
3.4.0-alpha-rc1
because i think the code is not still stable. It needs more testing and feedback from devs. As written in te Readme you can install as a npm package:npm install @ar-js-org/ar.js
or with yarn:
yarn add @ar-js-org/ar.js
I created a simple example with react: react-threex-example but i think need some work yet. You can find other resources in this issue #234
Coming back to the version: we should do in little steps as we find bugs and try to solve them and release a stable one in anear future.
So what are the next steps in the near future in my opinion?
In the not near future:
The text was updated successfully, but these errors were encountered: