2 Replies
      Latest reply on Mar 26, 2020 4:56 AM by koushan
      koushan Level 1 Level 1 (0 points)

        The new demo app for the lidar scanner uses RealityKit and the user is able to visualize meshes detected by the scanner:

         

        https://developer.apple.com/documentation/arkit/world_tracking/visualizing_and_interacting_with_a_reconstructed_scene

         

        The meshes are visualized using 'showSceneUnderstanding' as a debug option:

         

        arView.debugOptions.insert(.showSceneUnderstanding)

         

        You can also occlude virtual content by accessing the sceneUnderstanding:

         

        arView.environment.sceneUnderstanding.options.insert(.occlusion)

         

        I am trying to recreate these features using SceneKit but so far i've had no success. It looks like 'sceneUnderstading' doesn't seem to exist in SceneKit. There doesn't seem to be any documentation on this.

         

        Any help would be appreciated.

        Thanks.