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.
How to render a hologram to make it looks inside a real object?
Hi,
I want to render a hologram such as a simple ball and make it look like inside a real box.
I want get two feelings: One is the box looks translucent and so I can see the inside ball. The other one is the box looks there is hole on it and I can see the ball through the hole.
Anybody can give me some hints on how to do this?
Thank yo so much.
Yixun
Best Answer
-
OptionsHoloSheep mod
@yixun, wouldn't the illusion be more dependent on how bright the holographic content is since we are talking additive light?
So yes, I would agree that it would be more challenging with the current HoloLens tech to create the illusion of dark holographic content inside a bright surface than to create bright holographic content inside a bright or dark surface. It also likely wouldn't be practical to try and create the illusion of content inside a bright light source in the environment.
You will definitely have to make smart design choices to create these effective illusions. If you look at the two tutorials I mentioned the content in both cases is quite bright and saturated. I have noticed in previous demo experiences that the Origami underworld in particular looked quite impressive on a light hardwood floor and on a few light carpeted floors where I have demoed it.
As for the "not quite flat" surface issue. Sure, it will also be much more challenging to correctly align your work with a "not quite flat" surface, so you might ask yourself if you really want or need to do that since a flat surface may be more practical given the current limited level of granularity for spatial mapping on the device and the lack of direct access to raw depth data.
However, it sounds like you are exploring some creative ideas so you probably should not get to stuck or fixated on coming up with a list of what won't work and instead look for ways to get some of your cool ideas to work.
I hope you find the hints provided above helpful and that by checking out the examples you are inspired to test some of these concepts our for yourself.
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings5
Answers
@yixun Holograms 101 and Holograms 240 both have hidden underground worlds that get reveled as a hole in the floor.
Check out Chapter 7 - Holographic fun of Holograms 101
and
Chapter 7 - Grand Finale of Holograms 240
explore the scripts and game objects that they use to create the illusion that a jagged hole is cut in the floor revealing something on the other side.
Both of these effects are most effective if the related object is placed on the floor or a solid flat surface that the HoloLens can spatially map prior to triggering the action that reveals the underworld.
Playing Fragments will also give you a number of good examples where spatially mapped surfaces get holographically penetrated to expose holographic content or worlds beyond the surface. One effect comes to mind where a Window is placed on the wall that exposes a street outside the window. However unlike the Holograms Academy tutorials you won't have the source code to look at.
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings
Thank you.
If the surface let's say the floor is brighter and not quite flat, can HoloLens give us the illusion that a jagged hole is cut revealing some holographic content? The reason I ask this is because HoloLens adds lights into the real world. If the floor is brighter, the added light from the holographic content might not dominate the light from the floor. Thus we might not get the see-through illusion.
@yixun, wouldn't the illusion be more dependent on how bright the holographic content is since we are talking additive light?
So yes, I would agree that it would be more challenging with the current HoloLens tech to create the illusion of dark holographic content inside a bright surface than to create bright holographic content inside a bright or dark surface. It also likely wouldn't be practical to try and create the illusion of content inside a bright light source in the environment.
You will definitely have to make smart design choices to create these effective illusions. If you look at the two tutorials I mentioned the content in both cases is quite bright and saturated. I have noticed in previous demo experiences that the Origami underworld in particular looked quite impressive on a light hardwood floor and on a few light carpeted floors where I have demoed it.
As for the "not quite flat" surface issue. Sure, it will also be much more challenging to correctly align your work with a "not quite flat" surface, so you might ask yourself if you really want or need to do that since a flat surface may be more practical given the current limited level of granularity for spatial mapping on the device and the lack of direct access to raw depth data.
However, it sounds like you are exploring some creative ideas so you probably should not get to stuck or fixated on coming up with a list of what won't work and instead look for ways to get some of your cool ideas to work.
I hope you find the hints provided above helpful and that by checking out the examples you are inspired to test some of these concepts our for yourself.
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings