Jump to: navigation, search

Difference between revisions of "HowTo:Configure Dynamic AR Content"


(Example)
 
(11 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
= Prerequisites =
 
= 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.augmensys.com/images/6/66/Dynamic_AR_Content_Folder_Structure.rar FolderStructure].  
+
In order to be able to use the feature properly, a certain folder structure is required and can be found at the following link {{FileLink|Dynamic_AR_Content_Folder_Structure.rar|Dynamic_AR_Content_Folder_Structure.rar}}. 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}}
Since version 2.4.4, the schema changed slightly (downwards compatible). The updated example package can be found [File:Dynamic_AR_Content_Folder_Structure_244.zip here].
+
 
The setup folder contains:
 
The setup folder contains:
 
# A root folder, named ''UBIK''
 
# A root folder, named ''UBIK''
Line 75: Line 74:
 
<TrackingActionMapping>
 
<TrackingActionMapping>
 
   <GeometryAction TrackingID="1">
 
   <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>
 
     <GeometryResource>
 
       <ResourcePath>pump.obj</ResourcePath>
 
       <ResourcePath>pump.obj</ResourcePath>
Line 92: Line 94:
  
 
   <UBIKObjectAction TrackingID="3">
 
   <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>
 
     <UBIK-UID>a5aa5a70-591f-11e3-949a-0800200c9a66</UBIK-UID>
 
   </UBIKObjectAction>
 
   </UBIKObjectAction>
Line 105: Line 108:
  
 
3D objects can be displayed using the ''<GeometryAction>'' tag. The sub-tag ''<GeometryResource>'' defines the content and the parameters for displaying the 3D object.
 
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 ====
 
==== GeometryResource Tag ====
Line 172: Line 182:
 
=== ID Marker Activity ===
 
=== ID Marker Activity ===
  
The ID markers used can be found at the following link [http://wiki.augmensys.com/images/8/87/ID_Marker_Example_1_6.pdf ID Marker Example Ids 1-6].<br>
+
The ID markers used can be found at the following link {{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.  
 
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.  
 
* 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.  
Line 180: Line 190:
 
=== Markerless Activity ===
 
=== Markerless Activity ===
  
The markerless photos used in this example can be found at the following link [http://wiki.augmensys.com/images/3/32/Markerless_Examples._Pics_1-7.pdf Markerless example pictures].<br>
+
The markerless photos used in this example can be found at the following link {{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.
 
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.
  
Line 203: Line 213:
 
:[[File:scanning_id6_movie.png|border]] <br>
 
:[[File:scanning_id6_movie.png|border]] <br>
  
[[Category:POI]]
+
[[Category:Client|Configure Dynamic AR Content]]
[[Category:Client]]
+
[[Category:How-To|Configure Dynamic AR Content]]
[[Category:How-To]]
+
[[Category:POI|Configure Dynamic AR Content]]

Latest revision as of 09:28, 20 May 2015

The Dynamic AR Content feature allows the user to see different content according to a marker configuration. The configurable content are 3D objects, movies and UBIK® objects. Currently this feature is enabled for ID Markers and Markerless scanning, meaning image tracking. Therefore, every time the user has scanned an ID marker or a picture, the corresponding object (3D object, movie or UBIK® object) will be processed and, according to the configuration, displayed on the screen.

[edit]

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 IC FileLink Download.png Dynamic_AR_Content_Folder_Structure.rar. Since version 2.4.4, the schema changed slightly (downwards compatible). The updated example package can be found here: IC FileLink Download.png Dynamic_AR_Content_Folder_Structure_244.zip The setup folder contains:

  1. A root folder, named UBIK
  2. The UBIK root folder contains a child folder, named ARConfig
  3. The ARConfig contains two child folders named IDMarker and Markerless
    1. IDMarker folder contains the resources and configuration files needed for scanning an ID marker
    2. Markerless folder contains the resources and configuration files needed for scanning a picture
  4. IDMarker and Markerless folder contain a res and a conf folder
    1. The res folder contains all the resources to be shown, like 3D objects, videos and links to UBIK® objects
    2. The conf folder contains all the configuration files

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.

The following shows an exemplary sketch of the folder structure:

/UBIK/ARConfig/
  IDMarker
    conf
      TrackingData_Marker.xml
      Action_Mapping.xml
    res
      .obj
      .png
      .jpg
      .mtl
      .3g2
      .md2
  Markerless
    conf
      TrackingData_Game.xml
      Action_Mapping.xml
    res
      .obj
      .png
      .jpg
      .mtl
      .3g2
      .md2