Jump to: navigation, search

Changes


HowTo:Configure Dynamic AR Content

1 byte removed, 06:28, 9 May 2014
The following picture shows an exemplary sketch of the folder structure:
:[[File:folder_structure.png]]
 
== Tracking Setup ==
 
The first step is to configure the tracking data xml in order for {{UBIK}} to recognize scanned pictures and id's.
In case the marker is a picture (image), the location of the pictures must also be provided. In the example it's ../res/pic_name.(png, jpeg).
The id located in the tracking data xml should be the same as the order of the id in the list of ids.
 
* This example below the configuration of the location of the image:
<source lang="xml">
<SensorCOS>
<SensorCOSID>1</SensorCosID>
<Parameters>
<referenceImage widthMM="420" heightMM="297">../res/img_pic.png</referenceImage>
</Parameters>
</SensorCOS>
</source>
 
== Action Mapping XML Setup ==
The ''UBIKObjectAction'' tag should enable handling of the {{UBIK}} objects when scanning either a picture or an id marker. The tag must contain the tracking id attribute and, optional, the ubik-uid tag.
# Example. When configuring a tag without the ubik-uid tag the object is searched based on its MarkerID property which is the value inside TrackingID attribute. If the ubik-uid tag exists the object is searched based on the value inside the ubik-uid tag.
== Tracking Data XML ==
 
The first step is to configure the tracking data xml in order for {{UBIK}} to recognize scanned pictures and id's.
In case the marker is a picture (image), the location of the pictures must also be provided. In the example it's ../res/pic_name.(png, jpeg).
The id located in the tracking data xml should be the same as the order of the id in the list of ids.
 
* This example below the configuration of the location of the image:
<source lang="xml">
<SensorCOS>
<SensorCOSID>1</SensorCosID>
<Parameters>
<referenceImage widthMM="420" heightMM="297">../res/img_pic.png</referenceImage>
</Parameters>
</SensorCOS>
</source>
== '''Usage''' ==