# US 2026/0073616 A1 · 3d ray-world intersection for xr devices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0073616 A1
- Document ID: US20260073616A1
- Status: Published application
- Kind: A1
- Application number: 18/827,523
- Filed: 2024-09-06
- Published: 2026-03-12
- Earliest claimed: 2024-09-06
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Tobias Maier; Olha Borys; Jakob Zillner; Feliks Hibraj; Dario Fontanel
- Web page: https://patentgrep.com/patent/US20260073616A1

## CPC

- G06T 15/06: Ray-tracing
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06T 2210/21: Collision detection, intersection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for world-ray intersection modeling has a memory storing instructions that, when executed by a processor, configure the system to perform operations. Video data comprising a video frame is obtained. Depth map data is obtained, comprising, for each pixel of a plurality of pixels of the video frame, a depth value of an object visible at a pixel location of the pixel. Ray data is obtained, representative of a ray in three-dimensional space. The depth map data and the ray data are processed to generate intersection data comprising a three dimensional location of an intersection of the ray with the object visible at the pixel location. The intersection can be determined using a voxel representation of the depth map data or by stepwise traversal of the ray. A trajectory defined by multiple intersections over time can be smoothed to present virtual content moving in a realistic fashion.

## Claims

### Claim 1

A system comprising:
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, configure the system to perform operations comprising:
obtaining video data comprising a video frame;
obtaining depth map data comprising, for each pixel of a plurality of pixels of the video frame, a depth value of an object visible at a pixel location of the pixel;
obtaining ray data representative of a ray in three-dimensional space; and
processing the depth map data and the ray data to generate intersection data comprising a three dimensional location of an intersection of the ray with an object visible at a pixel location of a pixel of the plurality of pixels.

### Claim 2 (depends on 1)

The system of claim 1, wherein:
the operations are performed in real time for each video frame in a sequence of video frames.

### Claim 3 (depends on 1)

The system of claim 1, wherein:
the processing of the depth map data and the ray data to generate the intersection data comprises:
traversing the ray in a direction of the ray until the intersection is detected.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the processing of the depth map data and the ray data to generate the intersection data comprises:
generating a voxel representation of the depth map data; and
computing the intersection of the ray with the voxel representation.

### Claim 5 (depends on 4)

The system of claim 4, wherein:
the voxel representation comprises a plurality of voxels corresponding to the plurality of pixels; and
the voxels of the plurality of voxels are scaled in size based on the depth values of the corresponding pixels.

### Claim 6 (depends on 1)

The system of claim 1, wherein:
the intersection data further comprises surface normal data representative of a surface orientation of the object visible at the pixel location.

### Claim 7 (depends on 6)

The system of claim 6, wherein:
the surface orientation of the object visible at the pixel location is determined by:
fitting a local plane to the depth value of the pixel location and the depth values of one or more neighboring pixel locations.

### Claim 8 (depends on 1)

The system of claim 1, wherein:
the ray originates from a location other than a location of a camera used to generate the video frame.

### Claim 9 (depends on 1)

The system of claim 1,
further comprising a display, and
the operations further comprising:
presenting virtual content on the display, the presentation of the virtual content being based on the intersection data.

### Claim 10 (depends on 9)

The system of claim 9, wherein:
the virtual content is presented with a location based on the intersection data.

### Claim 11 (depends on 10)

The system of claim 10, wherein:
the virtual content is presented with an orientation based on the intersection data.

### Claim 12 (depends on 10)

The system of claim 10, wherein the operations further comprise:
casting a second ray to generate second intersection data comprising a three-dimensional location of an intersection of the ray with an object visible at a second pixel location of a second pixel of the plurality of pixels; and
re-presenting the virtual content with a second location based on the second intersection data.

### Claim 13 (depends on 12)

The system of claim 12, wherein:
re-presenting the virtual content with the second location comprises:
presenting the virtual content at a plurality of locations along a trajectory between the location based on the intersection data and the second location based on the second intersection data.

### Claim 14 (depends on 13)

The system of claim 13, wherein:
presenting the virtual content at the plurality of locations along the trajectory comprises:
temporally filtering the plurality of locations to smooth the trajectory.

### Claim 15 (depends on 12)

The system of claim 12, wherein:
casting the second ray to generate the second intersection data comprises:
determining an intersection of the second ray with a plane based on the location and orientation based on the intersection data.

### Claim 16 (depends on 1)

The system of claim 1, wherein:
the processing of the depth map data and the ray data to generate the intersection data comprises:
excluding one or more depth values corresponding to one or more objects not intended to give rise to ray intersections.

### Claim 17 (depends on 16)

The system of claim 16, wherein:
the one or more objects comprise one or more hands; and
the excluding of the one or more depth values corresponding to the one or more objects comprises processing hand tracking data to exclude the one or more depth values based on the hand tracking data.

### Claim 18

A method, comprising:
obtaining video data comprising a video frame;
obtaining depth map data comprising, for each pixel of a plurality of pixels of the video frame, a depth value of an object visible at a pixel location of the pixel;
obtaining ray data representative of a ray in three-dimensional space; and
processing the depth map data and the ray data to generate intersection data comprising a three dimensional location of an intersection of the ray with an object visible at a pixel location of a pixel of the plurality of pixels.

### Claim 19 (depends on 18)

The method of claim 18, wherein:
the intersection data further comprises surface normal data representative of a surface orientation of the object visible at the pixel location; and
the surface orientation of the object visible at the pixel location is determined by:
fitting a local plane to the depth value of the pixel location and the depth values of one or more neighboring pixel locations.

### Claim 20

A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by a processor of a system, cause the system to perform operations comprising:
obtaining video data comprising a video frame;
obtaining depth map data comprising, for each pixel of a plurality of pixels of the video frame, a depth value of an object visible at a pixel location of the pixel;
obtaining ray data representative of a ray in three-dimensional space; and
processing the depth map data and the ray data to generate intersection data comprising a three dimensional location of an intersection of the ray with an object visible at a pixel location of a pixel of the plurality of pixels.
