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

XRPointCloud from rawFeaturePoints #126

Open
VioletteA opened this issue Jan 30, 2019 · 3 comments
Open

XRPointCloud from rawFeaturePoints #126

VioletteA opened this issue Jan 30, 2019 · 3 comments

Comments

@VioletteA
Copy link

Hello,
I'm looking for a way to get the sparse pointcloud from raw feature points on the client side. I'm thinking of an array of float values where each three values represents [x, y, z]. I suppose these points are already stored in the worldmap in the base64 string... But I see in the polyfill that the XRPointCloud class is not yet implemented. Do you have any information on this subject? Or advice on how to proceed?
Thank you!

@blairmacintyre
Copy link
Contributor

We are not passing that info in; because of the slowness of the way data is injected into the WebXR Viewer, passing large amounts of data per frame is problematic, and so we elected not to send the feature points in.

@VioletteA
Copy link
Author

Thank you for your answer. In this case, do you think it is conceivable to have a solution to retrieve this data at once, on request at the end of the session?

@blairmacintyre
Copy link
Contributor

It's probably possible to retrieve the points asynchronously, the only (possibly big) issue is that the coordinate system for ARKit can change over time so there's no guarantee that the x/y/z values you get for points are the same from one frame to another.

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