Depth Occlusion + VideoNode + Optimized Plane rendering #88
ThomasGorisse
started this conversation in
General
Replies: 1 comment 2 replies
-
A great thank to @RGregat, @Venthorus, @grassydragon for this big step forward release. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
arSceneView.getCameraStream().setDepthOcclusionMode(CameraStream.DepthOcclusionMode.DEPTH_OCCLUSION_ENABLED);
if (session.isDepthModeSupported(Config.DepthMode.AUTOMATIC)) {config.setDepthMode(Config.DepthMode.AUTOMATIC);}
focusPoint
and modify theplaneMaterial
.enum PlaneRendererMode
to render all detected planes or only the top most.RENDER_ALL
to get the old behaviour. Everything what is visible to the user is rendered.RENDER_TOP_MOST
to render only the top most plane.PlaneRenderable
if it is not enabled.arFragment.getArSceneView().getPlaneRenderer().setEnabled(false);
This discussion was created from the release Depth Occlusion + VideoNode + Optimized Plane rendering .
Beta Was this translation helpful? Give feedback.
All reactions