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 convert display and projection matrix from swift to unity #1191

Open
daverin opened this issue Sep 2, 2024 · 0 comments
Open

How to convert display and projection matrix from swift to unity #1191

daverin opened this issue Sep 2, 2024 · 0 comments
Labels
how to Explains how to accomplish something

Comments

@daverin
Copy link

daverin commented Sep 2, 2024

In order to set a custom display size we call displayTransform to get the display matrix and projectionMatrix for the camera projection matrix for a specific viewport size.

The issue we're having now is mapping the matrices from swift to those used in unity in ARCameraFrameEventArgs.

The documentation on these matrices is limited and our current solution is to solve this mapping in a very manual way.

If a member of the unity team could please post the swift code here that handles this conversion we would be extremely grateful.

Thanks in advance.

@daverin daverin added the how to Explains how to accomplish something label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
how to Explains how to accomplish something
Projects
None yet
Development

No branches or pull requests

1 participant