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

ARKit Meshing (ARMeshManager) density #661

Closed
KyryloKuzyk opened this issue Nov 11, 2020 · 6 comments
Closed

ARKit Meshing (ARMeshManager) density #661

KyryloKuzyk opened this issue Nov 11, 2020 · 6 comments
Assignees
Labels
documentation Update or clarify documentation feature request New feature or request fixed Fixed in newer release

Comments

@KyryloKuzyk
Copy link

Is your feature request related to a problem? Please describe.
ARMeshManager.density is not working with ARKit. The documentation says 'Not all platforms are supported' but it doesn't say which ones are.

Describe the solution you'd like
Add the support for ARMeshManager.density with ARKit.

Describe alternatives you've considered
Explicitly describe what platforms support setting density.

@KyryloKuzyk KyryloKuzyk added the feature request New feature or request label Nov 11, 2020
@tdmowrer
Copy link
Contributor

I'll add better documentation to indicate what is supported by the ARKit package, but we cannot add support for the mesh density feature on iOS unless it is implemented by Apple.

@tdmowrer tdmowrer self-assigned this Nov 11, 2020
@tdmowrer
Copy link
Contributor

For what it's worth, it is actually documented, albeit not quite as clearly as saying "density is not supported": https://docs.unity3d.com/Packages/com.unity.xr.arkit@4.0/manual/arkit-meshing.html#other-armeshmanager-settings:

For the ARKit implementation, only these 3 settings affect the performance and output of ARKit meshing.

We'll update it to be more explicit, though.

@NumaNumaNuma
Copy link

we cannot add support for the mesh density feature on iOS unless it is implemented by Apple.

There are several iOS scanning apps which offer different density/resolution settings, is there a hard limitation preventing Unity from doing the same thing? I'm guessing they're reading the depth information and sampling that at different resolutions to generate their mesh.

@tdmowrer
Copy link
Contributor

We do not generate the mesh; ARKit does. For some time, there have been ARKit-based apps that use custom solutions to generate the mesh based on ARKit's point cloud. There may be some that do something similar with the LiDAR sensor.

By contrast, ARFoundation's ARMeshManager relies entirely on ARKit to generate the mesh.

@NumaNumaNuma
Copy link

That makes sense thanks!

@tdmowrer tdmowrer added the documentation Update or clarify documentation label Nov 12, 2020
@tdmowrer
Copy link
Contributor

Documentation updated.

@tdmowrer tdmowrer added the fixed Fixed in newer release label Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Update or clarify documentation feature request New feature or request fixed Fixed in newer release
Projects
None yet
Development

No branches or pull requests

3 participants