Log in or register to post comments

More than one image target

August 1, 2015 - 9:02am #1

Hi,

I have question about image target.

I read a post 

"if you have 1 active Dataset with 100 targets or less, any of its targets be detecable(OK);"

if i'm correct, that mean i can have 100 targets or less and all markers can replace with other to display same object in one scene?

ex. i have 5 image targets and 1 object. I set 1st image target on ImageTargetBehaviour.cs at inspector (unity) and 2nd to 5th image target can replace 1st image target to display same object in that scene?

if it's not, is there a way to do that?

More than one image target

December 7, 2016 - 12:14am #6

Hi,

is there a solution if I want just one and the same augmentation for alle ImageTargets? Of course I can easily as the last step duplicate the hole image target and its members in hierarchie but maybe there is an eaysier way if the augmentation should be the same for all image targets.

I've already tried to add an Image Target Behaviour Component to the Image Target. There I've selected the second Image from the Database. By testing the Configuration with my web cam i can see, that both ImageTargets are recognized (in the Inspector below Transform the Position and Rotation numbers are Changing fast while the Images are visible in the camera). But the AR ist still just for the first Component activated.

 

Has anyone an idea?

Thanks a lot

Yours Johannes

More than one image target

August 7, 2015 - 9:03am #5

Thanks, thats work for me. :D

More than one image target

August 6, 2015 - 2:15pm #4

You need to create instances of ImageTarget prefab per each target you want to render some augmentation on. If you see ImageTargets sample you will see there are three instances, one per each target but in the sample each one has it's own teapot.

More than one image target

August 5, 2015 - 3:18pm #3

So i need to duplicate the imageTarget prefab as well?

More than one image target

August 4, 2015 - 1:02pm #2

If I understand you correctly you are asking if you can use the same augmentation to be rendered per each image target.

You can do that by setting the object you want to render as child of the current detected image target. Check the ImageTargetTrackableHandler.cs file from the ImageTargets project to see how the detected and tracked states are handled, then you can add your own logic to parent the objects to that detected target.

Log in or register to post comments