Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello. We have been having some challenges keeping models neat and stable after we acquire tracking via a model target. I was under the impression that, after the HoloLens2 maps an environment, the position of the models should improve. This is not, however, my experience. So, I have several questions that I hope someone can answer (preferable from PTC):
1. Is Vuforia Studio using the Mixed Reality Tool Kit for SLAM, or is this a PTC-developed algo?
2. I know with certainty that SIZE of the Thingmark/Model Target sets the SCALE of a model when loading it. Is this also true for the HoloLens, or does the SLAM provide scale?
3. If the above is true, and the SLAM sets the scale and relative position of objects, then could we REMOVE a Thingmark after the initial anchoring and still maintain alignment?
Thank you very much!
Hi @HectorAtLmco,
I'm not familiar with the SLAM or technology used to achieve the tracking and unable to answer your questions.
I only know Vuforia Studio uses Vuforia Engine SDK under the hook and you might want to explore more about Vuforia Engine at https://library.vuforia.com/
However if you want to improve the model tracking quality in Vuforia View for Hololens2, below are some advice for you to try.
1) Try switching on Static Object and Car Mode option in Model Target's Detection Configuration
https://www.ptc.com/en/support/article/cs361977
2) Try reducing the complexity of your 3D model if it's too complex compared to the CAD Model Best Practices mentioned in below documents
https://www.ptc.com/en/support/article/cs358726
https://www.ptc.com/en/support/article/cs367800
https://library.vuforia.com/articles/Solution/model-targets-supported-objects.html
Hope that helps.
Another thing to remember is that, for Hololens, scale is very important. Make sure your CAD model measurements match the real world object you want to target. For example, if your CAD model is 30cm tall, but the actual object is 50cm tall, Hololens is going to get confused about tracking it.
Or, if you are using a Thingmark for a target, the size of the printed Thingmark must match the size of the Thingmark widget defined in the experience, i.e. if your Thingmark widget is defined with scale 0.1 (10cm), but the printed Thingmark is 20cm wide, it won't track correctly.