Jump to: navigation, search

Changes


HowTo:Configure Dynamic AR Content

636 bytes added, 06:45, 9 May 2014
== Setup ==
In order to be able to use the feature properly, a setup certain folder structure is required and can be found at the following link [http://wiki.augmensys.com/images/6/66/Dynamic_AR_Content_Folder_Structure.rar FolderStructure]. The setup folder contains:
# A root folder, named ''UBIK''
# The ''UBIK'' root folder contains a child folder, named ''ARConfig''
## The ''conf'' folder contains all the configuration files
The following picture shows an exemplary sketch of the folder structure: <code>/UBIK/ARConfig/:[[FileIDMarker::conf:::TrackingData_Marker.xml:::Action_Mapping.xml::res:::.obj:::folder_structure.png]]:::.jpg:::.mtl:::.3g2:::.md2:Markerless::conf:::TrackingData_Game.xml:::Action_Mapping.xml::res:::.obj:::.png:::.jpg:::.mtl:::.3g2:::.md2</code> A senseful configuration always consists of a tracking configuration (in one of the TrackingData.xml) and a corresponding action configuration (in the parallel ActionMapping.xml). So when the pattern configured in tracking is recognized by the camera, the configured action is triggered.
== Tracking Setup ==
The first step is to configure the tracking data xml in order for {{UBIK}} to recognize scanned pictures and idID'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.
</source>
{{Attention|The ID must be an integer number and it is not allowed to leave gaps, otherwise tracking wont work!}}
== Action Mapping XML Setup ==
After the folder is configured, the next step is to validate the schema against an online validator. A solution can be found at [http://www.utilities-online.info/xsdvalidation/ Online XML Schema Validator]. The schema used to validate against can be found inside the ''UBIK'' Folder and is named ''xsd_schema_validation''.