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

ARHitTestResult WorldTransform.Row3 Not Found #2

Open
acroutworst opened this issue Sep 10, 2017 · 8 comments
Open

ARHitTestResult WorldTransform.Row3 Not Found #2

acroutworst opened this issue Sep 10, 2017 · 8 comments

Comments

@acroutworst
Copy link

Hello there!

I am working on iOS 11 Preview 8 and on Visual Studio for Mac 7.2 Preview. The Row3 property seems to be missing within the context of ARHitTestResult WorldTransform. An example of this can be found in ArkitApp.cs on line 238. Any help would be appreciated!

screenshot 2017-09-10 00 34 16

Thanks,
Adam

@beeradmoore
Copy link

It seems (I literally downloaded this 5 minutes ago so I could be way off) that result.WorldTransform is of type Simd.MatrixFloat4x4, but the .Row3 exists in OpenTK.Matrix4. Typecasting it works and I can get the demo to run, but there does not appear to be anything output so I don't think the solution is to typecast it.

@acroutworst
Copy link
Author

@ytn3rd yes, I tried typecasting to OpenTK.Matrix4 as well and had the same result

@EgorBo
Copy link
Owner

EgorBo commented Sep 15, 2017

@ytn3rd @acroutworst yea, recent XamIOS update broke my samples. But I've fixed them - should work now. (master)

@beeradmoore
Copy link

Hmm, using latest preview 9 with Xcode GM I still had to typecast some things and managed to get some 3D models to appear although the view appears inverted. Turning phone around I managed to get a mutant dancing on my desktop (even though the status text in top right as well as main menu is upside down).

Am going to fork and play with it tonight now that something is appearing at least :) Cheers for getting that sorted.

@edwardyehuang
Copy link

Still not work.
Cannot found "Column3", at same line in this issue, from latest commit
image

@beeradmoore
Copy link

@zgszft , I've fixed the typecast issues in a fork repo over here. I don't know enough about ARKit or Urho, but one of the scenes is upside down. So the mutant demo works but only if I hold my device in landscape left, while the menu and on screen text display is landscape right.

@EgorBo
Copy link
Owner

EgorBo commented Sep 18, 2017

@beeradmoore
Copy link

Just tested this on stable release everything (Xcode, iOS11, VS) that was fully released today and still have the upside down behaviour.

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

4 participants