Log in or register to post comments

Multiple Image Targets - One App

May 4, 2013 - 4:09pm #1

Hello,

I’m new with AR and stumbled upon Vuforia. I love it. I’ve completed making my first AR application for Android with Vuforia and Unity. It’s the simple AR Image Target app. I now want to move on and have multiple trackers throughout a publication that all load a different 3D image.

Multiple trackers and multiple 3D images, but you only can see one at a time. I.E. If you’re on page 2, you’ll see the 3D image associated with the tracker on page 2, but if you’re on page 7, you’ll see a different 3D image associated with a different tracker. I want this to all be in one app for the publication.

This may be a stupid question, but how do I achieve this? Do I need different scenes in Unity? Or, can I do it all in one scene? I mean, only one tracker can be active at any given time, so does it take coding to tell which tracker to be active with each image? Or do I use  MultiTarget or MultiImage (can’t remember the exact name) instead of ImageTarget that’s included with the extension? Any guidance anyone can provide would be very much appreciated. Thanks!

Multiple Image Targets - One App

February 27, 2018 - 11:12am #6

Hello ajayaj,

If I'm understanding your question correctly, you are wanting a single image to be detected but have 3 different augmentations depending on interactions with the app? If this is correct, you can achieve this by having the same Image Target in multiple datasets and the dynamically activate and de-activate the datasets as necessary.

Thanks,

Vuforia Support

Multiple Image Targets - display 1 at a time

February 27, 2018 - 2:05am #5

Hello,

I now want to have multiple trackers throughout  that all load a different 3D image.

Multiple trackers and  UI pop and 3d objects , but you only can see one at a time.

I.E. If you’re on page 1, you’ll see the 3D image associated with the first tracker on that page and when goes to second tracker on the same page the first shoud not been displayed and it should coming full screen in andriod mobile or PC

kindly guide  how do I achieve this? Do I need different scenes in Unity? Or, can I do it all in one scene? I mean, only one tracker can be active at any given time, so does it take coding to tell which tracker to be active with each image? Or do I use  MultiTarget or MultiImage instead of 1  ImageTarget.

Any guidance anyone can provide would be very much appreciated. Thanks!

AttachmentSize
Image icon traget issues.jpg297.14 KB

Multiple Image Targets - One App

May 5, 2013 - 10:27pm #4

you're welcome

Multiple Image Targets - One App

May 5, 2013 - 7:33pm #3

Thank you! This makes perfect sense. I will try it out tomorrow, but you explained it really well, so I don't think I'll have any problems. Thanks again!

Multiple Image Targets - One App

May 5, 2013 - 12:00am #2

Hi, you can do it all in one scene;

just create a Device Database using the online Target Manager on our website, then add Target for each image (i.e. for each page of your publication) using the online Target Manager, then download the Database (dataset) selecting the unity format and import it into your project.

In QCARBehaviour make sure to (with the inspector) to enable the Load Dataset for your database as well as the Activate flag

Then in your Unity scene create an ImageTarget object for each image target of your database (you can put the various game objects next to each other in the scene, but it does not really matter how you place them) , and then attach a 3D model under each target in the scene.

Also, for each target object, in the inspector, make sure to select the corresponding Database (yours) and the name of the target from your Database.

Then it should work.

 

 

 

Log in or register to post comments