Sharing a hologram between multiple HoloLens devices – Part 3

Over the weekend I managed to wind down nicely after giving 10+ hours of HoloLens demos on Thursday and Friday at our Design Night events (it may well have been less, but feels like it was much more).

In advance of the Design Night, I'd recorded a video that I ended up putting on a loop during the event. It was an effective way for people coming near the HoloLens exhibit to understand what it was all about.

Manipulating a robot in mixed realityWhat was particularly interesting to me was whether people understood – or even thought to question – how this video was made. You see me manipulating a hologram – along with the hologram in question – in the video, after all:

 

 

So how was it made? Well, my eldest son was wearing one HoloLens and used it to record the video. What you see in the video is pretty much exactly what he saw through the device (with a somewhat better field of view, of course). The recording had really bad audio, initially, so I ended up using a pretty significant filter on it. My apologies if the sound is a little inaudible – it's a lot better than it was, I promise.

The video shows that the basic sharing capability is now in place. If you're interested in checking out the code, it's all there in GitHub (I haven't consistently shared this link in this series of posts, but the code is there and keeps evolving along with the sample).

The placement of the hologram remains a little finicky: for the purposes of the video I placed both robots at the same spot manually… anchoring just isn't working consistently well for me. There's probably something I'm missing, but still: for now the sharing capability works really well, with this one caveat. If someone manages to work out what I'm doing wrong (or not doing) please submit a pull request!

Anyway, I'm now in Munich for the latest Forge Accelerator: we have really high attendance for this week's event, so I was asked to come across for a few days to help out: I'm presenting at a VR conference in Zurich on Thursday, so can only be here for the first 3 days.

It'll no doubt be a fun few days, and it will do me good to be looking at something that isn't sitting on the end of my nose, too: slightly worryingly the headaches are still with me, so I'm starting to think I really need to spend a few days in reality0(a new label I'm trying out for meatspace). Let's hope it helps!

9 responses to “Sharing a hologram between multiple HoloLens devices – Part 3”

  1. Hi Kean, I'm having problems with the sharing things, specially on how exactly should my setup be. This is what I have.
    -A Windows 10 PC "A" running the SharingService, the Unity project, and an emulator.
    -A hololens
    -A PC "B" running an emulator.
    *the IP address I use is the iPv4 from PC "A" the one running the sharing servcie.

    When I hit play on the Unity Project it connects to the sharing servce fine.
    When I deploy to either the emulators or the Hololens it doesnt connect to the sharing service.

    Any pointer on what should I do? I guess the problem is "where" is the sharing service running and "which" is the correct IP address.

    Thanks!

    1. Hmm - maybe some firewall setting? Make sure you can connect to your HoloLens via the management console. That'd be my first step, at least.

      Kean

      1. The session manager from HoloToolkit?

        1. There's a separate management console you need to enable access to via the HoloLens developer settings. You then access via the HoloLens IP address in a web-browser (from an external system).

          1. Thanks, I just made sure in the managment console and all seems ok, I think something else is wrong, I tried your project, and the same happens, I can connect in the Unity player but not on the device, it may be a firewall or some WIndows networking thing, thanks anyway for your fast response!

            1. Hi,
              Were you able to solve the issue?

              1. not really in my computer, but we tried the same thing in another team member pc and it worked so don't know the reason.

  2. @keanw:disqus Hi kean thank you for the series I found it very useful and intelligent. What I found most interesting was your comment stating "This sketch combines uses a long term average, a short term average and the summation of the delta between those two to detect beats in music".
    Could you please explain a little more about this?

    1. Kean Walmsley Avatar

      Hi Evan,

      That description is in the GitHub repository (github.com/kctess5/...) from where I copied the code. Unfortunately I don't know exactly how that piece works - you might try asking for more information via the repo itself.

      Best,

      Kean

Leave a Reply to Rodolink Cancel reply

Your email address will not be published. Required fields are marked *