By makelovenotwar
on Mon, 01/29/2018 - 13:43
Hello everybody, I am new to Unity and HoloLens. I want to build an App that places a hologram on a wall at a specific location. I tried using Vuforia SDK to recognize an image target and place the object on it. I succeeded to track the image and place the hologram but the scale and spatial reference was wrong (The object wasn't on the image it was in the area).
Do you think that option could work for this scenario? if so, what do you think I might be doing wrong? Or maybe there is other option to do that?
Thanks!
Gerard
Please, check the dimensions
Please, check the dimensions of the image target in Vuforia database and the actual printed image, they must be equal or the object will appear in different postion, usually behind the paper.
You right, the numbers are
You right, the numbers are not equal, that fixed the problem.
Thank you very much!
Yes, the child's size depends
Yes, the child's size depends on the parent one, so setting it to 1 will give you an object with the same size as the marker.
Thanks for the explanation!
Thanks for the explanation!
I checked that with a cube object and i can see it exactly with the picture dimensions.
The movement you are toalking
The movement and jitter you are talking about may not be induced by Vuforia, check this Unity bug that is making Hololens work pretty weird:
So the only solution for this
So the only solution for this bug is to use older version of Unity?
Yes, at least until they fix
Yes, at least until they fix the bug in next Unity update, but there is no official release date yet.
I compiled the project with
I compiled the project with Unity 2017.2.0f3 which supposed to be without the bug but it is still jittering.
Any ideas?
No idea, please check you
No idea, please check you really have that Unity version installed, maybe there are more than one version in your PC and your are having cross opennings. Check also the version of MRTK in case you are working with it.