Hey everyone!
I’m working on an iOS app that uses AR technology. I’m using the NFT feature from ARToolKit. My setup includes a printed paper with 5 NFT markers.
Here’s the problem I’m facing: When I run the app, it only shows one virtual object at a time, even when multiple markers are visible in the camera view.
What I’m trying to achieve is to have all the virtual objects appear at once for all the visible markers. Is there a way to make this happen?
Has anyone dealt with this before? Any tips or tricks would be super helpful! I’ve been scratching my head over this for a while now.
Thanks in advance for any help you can offer!
hey there creativePainter45! i had similar trouble with ARToolKit. have u tried tweaking the detection threshold? sometimes lowering it helps catch more markers at once. also, double-check ur rendering loop - make sure its checking all markers, not just the first one it finds. good luck with ur project!
hey creativePainter45! i’m super curious about your AR project - it sounds really cool!
have you considered using a different AR framework? i’ve heard good things about Vuforia for handling multiple markers at once. what made you choose ARToolKit specifically?
also, i’m wondering about your hardware setup. what kind of iOS device are you using? sometimes older devices struggle with processing multiple markers simultaneously.
oh, and here’s a random thought - have you tried varying the sizes or designs of your NFT markers? sometimes that can help with recognition.
keep us posted on how it goes! I’d love to hear more about your project as it develops. maybe you could share some screenshots of what you’re working on? 
I’ve encountered a similar issue when working with ARToolKit and multiple NFT markers. The key is to modify the tracking configuration to support simultaneous detection. In your code, look for the arSetPatternDetectionMode() function. You’ll want to set it to AR_TEMPLATE_MATCHING_COLOR_AND_MATRIX mode. This allows for multiple marker detection.
Also, ensure you’re using the multi-marker setup in your initialization. Instead of ar2StartHandle(), use ar2StartHandleT() for each marker. This enables tracking of multiple NFTs concurrently.
Lastly, in your rendering loop, iterate through all markers and draw objects for each detected one, not just the first. This approach should allow all virtual objects to appear simultaneously when their corresponding markers are visible.