| CPC A63F 13/25 (2014.09) [G06F 3/04815 (2013.01); G06T 19/006 (2013.01); A63F 2300/308 (2013.01); A63F 2300/8082 (2013.01)] | 20 Claims |

|
1. A method for predefining an entryway, corresponding to a real entryway, for an object entering or leaving an extended reality (XR) space contained within a real environment; the method comprising:
accessing a previously generated spatial mapping mesh (SMM) for the real environment, including physical elements throughout the real environment;
accessing a previously generated sealed space mesh (SSM) defining the XR space, the SSM being bounded by virtual boundaries, and including all physical elements present in that space;
analyzing polygons in the SMM to identify a first SMM subset of polygons representing real walls at boundaries of the SMM, and analyzing polygons in the SSM to identify a first SSM subset of polygons representing virtual wall boundaries of the XR space;
filtering polygons in the first SMM subset and the first SSM subset according to a first set of criteria, to yield a second SMM subset and a second SSM subset respectively;
colliding polygons from the second SMM subset with polygons in the second SSM subset to discard each polygon in the second SSM subset that overlaps any polygon in the second SMM subset by greater than a predetermined percentage threshold, yielding a third subset of SSM polygons;
defining one or more groups of SSM polygons within the third subset such that polygons in each group are connected or spaced apart by less than a predetermined distance; and
selecting one of the groups of SSM polygons as defining the entryway;
wherein the entryway is defined in advance of user interaction with virtual elements in the XR space.
|