Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

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.

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, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Hologram sharing

Ok now my "problem" is a bit complex.
First of all...what do I need to do to share a hologram for multiple users and secondly how can I test in emulator ?
I'm working on app that need to share hologram of one of the users to the second one. Any materials how can I achieve that ?

Best Answer

Answers

  • You can check out the sharing library in the holotoolkit: https://github.com/Microsoft/HoloToolkit/tree/master/Sharing

    And the Holograms 240 walk-through: https://developer.microsoft.com/en-us/windows/holographic/holograms_240

    I don't think you'll be able to test it without 2 devices, though someone can correct me if that is wrong.

  • @Fixus the Unity specific repo for the HoloToolKit: https://github.com/Microsoft/HoloToolkit-Unity
    may also be helpful

    I haven't tried it, but perhaps with a three machine configuration (1 running the sharing service, and 2 dev boxes with Unity, VS and emulator) on a local network you might be able to test.

    Windows Holographic User Group Redmond

    WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
    WinHUGR YouTube Channel -- live streamed meetings

  • @Joan by 3 machines you understand putting 3 diffrent pc`s and connect the via web for example or starting 3 emulators on one machine ?

  • For the holograms-240 example above, you would need 3 PC's on the same network. 2 PC's would each have an emulator running on them, the third PC would run the sharing service.
  • @Jackson thanks for the information. For sure I will check that and let you know how it went

  • If you want to use a .net 4.5 framework to get information about what is running in the emulator...how can you do it? I only see the option to share holograms between Hololens not to feed them from another software. Anyone can help me?

  • Will holograms 240 run in this configuration? : one pc running the sharing service, another pc running emulator, and an actual hololens device?

  • @yena,
    Yes, I used that configuration to test changes to the Sharing course while it was being developed :)

  • Thank you @ahillier.

  • @Jackson said:
    For the holograms-240 example above, you would need 3 PC's on the same network. 2 PC's would each have an emulator running on them, the third PC would run the sharing service.

    Thanks,
    But how do you get the sharing service running on it's own without a Unity Editor?

    Stephen Hodgson
    Microsoft HoloLens Agency Readiness Program
    Virtual Solutions Developer at Saab
    HoloToolkit-Unity Moderator

  • @DiegoV said:
    If you want to use a .net 4.5 framework to get information about what is running in the emulator...how can you do it? I only see the option to share holograms between Hololens not to feed them from another software. Anyone can help me?

    Unity does not support .NET 4.5

    Stephen Hodgson
    Microsoft HoloLens Agency Readiness Program
    Virtual Solutions Developer at Saab
    HoloToolkit-Unity Moderator

  • @stephenhodgson you can run the sharing service without unity by downloading it from the HoloToolkit here:

    https://github.com/Microsoft/HoloToolkit-Unity/tree/master/External/HoloToolkit/Sharing/Server

    Then run on the command line with:

    SharingService.exe -local

  • Can I have the sharing service and the emulator run on the same machine ?
    And it's possible to run the service in the hololens device itself ?
    It's quite limited to "walk around" with a PC just to run the service.

    Thanks

  • @Movimento said:
    Can I have the sharing service and the emulator run on the same machine ?
    And it's possible to run the service in the hololens device itself ?
    It's quite limited to "walk around" with a PC just to run the service.

    Thanks

    From the other responses, seems like the answer is no. I agree this is very inconvenient...

  • Hello, I want to mekae sure I get this, my setup is 1 hololens, and 1 computer. Is it possible to test a sharing experience just with this? (my computer running the service AND an emulator) and the app running on the Hololens. (for what I understand above is not convenient, but is it possible? )

  • Hello,
    Thanks for posting this solution. I tried the configuration and it works. Has anyone tried connecting apps using the "SharingConfig.txt file" at: https://github.com/Microsoft/HoloToolkit-Unity/blob/master/External/HoloToolkit/Sharing/DocSource/MDFiles/ConfigFile.md (Matthew Johnson).

    The documentation says if this file is present in your working directory the next time an app is run it will attempt to connect to the session server at that address. I have tried several times and cannot get it to work. Any suggestions would be greatly appreciated. Thanks.

  • @sbagchi said:

    @Movimento said:
    Can I have the sharing service and the emulator run on the same machine ?
    And it's possible to run the service in the hololens device itself ?
    It's quite limited to "walk around" with a PC just to run the service.

    Thanks

    From the other responses, seems like the answer is no. I agree this is very inconvenient...

    Yes. I have tried multiple approaches which works fine in any other UWP setup but this great new device is unable to receieve a single packet. Only thing that works is a stupid SharingService which needs a PC AND STILL doesn't work with auto discovery.

  • It is possible to use one device and hololens emulator for sharing hologram ? I am trying to do that. But i cannot able to complete. stuck with this process for a long time. any help?

    thanks in advance

Sign In or Register to comment.