This project is read-only.


Apr 9, 2012 at 6:33 AM

Hi, i had some problem on getting MarkerNode.markerID

In my project i'm using multiple marker in XML, e.g. TestMarker.xml. How to get each MarkerID in those XML?

Here is my code:

playerMarkerNode = new MarkerNode(scene.MarkerTracker, "TestMarker.xml");

When i get the markerID from playerMarkerNode, i only get value "TestMarker.xml". Is there any solution about this problem?

sorry for my bad english. Thx anyway :D 

Apr 18, 2012 at 3:50 PM

It is designed to return the marker array file for multi-marker, and it's used for associating a pose matrix with the appropriate marker node, so it's not something useful for you. I don't provide any APIs to return the marker IDs stored in the xml file. You will either have to parse the XML yourself, or simply, hard-code it since you know what IDs are in the xml.


Apr 18, 2012 at 4:45 PM

Ok. Thanks for your help!