= Prerequisites =
In order to be able to use the feature properly, a certain folder structure is required and can be found at the following link [http://wiki{{FileLink|Dynamic_AR_Content_Folder_Structure.augmensys.com/images/6/66/rar|Dynamic_AR_Content_Folder_Structure.rar FolderStructure]}}. Since version 2.4.4, the schema changed slightly (downwards compatible). The updated example package can be found here: {{FileLink|Dynamic_AR_Content_Folder_Structure_244.zip|Dynamic_AR_Content_Folder_Structure_244. zip}}The setup folder contains:
# A root folder, named ''UBIK''
# The ''UBIK'' root folder contains a child folder, named ''ARConfig''
<source lang="xml">
/UBIK/ARConfig/
IDMarker
conf
= Action 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 ''example package provided in the prerequisites section (xml_schema_xsd).Since version 2.4.4, GeometryAction derives from UBIKObjectAction. When a geometry is clicked, it will try to find the respective UBIK'' Folder object and is named ''xsd_schema_validation''show a dialog for it.
The action mapping Xml contains different actions such as
<TrackingActionMapping>
<GeometryAction TrackingID="1">
<!-- Since 2.4.4, you can use a UBIK-UID for linking an POI dialog to the geometry. -->
<!-- Alternatively, you can configure (by customizing) an object with Marker Classification and its Marker ID set to the Tracking ID of this action. -->
<UBIK-UID>a5aa5a70-591f-11e3-949a-0800200c9a66</UBIK-UID>
<GeometryResource>
<ResourcePath>pump.obj</ResourcePath>
<UBIKObjectAction TrackingID="3">
<!-- Alternatively, you can configure (by customizing) an object with Marker Classification and its Marker ID set to the Tracking ID of this action. -->
<UBIK-UID>a5aa5a70-591f-11e3-949a-0800200c9a66</UBIK-UID>
</UBIKObjectAction>
3D objects can be displayed using the ''<GeometryAction>'' tag. The sub-tag ''<GeometryResource>'' defines the content and the parameters for displaying the 3D object.
==== UBIK-UID Tag ====
Available since version 2.4.4:
Just like the UBIKObjectAction, this action allows the usage of a optional UBIK-UID tag, specifying the ID of a UBIK object.
If it is specified, the respective object is linked to this geometry; else, it is tried to find an object with a marker classification and the geometry action's tracking ID for it's marker id value.
When the user clicks on the geometry, a dialog is opened for the linked object (if found).
==== GeometryResource Tag ====
=== ID Marker Activity ===
The ID markers used can be found at the following link [http://wiki.augmensys.com/images/8/87/{{FileLink|ID_Marker_Example_1_6.pdf |ID Marker Example Ids 1-6]}}.<br>
Having in mind the setup tracking IDs, you can now scan ID markers.
* For an ID that has a 3D object mapped in the action xml, the object should be displayed on the screen as shown in the next picture.
=== Markerless Activity ===
The markerless photos used in this example can be found at the following link [http://wiki.augmensys.com/images/3/32/{{FileLink|Markerless_Examples._Pics_1-7.pdf |Markerless example pictures]}}.<br>
The scenario is very similar with the ID marker activity with the only difference that instead of IDs you have to scan your tracking images.
:[[File:scanning_id6_movie.png|border]] <br>
[[Category:POIClient|Configure Dynamic AR Content]][[Category:ClientHow-To|Configure Dynamic AR Content]][[Category:How-ToPOI|Configure Dynamic AR Content]]