Note: You should not derive your own development scene from ModelTrackingSetup. The debug functionality available in this scene comes with a performance penalty. It is not designed or optimized for deployment.
The intended use case is to temporarily set up your model in the ModelTrackingSetup scene, set the desired initial pose, tweak the relevant tracking parameters and finally export a configuration file for use in your separate development scene.
The typical workflow for creating a custom configuration in this manner is outlined in the following:
Changing the Model in the Unity Quick Start Guide:VLTrackingAnchor in the hierarchy.VLTrackingAnchor in the hierarchy and press the Tracking Geometry/Add TrackingMesh components to all models button on the TrackingAnchor component.VLMiniCar in the VLTrackingAnchor.Tracking Configuration component under VLTracking in the hierarchy for any setup issues.Saving the Current Tracking Settings in a Configuration File in Scene Controls for instructions).Parameter Settings in Scene Controls. In advanced use-cases you might also want to record additional initialization data along the way. How this works is explained in the section Reading/Writing/Resetting the Initialization Data in Scene Controls.Save Configuration.Saving the Current Tracking Settings in a Configuration File for path settings.StreamingAssets folder of your project.AnchorName (see VLTrackingAnchor in the hierarchy) in your new scene.Reading/Writing/Resetting the Initialization Data in Scene Controls for path settings.StreamingAssets folder of your project. Add the parameter initDataURI to your configuration if it does not exist yet. Point this parameter to your init data file. In the simplest case, place the init data file in the same folder as the configuration file and use the project-dir: scheme (see File Access).Congratulations! At this point your have successfully set up a new project with your custom tracking model and the corresponding tracking parameters.