MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

"Float" holograms

Open kripll opened this issue 9 years ago • 8 comments

Our development team is doing a medical project. When you insert your foot into the dummy and start to look at it from different sides, it creates the feeling that the model in the dummy "swims". Is there any way to solve this problem?

kripll avatar Jun 16 '17 07:06 kripll

does it have a collider? see https://developer.microsoft.com/en-us/windows/mixed-reality/Hologram_stability.html

davesmits avatar Jun 16 '17 09:06 davesmits

I believe you're in need of an anchor.

StephenHodgson avatar Jun 16 '17 19:06 StephenHodgson

This could also be an effect caused by inter-pupillary distance configuration where it is not correct for a given specific user. You may also notice that this "swimming" effect may be different depending on the user. Check this repo: https://github.com/Microsoft/HoloLensCompanionKit/tree/master/KinectIPD for automatic configuration. I also think doing the "learn gesture" tutorial in HoloLens sets the IPD.

christjt avatar Jun 19 '17 13:06 christjt

It could also be caused by a low fps, if your model/shader is resource intensive.

StephenHodgson avatar Jun 19 '17 17:06 StephenHodgson

In my experience, @StephenHodgson is right. Your shaders have to be optimized or use the Holotoolkit shaders and your poly counts should be low to avoid lag.

mattfedocsg avatar Jun 23 '17 17:06 mattfedocsg

The exact same swimming is noticeable in the standard Holograms app, although Hololens issues 60 fps

kripll avatar Jul 04 '17 06:07 kripll

Microsoft Mixed Reality Documentation for Spatial Anchors

Spatial anchors stabilize their coordinate system near the anchor's origin. If you render holograms more than about 3 meters from that origin, those holograms may experience noticeable positional errors in proportion to their distance from that origin, due to lever-arm effects. That works if the user stands near the anchor, since the hologram is far away from the user too, meaning the angular error of the distant hologram will be small. However, if the user walks up to that distant hologram, it will then be large in their view, making the lever-arm effects from the faraway anchor origin quite obvious.

StephenHodgson avatar Jul 04 '17 16:07 StephenHodgson

Please reopen if your question was not answered.

NeerajW avatar Feb 14 '18 22:02 NeerajW