Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to tune "magicMatrix"? Can "CameraToWorldMatrix" be used instead? #34

Open
ChrisVifzack opened this issue Sep 16, 2018 · 1 comment

Comments

@ChrisVifzack
Copy link

Hello!
Thank you for your work on bringing ARToolKit to HoloLens! I just downloaded and tested the sample unity project. It seems to work very well, except there is quite some offset between the marker location and the cube when looking through HoloLens. From reading the other issues, I think that this can probably be resolved by tuning the "magic function", right?
Some questions regarding this:

  1. What are the magicMatrix1 and magicMatrix2 doing? What transformations are these? I don't really know how to tune them, since I don't understand what they do? :/
  2. Also, if the magic function is taking care of the transformation between RGB camera and the virtual camera, wouldn't it be possible (and much easier) to use "CameraToWorldMatrix" from PhotoCapture class in UnityEngine.XR.WSA.WebCam API instead? (described here: https://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera) Or is this a different coordinate space tranformation?

I would very much appreciate your help with my questions!
I'm kinda lost to solve the problem with the visual offset and don't know how to make it align...

@yogihamdani
Copy link

yogihamdani commented Apr 5, 2019

Hi,
it has been discussed here :) #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants