US 12,437,491 B2
Scaling a 3D volume in extended reality
Mason Spong, Provo, UT (US)
Assigned to Snap Inc., Santa Monica, CA (US)
Filed by Snap Inc., Santa Monica, CA (US)
Filed on Dec. 13, 2022, as Appl. No. 18/065,201.
Prior Publication US 2024/0193882 A1, Jun. 13, 2024
Int. Cl. G06T 19/20 (2011.01); G06F 3/01 (2006.01); G06T 19/00 (2011.01)
CPC G06T 19/20 (2013.01) [G06F 3/014 (2013.01); G06F 3/017 (2013.01); G06T 19/006 (2013.01); G06T 2219/2016 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A machine comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the machine to perform operations comprising:
providing to a user an extended Reality (XR) user interface of an XR system, the XR user interface comprising a virtual object displayed to the user;
determining a pinch location of a pinch hand pose being made by the user using one hand of the user;
scaling the virtual object based on the pinch hand pose of the one hand using the pinch location and a virtual object center point of the virtual object by performing operations comprising:
generating a virtual object vector based on a center point of the virtual object and the pinch location;
generating a pinch vector based on the center point of the virtual object and a virtual object pinch collider of the virtual object;
determining a scaling vector based on a projection of the pinch vector onto the virtual object vector; and
adjusting the scale of the virtual object based on a ratio of a length of the scaling vector and a length of the virtual object vector; and
redisplaying the scaled virtual object to the user in the XR user interface.