Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

Place hologram in real world based on target location

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 considered two options:
1) Using HoloToolkit to recognize a wall and place the object. I was able to find a wall and place on object on it but wasn't able to set the specific location.
2) 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 either option could work for this scenario? if so, what do you think I might be doing wrong?
Which do you think could have better performance?
Or maybe there is other option to do that?



    1. What do you mean you weren't able to set a specific location? With tap to place you should be able to gaze at a specific location and place it there. If it is too hard to get it accurate enough with gaze you could consider adding voice commands to nudge the model in any direction or you could add a manipulation gesture and drag it to a more precise location with your hand.
    2. Vuforia's scale corresponds with the size of the image you printed. I believe vumarks need to be 2.5 by 2.5 inches. I am not certain about images but their documentation should state what size you need to print the marker.

    And yes, both options should work. Performance shouldn't be an issue for either option. Vuforia will take a performance hit while tracking is enabled but you only need it enabled for a few moments while you place and then can disable it.


  • I checked the target image's scale and you were right it is not correspond with the image size.
    Now i can see the hologram on the image.
    Is there any option to locate the hologram by the image and then stop tracking?
    Thanks for the help!!

  • Yes there is. I am not sure what it is offhand but you can call a method to stop tracking.


  • You have to extract the object's world coordinate location from Vuforia, anchor the object and THEN turn Vuforia off. I'm trying to figure this out now. Here are some old threads about it:



Sign In or Register to comment.