🕶️
NRSDK(Old)
New DocumentationSDK DownloadAPI Reference
v2.2.1
v2.2.1
  • NRSDK Fundamentals
    • NRSDK Overview
    • XREAL Devices
      • XREAL Glasses
      • Controller
      • Compatibility
    • Getting Started with NRSDK
    • Sample Code
    • Tutorials
    • Release Note
      • NRSDK 2.2.1
      • NRSDK 2.2.0
      • NRSDK 2.1.1
      • NRSDK 2.1.0
      • NRSDK 1.10.2
      • NRSDK 1.9.5
      • NRSDK 1.9.3
      • NRSDK 1.9.1
      • NRSDK 1.8.0
      • NRSDK 1.7.0
      • NRSDK 1.6.0
  • Development
    • Input and Camera
      • NRInput
      • Interact with Unity UI (Tutorial)
      • Customize Controller UI
      • NRCameraRig
    • Hand Tracking
    • Image Tracking
      • XREAL Markers
    • Plane Detection (Tutorial)
      • Overview
      • Import the package
      • Detect planes in the real world
      • Perform a hit test against detected planes
      • Add a car
      • Add gems
      • Wrap up
    • Depth Mesh
      • Meshing Manager Overview
      • Use Meshes in the Editor
      • Tutorial: Mesh Collision
    • Spatial Anchor
      • Mapping Example Scene
      • Tutorial: Halloween Treasure Hunt
        • Handle the Situation of Failed Anchor Saving
      • Tutorial: Sharing Anchors
        • Setting Up Photon
        • Cloud Storage: Firebase (optional)
        • Cloud Storage: Aliyun OSS (optional)
        • Implementing Cloud Save and Load
        • Sharing Anchors with Photon
    • Tools
      • Single Pass Stereo Rendering
      • First Person View
      • Emulator
      • XR Streaming
      • Dual Screen Display
    • Miscellaneous
      • Access RGB Camera
      • NRSDK Coordinate Systems
      • MRTK2 Integration
      • MRTK3 Integration
      • Notification popup
      • Reset Camera
      • Render Metrics
      • Render MonoMode(Obsolete)
  • API Reference
  • Frequently Asked Questions
  • Design Guide
    • Design Guide Overview
    • Displaying
    • Interacting
    • Controlling
    • Navigating
Powered by GitBook
On this page
  • Capabilities
  • Best Practice
  • Device compatibility

Was this helpful?

  1. Development

Depth Mesh

Depth mesh is the creation of triangle-based meshes surfaces detected by any XREAL glasses supporting 6DOF. The mesh is used for real-time occlusion rendering and for collision detection with digital content. Unlike Plane Detection, which only detects planar surfaces, Meshing can detect a variety of surfaces.

Capabilities

Depth mesh expands many AR capabilities.

  • Visualization: Provide visual feedback as users scan their environment.

  • Occlusion: Effectively hides virtual objects behind real ones, particularly useful indoors.

  • Physics: With the help of MeshColliders, virtual objects and characters can interact more realistically with the environment and real objects.

  • Flexible Object Placement: Allows for more flexible addition and arrangement of virtual objects compared to plane detection.

  • Semantics: Employs advanced capabilities to identify and categorize mesh blocks into specific classes, including BACKGROUND, WALL, BUILDING, FLOOR, CEILING, HIGHWAY, SIDEWALK, GRASS, DOOR, and TABLE. This enhances the overall context awareness of augmented reality experiences.

Best Practice

The mesh quality depends on the image texture, related to the scene material, lighting, motion speed, etc.

Good quality:

  • Uniform illumination

  • Move smoothly and slowly

  • Highly textured surfaces: carpets, wallpapers, wood floors

  • The appropriate range of distances: 0.5m to 3m

Poor quality:

  • Moving objects

  • Dark environments

  • Transparent/Semi-transparent or reflective surfaces

  • Thin objects: chair legs, fences

  • Textureless surface: white walls, painted desktop

Device compatibility

PreviousWrap upNextMeshing Manager Overview

Last updated 1 year ago

Was this helpful?

Depth Mesh has been fully tested on the Android phones listed in.

Device Compatibility