"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Offsets on Hologram

Hello I'm currently trying to developt a small app using Unity 2017.4.0f1 and Vuforia 7.0.47 This app is suppose to scan a image target, and display an hologram on a real model. My current image target is 6cm by 5cm. In Unity and Vuforia's Database, I've set the height at 0,05. On my app, the Hololens is able to recognize the Image target and display the hologram. However, I always have an offset between the hologram and the real model. The hologram will always be displayed in front of my image target in the real world whereas in Unity, I've set it behind it. Do we have a way to perfectly synchronize the position of the hologram depending of the image target ?

 

Thank you for your answer.

Are you sure you placed your object correctly in Unity? The Camera will look along the z axis so if object.position.z > target.position.z, the object will be behind the target, otherwise it will be in front of the target

Hello

So you mean that I have to correct the position of my object depending the Z axis ?

Here my image target plan is using X and Z axis. I thought that for setting the object behind the imageTarget, I should use the Y axis. Isn't that correct ?

In Unity the x,y,z corresponds to right, up forward. In addition to that, there are world coordinates and local coordinates.

Hello,

From our experience, there are several factors that can cause an augmentation to be offset, including:

Hello

 

Thanks both of you for your answers.
I understand a little bit more, and try to work on it for my part.