Log in or register to post comments

Best Practice for large databases

January 2, 2015 - 10:08pm #1

So I finished the basic tutorial on how to get Vuforia working in Unity (4.6 to be specific) using a single target and 3D model.

Now, I was wondering what would be the proper way to do the same thing for a rather large database.  Right now, my database has 75 possible targets.  I have 3 other databases with roughly the same amount as well.  I know I can't use more than one database at a time, but I think I can work around that.

At the moment I am basically creating an ImageTarget object in Unity for each an every target I have in my database.  I'm about 25 targets in, and I'm at the point where I feel like I'm not doing this right.  Am I really supposed to make an ImageTarget object for each item in my database?  It's incredibly tedious, and I can't imagine it's efficient, either.

If it helps, here's the gist of my application.  I have a list of icons in the database.  When the camera views the Icon, it displays a name and description of that Icon fetched from an xml/json/csv file I have.  That's pretty much all there is to it.  Do I really need to make an ImageTarget for each and every icon?

Best Practice for large databases

January 5, 2015 - 2:40am #2

Sounds like you need to programmatically / dynamically load / attach augmentations to your targets, using some script:

The following tutorials should point you in the right direction:

https://developer.vuforia.com/forum/faq/unity-how-do-i-get-list-active-trackables

https://developer.vuforia.com/forum/faq/unity-how-can-i-augment-my-image-target-model

 

Log in or register to post comments