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.

Sample Needed: Locatable Camera

jbienzmsjbienzms mod
edited April 2016 in Questions And Answers

I really need a good sample for Locatable Camera in Unity that shows how to grab the projection matrix and do something with it.

This sample does not show getting the projection matrix. Luckily Wesley in the Unity Forums has provided some pseudo code for getting projection from still shots, but he says that getting projection from video isn't possible at this time. The documentation does state this should be possible though:

"Each image frame (whether photo or video) includes a coordinate system, as well as two important transforms. The 'view' transform maps from the provided coordinate system to the camera, and the 'projection' maps from the camera to pixels in the image."

Once the ability to get the projection from the video stream is possible, I'd like a sample on how to get it back during playback in Unity.

Can a sample be provided? Or at least a timeframe of when this will be possible?

Our Holographic world is here

RoadToHolo.com      WikiHolo.net      @jbienz
I work in Developer Experiences at Microsoft. My posts are based on my own experience and don't represent Microsoft or HoloLens.

Sign In or Register to comment.