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.
position mapping
If I create a brain and a head in a hologram, and want to map the brain to a precise location in the head through an animation, what technique should I use?
Is there library to help me do this?
Best Answers
-
OptionsHoloSheep mod
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings5 -
OptionsContextVR ✭✭✭
Here's another thread that might help, using Unity WebCamTexture on device.
http://forums.hololens.com/discussion/782/live-stream-of-locatable-camera-webcam-in-unity
5 -
OptionsJason ✭✭
@Zihui_Liu Hi there, I posted a reply earlier but made an edit as I noticed my response was worded incorrectly. Here is a link to X3DOM and JSARToolkit and I found it useful to my learning (to anyone else reading this thread):
http://doc.x3dom.org/tutorials/applicationTutorials/simpleAR/index.html
5
Answers
Where else would the brain be? Are you trying to put the brain precisely in a real person's head? Or are you trying to put the brain in a virtual head?
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.
(Daddy, what does 'now formatting drive C:' mean?)
@Patrick Sorry for confused question: Map the hologram onto a physical head.
@Jason I am trying to use ARToolKit. This library handles with the fiducial marker. To be more specific, attach a fiducial marker on the physical object. Compute the position and orientation through camera video stream. From this the computer do some transformations on image and then a virtual marker in hologram is generated. We map the brain by mapping the virtual marker to the physical one.
Here is a simple testing program using ARToolkit:
https://artoolkit.org/documentation/doku.php?id=7_Examples:example_simplelite
The problem is that I could not connect to the webcam in hololens. Does anyone know how to solve it?
I want to map my hologram, a virtual brain, to a physical head.
I am trying to use ARToolKit. This library handles with the fiducial marker. To be more specific, attach a fiducial marker on the physical object. Compute the position and orientation of the marker through camera video stream. From this the computer do some transformations on image and then a virtual marker in hologram is generated. We map the brain by mapping the virtual marker to the physical one.
Here is a simple testing program using ARToolkit:
https://artoolkit.org/documentation/doku.php?id=7_Examples:example_simplelite
The problem is that I could not connect to the webcam in hololens. Does anyone know how to solve it?
@Zihui_Liu have you taken a look at the Locatable Camera?
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings
@HoloSheep Do you mean following the scripts at the Locatable Camera and attaching it to the camera object in the scene?
Besides, for this line:
UnityEngine.VR.WSA.WebCam.VideoCapture.SupportedResolutions.OrderByDescending
I get error that <UnityEngine.Resolution> does not contain a definition for 'OrderByDescending'. Do I need to load some plugin or library?
@Zihui_Liu do you have a
Using System.Linq
at the top your code module?
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings
@HoloSheep Yes, I add this and fix the problem. But I still fail connecting to the camera.
@Zihui_Liu Do you have the WebCam capability enabled in Player Settings?
@ContextVR Yes, I enable all required capability.
Here's another thread that might help, using Unity WebCamTexture on device.
http://forums.hololens.com/discussion/782/live-stream-of-locatable-camera-webcam-in-unity
@Zihui_Liu Thanks for the information regarding the ARToolKit and link to the mapping example.
@Zihui_Liu Hi there, I posted a reply earlier but made an edit as I noticed my response was worded incorrectly. Here is a link to X3DOM and JSARToolkit and I found it useful to my learning (to anyone else reading this thread):
http://doc.x3dom.org/tutorials/applicationTutorials/simpleAR/index.html