The VuMark Databases are created with a VuMark template in the form of an SVG file. Once a database is created, VuMark instances can be generated in the Vuforia Target Manager or the VuMark database with the VuMark template can be downloaded to be locally accessible with all its instances in your AR application. In addition, VuMark instances can also be generated with the Vuforia Web Services.
How to Create a New VuMark Database
To add a VuMark to your app, you will need to create a VuMark database and add the VuMark to that database. This article will show you how to create a VuMark database and VuMark instances with the Vuforia Target Manager.
- Go to the Vuforia Developer Portal and login in with your Vuforia Developer credentials.
- First, if you have not already done so, create a new Development Key to associate with your VuMark database. This is done in the License Manager. See: How To Create a License Key
- Select the Target Manager tab and press Add Database in the upper right corner.
- Name the database and select the VuMark database option. The database name should be unique from other databases in the developer account.
- Press Create to finish setting up the database..
Adding a VuMark to a VuMark Database
- In the Target Manager home page, you will see a list of existing databases.
- In the list of databases, locate the newly created VuMark database and click it.
NOTE: VuMark templates can only be added to VuMark database types. Device and Cloud databases will not accept VuMarks.
- In the next window, press the Add Target button.
- Browse to the VuMark scalable vector graphics SVG file for your VuMark.
- Enter the width of your VuMark in scene units. We recommend defining this to correspond with the printed VuMark's width in whichever unit of measurement you prefer.
NOTE: Developers looking to use VuMarks in combination with Positional Device Tracker should specify the target size in meters.
- Provide a unique name for this VuMark template.
- Conclude by clicking Add.
- The VuMark database is now ready for download and implementation in your development environment. Check the box next to the VuMark template and press the Download Database. The database can be downloaded as a .unitypackage for Unity and as dataset files (.xml and .dat) for native development.
NOTE: It is possible to add more VuMark templates to a VuMark database, however, the classic development license key from the License Manager only allows one VuMark database with one VuMark template to be downloaded and used at a time. To unlock usage of multiple VuMark templates in a database, please see the Pro License options.
Generating a VuMark instance for download
In addition to downloading the database, you may also generate instances from the VuMark template. A VuMark instance is a printable target with an instance ID that you have specified in the Target Manager.
- Click the Generate VuMark link next to the VuMark template to generate an instance image.
- Define the ID for your VuMark in a supported data format that is stated by the ID Type. The data length(ID) cannot exceed the ID Length value for the VuMark template.
- Select the Graphic Format for the VuMark image file and press Download.
- The instance image will be downloaded and you may repeat the process to define the instance IDs for all of the VuMark instance images.
VuMark Database Access Keys
A VuMark database also provide a set of Access Keys. They are located in the VuMark database tab Database Access Keys. The Vuforia Web Service and VuMark instance generation API utilize these keys for authentication and generating printable instances of that VuMark template.
See Using the VuMark Generation API for a complete guide.