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.
Options

Coordinate Systems and Matrices problems

Hello,
We are working on a mixed reality application, written in C# UWP.
Obviously, we read many of the discussion in this forum, but still did not find any solution to our problem.

Our objective is to relocate the Hololens scene rendering on an external server. For this purpose, the Hololens camera position and orientation must be reproduced in our scene. The latter has a right handed Coordinate System (CS) similar to the one in OpenGL, while the Hololens camera CS (similar to DirectX) is left handed.

Based on this information, how can we get Hololens camera position and orientation of each eye?

Do we have to manipulate transform matrices, or can we deal with position vectors only?

Your help will be really appreciate!
Thanks!

Answers

  • Options
    edited August 2016

    Typically to switch between LH and RH coords just take only 1 axis and change it's signedness.

    In other words take just the Y axis from the LH coordinates, and what ever it's value is, flip the sign. If it's positive, change it to negative and vice versa. Only flip one axis, don't change the X, or Z. Then rotate the coordinates from the other axis to what ever standard coordinate system you're using. Note, it doesn't matter which axis you flip the signedness, but just choose one is the important piece

    Unless I'm missing something is this what you need?

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
    http://dgoins.wordpress.com

  • Options

    Hi, and sorry for the delay.
    I really appreciate the time you took to answer our questions.

    Actually, I think our main problem was related to the matrix type (column or row). We now solved it and our app works great!

    Thanks again

Sign In or Register to comment.