Closed gavan1 closed 4 months ago
I'm seeing the same result. This is the error-
martins.min.js:20 [martins-js] Tracking error: o: WebGL error.
---------- ERROR ----------
0:73: S0032: no default precision defined for variable 'vec4[9]' Program has not been successfully linked.
---------- SOURCE CODE ----------
-> [speedy-vision.js] warning @ martins.min.js:20
@skeegan Thanks for the feedback. I intend to get it working on Safari and iOS.
The error you are seeing has to do with a shader not being compiled due to a driver bug. I fix these kinds of errors in my library Speedy Vision. Once they are fixed, the AR demos here will work.
May I ask you to test the following Speedy Vision demos?
You are expected to see points and lines. If you see errors in the console, please let me know.
Hi @alemart , Thanks for your response. Each of those three works for me in Chrome on a Google Pixel 7A (no errors in console).
Any idea on when the other AR demo will be working?
@skeegan Thanks for testing. I have updated the Speedy Vision version used in the demos.
May you test the AR demos again? Try the basic webcam and the WebGL demos. You are expected to see an animation in augmented reality. If you see any errors in the console, let me know.
You should see MARTINS.js version 0.1.2-wip and Speedy Vision version 0.9.1-wip in the console. Please clear the browser cache if you don't.
Hi @alemart,
I'm seeing the correct versions for MARTINS.js and for Speedy Vision. However, I'm now getting a different error:
martins.min.js:20 [martins-js] Tracking error: r: WebGL error.
_---------- ERROR ----------
0:207: S0032: no default precision defined for variable 'mat3[2]' Program has not been successfully linked._
[alemart.github.io-1704882393420.log](https://github.com/alemart/martins-js/files/13886362/alemart.github.io-1704882393420.log) (full log attached)
@skeegan This is a similar driver bug that has to do with an initializer. Would you try again? If you see the same error, please clear the browser cache.
it works now- thanks.
Quick question: You say that Safari support is coming soon. Any idea when that might be ready?
it works now- thanks.
Awesome!
Quick question: You say that Safari support is coming soon. Any idea when that might be ready?
Yes: when a volunteer helps me test it on Safari. Support for Safari is probably just a tiny change ahead.
Since I started this project back in 2022, the Epiphany browser (WebKit-based) received WebGL2 support. I was able to run the demos on a version of Epiphany.
I don't own a Mac nor an iOS device at the present time, so I'm using Epiphany as a suitable alternative to Safari. I would like to have this project tested on actual Apple hardware as well.
I don't have an iOS device either but I'll check it out when I can. Could your code be adapted to enable floor detection (for tap-to-place)?
On Thu, Jan 11, 2024 at 5:09 PM Alexandre Martins @.***> wrote:
it works now- thanks.
Awesome!
Quick question: You say that Safari support is coming soon. Any idea when that might be ready?
Yes: when a volunteer helps me test it on Safari. Support for Safari is probably just a tiny change ahead.
Since I started this project back in 2022, the Epiphany browser (WebKit-based) received WebGL2 support. I was able to run the demos on a version of Epiphany.
I don't own a Mac nor an iOS device at the present time, so I'm using Epiphany as a suitable alternative to Safari. I would like to have this project tested on actual Apple hardware as well.
— Reply to this email directly, view it on GitHub https://github.com/alemart/martins-js/issues/4#issuecomment-1887598405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYM35FJV5DHE5J4BU5VELYOAMEZAVCNFSM6AAAAAAXMZZBX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGU4TQNBQGU . You are receiving this because you were mentioned.Message ID: @.***>
Could your code be adapted to enable floor detection (for tap-to-place)?
That would require implementing a new tracker. I don't have this feature in mind at this moment. I thank you for your interest in my work.
To whom it might interest: Safari 15 is the minimum required version.
If you're a Safari user, your feedback is appreciated.
I have good news: now we have Safari support.
I managed to test the WebAR demos on several iOS devices. After a small adjustment, I could get them to work on versions 15.2 or newer of the Safari browser (though not on Safari 15.0-15.1).
I have tested the demos on the following devices: iPhone 11 Pro (iOS 15.5), iPhone 12 (iOS 15.6.1), iPhone 12 Pro (iOS 15.0.2), iPhone 13 (iOS 15.0.2), iPhone 13 Pro (iOS 15.2), iPhone 13 Pro Max (iOS 15.1), iPhone 14 (iOS 16.1 and iOS 16.6.1), iPhone XR (iOS 16.4), iPad mini (iPadOS 15.1) and iPad Air (iPadOS 15.4.1). The demos work on every device with Safari 15.2 or newer. Tested on the AWS Device Farm.
If you're a iOS or a macOS user, your feedback is much appreciated. I was not able to test the camera feed on the cloud, and yet the engine seemed to work as expected.
Here is a video of a demo working on iOS (the FPS/GPU rates indicate good performance):
https://github.com/alemart/martins-js/assets/221477/f227bb42-cfdd-4ce4-b013-b6f3cba6ff8e
MARTINS.js version 0.2.0 works on iOS. I have tested it on more devices. I'm closing this issue now.
Video stream freezes and motion from device motion not being pickup up.
Feature tracking is working and 3d objects are appearing.#3