Hi there,
I'm mainly using Unity for my Augmented Reality projects, and I'm working on an application right now, utilizing the possibilities of the Vuforia Cloud Recognition SDK.
For testing purposes I've managed to reconstruct the 'Augmentation Object' in the sample application ('BookInformation'), edit the content and appearance of the hardcoded visual template inside Unity, rewritten the .json-file to suit my new content and target + I've added the appropriate metadata to my new target inside my CloudRecognition Database. Everything works the way I want it to.
When operating in Unity (I haven't tested the sample-code for a regular xcode-project), I have a GameObject called "ContentManager". This GameObject defines a so called "Augmentation Object" (in the sample code, the Augmentation Object points to the 'BookInformation-content'), which i expect is the variable telling the application which 3D-content to pair with the data described inside my .json-file - this is correct, right?Anyways, even if I'm wrong, I'm looking for some sort of guidance as to how I'll manage to have a single database filled with different targets, with their own appropriately assigned .json-file, rendering different Augmentation Objects. I've already prepared a few different contents inside Unity, alongside the BookInformation-content, I just need some help telling each individual target in my database which Augmentation Object it should render.
Any tips? :)- and my apologies for the rather long post. This forum has been incredibly helpful before, so I was hoping I would gain the same by asking again :)
/Thomas
Unity CR with multiple Augmentation Objects
I'd recommend generating the augmentation properties programmatically from a database, if you're going to be working with a large number of targets. The metadata you assign to your target can serve as a key(s) to identify the associated augmentation(s).