googlesamples / arcore-depth-lab

ARCore Depth Lab is a set of Depth API samples that provides assets using depth for advanced geometry-aware features in AR interaction and rendering. (UIST 2020)
https://augmentedperception.github.io/depthlab/
Apache License 2.0
780 stars 153 forks source link

MaterialWrap and ScreenSpaceDepthMesh issue on Samsung S20+ #11

Closed scuube closed 3 years ago

scuube commented 4 years ago

Hi there,

I have a small issue regarding the MaterialWrap and ScreenSpaceDepthMesh scenes of the Depth Lab. Instead of getting a sculpted mesh that corresponds with the colored depth map of the DepthEffects scene, I get a flat, oval shaped mesh (see image below). This happens with the MaterialWrap scene, and also with the ScreenSpaceDepthMesh scene when I press 'freeze'.

Screenshot_20200705-224526_Depth Lab - All

The issue happens on both the play store version of the app, as well as the version I built in Unity. I have a Samsung Galaxy S20 plus with a seemingly working ToF sensor in other scenes.

Is there a fix for this issue?

Thanks, Nick

ruofeidu commented 4 years ago

Hi scuube,

Thank you for your interests in DepthLab. Would you like to confirm that other scenes work properly and would you like to give it another try after a restart? Thank you so much!

Cheers, Ruofei

scuube commented 4 years ago

Hi Ruofei,

Thank you for the quick reply, I can confirm other scenes work properly. Even after uninstalling the app, rebooting android and reinstalling the app, the problem still occurs.

(Also, the app runs a bit choppy (framerate I estimate between 30fps and dips to 10fps regularly), even when no geometry is placed. This is also the case for the helloar app, which runs smoother on my Samsung Galaxy A8 (2018) with the same apk file. Atom Visualizer for Arcore runs very smooth on my s20+ in comparison. Please tell me if this should have it's own thread)

Cheers, scuube

ruofeidu commented 4 years ago

Would you like to try using Unity 2018.4.x to build the app? Thank you so much!

Cheers, Ruofei

ruofeidu commented 3 years ago

We have just released an update: https://github.com/googlesamples/arcore-depth-lab/releases/tag/1.1.0 Let us know if you still have issues.