Log in or register to post comments

Multiple targets with world center mode

April 23, 2019 - 5:59am #1

Hello,

First of all excuse my english as it's not my first language

With friends we're publishing a book with AR. And for a double page I coded some animations using the transform of gameobjects. I used one image of the book's doublepage as the target to do the AR before the printing of the book.

But with the finished product the curve of the paper induced by the binding makes the target unreliable.

So I experimented with two separated targets for each page. That way the tracking would not stop when handling the book by hand for example.

But as the world center mode (as I'm aware) must be set to a specific or first target being found the animation of the second page is compromised as the world transform depends on the point of view from the reference target. So is there a way to prevent that or must I reconsider my project differently ?

Thanks for your attention !

To the left you can see the tracking with two targets without the animation on and to the right with the animation on. (hovering of the cards over the book)

AttachmentSize
Image icon VuforiaForum.png1.72 MB
Image icon VuforiaForum2.png1.11 MB

Multiple targets with world center mode

April 23, 2019 - 12:14pm #2

Hello,

Igorlievin wrote:

First of all excuse my english as it's not my first language

No excuse needed. Very clear question!

Igorlievin wrote:

But with the finished product the curve of the paper induced by the binding makes the target unreliable.

Correct. Vuforia 2D targets require them to be flat.

Igorlievin wrote:

But as the world center mode (as I'm aware) must be set to a specific or first target being found the animation of the second page is compromised as the world transform depends on the point of view from the reference target. So is there a way to prevent that or must I reconsider my project differently ?

Seems like you'd want to select "DEVICE" for the WCM. This way target poses are relative to the device camera.

Thanks,

Vuforia Engine Support

Log in or register to post comments