This project is read-only.

Recognizing multiple identical markers

Mar 2, 2009 at 11:38 AM
Is it possible for GoblinXNA to process multiple identical markers ? In ARToolkit, a loop through all the found instances of a marker is used to render them all. I did check the docs of the MarkerNode but didn't find any property of "instance count" kind. So what's the way to implement this feature ?
Mar 2, 2009 at 10:22 PM
In ARToolkit, you can recognize multiple instance of same marker, but not in ARTag. For ARTag, there should be only 1 instance of marker ID in a configuration file, otherwise, ARTag gets confused. It's mentioned in the readme.txt file in Tutorial 8.

Mar 3, 2009 at 3:06 AM
I think I didn't make my question very clear by using the word "instance". I'm not talking about using different configurations for the same marker, but about being able to recognize that there are more than one markers of the same type on the screen - i.e. being able to render two identical "towers" if there are two "tower" markers seen by the camera. I'm doing some kinda city simulation so I want the ability to place multiple identical buildings.
Mar 4, 2009 at 7:56 PM
It's not possible with ARTag. If there are more than two instances of same marker in the image, the object you associate with the marker will switch between those markers since ARTag just tells you whether the marker exists or not in the image, but it gets confused if it sees more than two of the same type in the image. You should associate your "towers" with multiple different markers if  you want to show identical "tower" in the scene. ARTag doesn't provide the same features as ARToolkit.