Hey everyone, I’m stuck with a problem in my ARToolKit iOS project. I’m trying to use multiple NFT markers, but it’s not working as expected.
I’ve done the following:
- Created .fset and .iset files for both images
- Updated the markers.dat file
The weird thing is, the app only shows the 3D object on one image at a time. It’s always the one listed first in markers.dat. If I switch the order in the file, it changes which image works.
Am I missing something obvious here? Is this a known issue with ARToolKit? I’m pretty confused and could use some help figuring out what’s going on.
Has anyone else run into this problem before? Any tips or tricks would be really appreciated. Thanks in advance for any help!
hey singingsnow, i had this problem too. make sure ur calling ARTrackerManager.getInstance().addNFTMarker() for each marker. also, check if ur using the right version of ARToolKit. some older versions had issues with multiple NFTs. good luck!
hi there singingsnow! i’ve been playing around with ARToolKit for a while and ran into similar headaches with multiple NFT markers. have you double-checked your initialization code? sometimes the issue can be sneaky and hide in how you’re setting up the markers initially.
also, what’s your frame rate like? if it’s too low, the toolkit might struggle to detect multiple markers consistently. maybe try boosting it if possible?
oh, and here’s a weird one - are your marker images significantly different from each other? i once had trouble because my markers were too similar and the detection got confused.
just throwing ideas out there! lemme know if any of these ring a bell or if you want to brainstorm more. this stuff can be tricky but also super fun when it finally clicks, right? 
I’ve encountered a similar issue with multiple NFT markers in ARToolKit for iOS. The problem often stems from how the markers are being loaded and processed in the app’s main loop. Make sure you’re calling ARToolKit’s detection functions for each marker in your update cycle. Also, check your camera calibration settings - incorrect parameters can cause detection issues with multiple markers.
Another thing to consider is the lighting and image quality of your markers. NFT markers can be sensitive to environmental conditions. Try adjusting the contrast and detail in your marker images, and ensure they’re sufficiently distinct from each other.
If these don’t help, you might want to look into using ARToolKit’s multi-marker tracking capabilities. It’s a bit more complex to set up, but it can handle multiple markers more robustly. Hope this helps point you in the right direction!