-
-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Description
Is there any reason why you disabled the Depth API here https://github.com/ThomasGorisse/sceneform-android-sdk/blob/master/ux/src/main/java/com/google/ar/sceneform/ux/BaseArFragment.java#L401 ?
If I use the old way to set the session config via getSessionConfiguration my enabled Depth API get's deactivated in the above mentioned line in the BaseArFragment class.
So this
Config config = getSessionConfiguration(session);
config.setDepthMode(Config.DepthMode.DISABLED);
config.setPlaneFindingMode(Config.PlaneFindingMode.HORIZONTAL_AND_VERTICAL);
config.setFocusMode(Config.FocusMode.AUTO);
might be maybe something like this.
Config config = new Config(session);
config.setDepthMode(Config.DepthMode.DISABLED);
config.setPlaneFindingMode(Config.PlaneFindingMode.HORIZONTAL_AND_VERTICAL);
config.setFocusMode(Config.FocusMode.AUTO);
config = getSessionConfiguration(config);
Metadata
Metadata
Assignees
Labels
No labels