Open TakuKobayashi opened 6 years ago
Hi, Thanks for the feature request. Currently occlusion cannot be obtained from ARCore.
@TakuKobayashi if I understand your question correctly, you can get plane occlusion with ARCoreUtils https://github.com/jonas-johansson/ARCoreUtils
@pablisho Thanks. I'm waiting for it to be implemented as expected.
@eisenbruch "Occlusion" is not such a feature. “Occlusion” means hiding virtual objects behind real things.
@takukobayashi yes, I am aware. Arcoreutils has occlusion for detected planes
@eisenbruch oh! Can it do the vertical plane or Instantiated 3d model too?
It hasn't been updated for vertical planes, but it should be easy to update on your own if needed. unity takes care of occlusion for 3d models.
@eisenbruch Thanks! I'll try to use it.
@eisenbruch I used ARCoreUtils https://github.com/jonas-johansson/ARCoreUtils and read this source code. But sorry, this is not “Occlusion”.
@eisenbruch For example, “Occlusion” means like this. https://www.youtube.com/watch?v=yl30WY7sKN0
nearly positive I had occlusion on my projects that use arcoreutils, but I can't test that right now because none of them are installed. perhaps the occlusion was from something else. in anycase, it seems easy to implement with : https://forum.unity.com/threads/clipping-objects-behind-a-higher-plane.492147/
i used the occlusion shader to vertical and horizontal planes and its pretty good for walls and tables, but the planes must be scanned fully for realistic occlusion. @takukobayashi close enough?
@b29b not yet. The “Occlusion” means the only realistic occlusion. This feature is not yet implemented.
Hello. I want to apply the occlusion to the AR. So, can I guess the occlusion from camera preview? Or, does it exist how to obtain to the depth map from camera preview image?