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.
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.
Options
Unable to capture holograms with Unity PhotoCapture
I am using UNITY 5.5.2f1.
I would like to do Mixed Reality Capture of hololens.
I was able to do the capture with reference to the script below.
https://docs.unity3d.com/Manual/windowsholographic-photocapture.html
However, the image contains only the camera's capture, not the 3D objects.
Even if you set hologramOpacity to 1.0.
How can I solve it?
Thanks.
Tagged:
0
Answers
I followed the instructions for the locatable camera and it worked fine for me.
The code uses Application.persistentDataPath as directory, which points to %userprofile%\AppData\Local\Packages\[productname]\LocalState. You can use the device portals file explorer to access this directory.
I'm running into the exact same issue! I declare capture holograms with PhotoCapture.CreateAsync(true, OnPhotoCaptureCreated); [first argument is false in the tutorial], and then set hologramOpacity to 1.0f... this might solve your issue, but for me I'm still not getting holograms.
I don't have the file explorer in the device portal, but I'm using a script that copys the photo from the local directory into the camera roll which I do see in the file explorer.
Thanks JannikLassahn.
Photos are saved in LocalState.
However, hologram such as 3D model is not attached
I will write my code.
Is there any difference from your code?
`
//
public void TakeScreenShot(){
`
@hys73 Do you still have this problem? I could share my sample project, maybe it works for you.
Thank you JannikLassahn.
I have not solved this problem yet.
I would like you to share your code if possible.
Regards.
Here you go. Good luck!
Thank you JannikLassahn.
Great!
It went well.
Thank you very much!