The Model Target Generator (MTG) converts an existing 3D model into a Vuforia Engine dataset that can be used by the Vuforia Engine for Model Target tracking. This tool enables you to confirm whether the features of your model will be useable, to set-up the initial snapping position, and then export the final dataset.
The dataset produced by the MTG includes several renderings of the model (“guide view”) from the initial snapping point so that Vuforia Engine App developers can modify and replace the default guide view image that the Vuforia Engine API provides.
MTG can be used to read a variety of 3D file formats and converts them into Vuforia Engine’s internal mesh format upon loading. Consequently, any visual error in the model introduced in this conversion process will be displayed in the MTG viewport. Some source model formats can result in wrongly converted models since they are missing mesh information. Therefore, it is necessary that the MTG is used to check whether the imported model corresponds to the source data. For the case that there are issues, the source data needs to be cleared (or in some cases using a different transport format can fix issues).
After importing the 3D model into the MTG, the user should make sure the model fulfills the requirements of the checklist displayed on the side. In addition, the user needs to make sure that the scale of the model is correct. Some file formats do not have unit information propagated through the import pipeline. For this reason, the MTG displays the size of the volume occupying the object in meters. In case the object is in fact modelled in a different unit, it can be changed in the pop-up menu. This information is then propagated to the exported dataset to ensure tracking works properly. Setting the unit in the UI does not re-scale the 3D object - it only specifies how a unit of 1 is supposed to be interpreted. Rescaling the model is not supported in the MTG as it is only designed to be a 3D model viewer, rather than an editor.