US 12,008,152 B1
Distance determination for mixed reality interaction
Benjamin Lucas, San Francisco, CA (US)
Assigned to Snap Inc., Santa Monica, CA (US)
Filed by Snap Inc., Santa Monica, CA (US)
Filed on Dec. 29, 2021, as Appl. No. 17/565,321.
Claims priority of provisional application 63/132,784, filed on Dec. 31, 2020.
Int. Cl. G06F 3/01 (2006.01); G06F 3/03 (2006.01); G06F 3/0346 (2013.01); G06F 3/048 (2013.01); G06F 3/04815 (2022.01); G06F 3/0482 (2013.01); G06F 3/04847 (2022.01)
CPC G06F 3/011 (2013.01) [G06F 3/0346 (2013.01); G06F 3/04815 (2013.01); G06F 3/0482 (2013.01); G06F 3/04847 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method comprising:
determining, by one or more processors, a first position of a point of a surface based on a distance from a right camera and a left camera of a mobile device being equal to: (R*X0)/(2*tan((Θ1/2)+C)*(x2−x1)), where R is an optical distance between an optical axis of the left camera and an optical axis of the right camera, X0 is a width of the point in pixels of an image sensor of the left camera, x2 is a number of pixels from the optical axis of an image sensor of the right camera, x1 is a number of pixels from the optical axis of the left camera, Θ1 is a view angle of the left camera and the right camera, and C is a compensation for distortions of the mobile device;
rendering on a display, of the mobile device of a user, a virtual reality (VR) interactive item comprising a VR interactive control, wherein the VR interactive item and the VR interactive control are rendered to appear to the user to be on the surface at the first position of the surface;
tracking a control indicator controlled by the user by determining a first plurality of positions of the control indicator;
activating the VR interactive control in response to detecting the control indicator controlled by the user transgressing a first threshold distance from the VR interactive control of the VR interactive item;
rendering on the display an indication that the VR interactive control is activated in response to activating the VR interactive control;
determining a closest position of the first plurality of positions to the point based on the first position;
determining the point of the surface to have a second position based on the determined closest position plus a constant for the control indicator; and
associating a second threshold distance, less than the first threshold distance, with the point of the surface.