Adaptive virtual content magnification
Electronic devices such as mixed reality devices may present virtual objects at a display and provide a virtual magnifier to alter (e.g., magnify) the virtual objects. In one or more implementations, the virtual magnifier magnifies a first virtual object and subsequently magnifies a second virtual object. The electronic device may provide one or more effects, such as initially maintaining the current size of the second virtual object and subsequently adjusting the size of the second virtual object based on the first virtual object, including the relative depth between the first virtual object and the second virtual object. In one or more implementations, a process for stabilization of a magnified object is applied in circumstances when the change in position of the electronic device or change in user's gaze location is at or above a threshold.
1 . A system comprising:
a memory; and
a processor configured to:
identify, at a display of a mixed reality (MR) device, a first virtual object and a second virtual object;
present, at the display, a virtual magnifier over the first virtual object;
magnify, based on the virtual magnifier, the first virtual object; and
in response to the virtual magnifier being moved from the first virtual object to being positioned over the second virtual object to magnify the second virtual object:
maintain the second virtual object at a first virtual depth; and
subsequent to maintaining the second virtual object at the first virtual depth, transition the magnified second virtual object based on the magnified first virtual object from a first virtual depth to a second virtual depth different from the first virtual depth, and
present, at the second virtual depth, the magnified second virtual object at the display.
2 . The system of claim 1 , wherein the processor is further configured to:
determine whether the magnified second virtual object exceeds a threshold magnification; and
in response to determining the magnified second virtual object exceeds the threshold magnification, reduce a dimension of the magnified second virtual object.
3 . The system of claim 1 , wherein the processor is further configured to transition, based on the virtual magnifier, the magnified second virtual object based on a virtual depth of the magnified first virtual object.
4 . The system of claim 3 , wherein the second virtual depth of the magnified second virtual object is equal to the second virtual depth associated with the second virtual object.
5 . The system of claim 1 , wherein the magnified second virtual object is presented at the display at a second virtual depth less than the first virtual depth.
6 . The system of claim 1 , wherein the processor is further configured to transition the magnified second virtual object to the second virtual depth to maintain a respective virtual depth between the first virtual object and the second virtual object.
7 . The system of claim 1 , wherein the processor is further configured to maintain the second virtual object at the first virtual depth for a predetermined time.
8 . A method, comprising:
presenting, at a display of a mixed reality (MR) device, a first virtual object at a first virtual depth and a second virtual object at a second virtual depth;
presenting, at the display, a virtual magnifier over the first virtual object to magnify the first virtual object; and
in response to the virtual magnifier being moved from the first virtual object to the second virtual object:
magnifying the second virtual object based on the first virtual depth; and
subsequent to magnifying the second virtual object, animating the magnifying of the second virtual object to adjust to the second virtual depth.
9 . The method of claim 8 , wherein magnifying the second virtual object based on the first virtual depth comprises animating the second virtual object to appear at the first virtual depth.
10 . The method of claim 8 , wherein animating the magnifying of the second virtual object to adjust to the second virtual depth comprises magnifying the second virtual object to appear at the second virtual depth.
11 . The method of claim 10 , wherein magnifying the second virtual object to appear at the second virtual depth comprises animating the second virtual object to increase a size of the second virtual object.
12 . The method of claim 8 , wherein the second virtual depth is different than the first virtual depth.
13 . The method of claim 12 , wherein the first virtual depth is less than the second virtual depth.
14 . The method of claim 12 , wherein the second virtual depth is less than the first virtual depth.
15 . The method of claim 8 , further comprising:
determining whether the second virtual object exceeds a threshold magnification;
in response to determining the second virtual object does not exceed the threshold magnification, increasing a size of the second virtual object based on a first magnification; and
in response to determining the second virtual object, magnified to the first magnification, exceeds the threshold magnification, increasing the size of the second virtual object based on a second magnification less than the first magnification.
16 . A non-transitory computer-readable medium comprising:
computer-readable instructions that, when executed by a processor, cause the processor to perform one or more operations comprising:
displaying, by a mixed reality device, a magnified virtual object;
detecting a change in position of the mixed reality device;
in response to a change in an angle corresponding to the change in position of the mixed reality device satisfying a change threshold, updating the displayed magnified virtual object based at least in part on the change in the angle; and
in response to the change in the angle corresponding to the change in position of the mixed reality device not satisfying the change threshold, maintaining the displayed magnified virtual object.
17 . The non-transitory computer-readable medium of claim 16 , wherein the one or more operations further comprise:
determining a first position of the mixed reality device;
determining a second position of the mixed reality device; and
determining the angle based on the first position and the second position.
18 . The non-transitory computer-readable medium of claim 17 , wherein:
updating the displayed magnified virtual object comprises applying a blend value used to generate a combined image based on the displayed magnified virtual object and the updated displayed magnified virtual object, and
the updated displayed magnified virtual object comprises a reprojection frame.
19 . The non-transitory computer-readable medium of claim 18 , wherein the blend value is based on the determined angle.
20 . The non-transitory computer-readable medium of claim 18 , wherein the one or more operations further comprise:
comparing the determined angle with the change threshold; and
in response to the determined angle being equal to or greater than the change threshold, magnifying the virtual object based on the blend value.