CPC G06T 11/00 (2013.01) [G06T 5/20 (2013.01); G06T 5/70 (2024.01); G06T 19/006 (2013.01)] | 20 Claims |
1. A method comprising:
at a device including one or more processors, an image sensor, non-transitory memory, and a display:
capturing, using the image sensor, an image of a scene including a real object; and
displaying, on the display, a computer-generated reality (CGR) environment including a virtual object moving through the real object from a first location in the CGR environment closer to the device than the real object to a second location in the CGR environment further from the device than the real object;
wherein, in accordance with a determination that the virtual object has not moved through the real object further from the device than the real object, the CGR environment includes the virtual object overlaid on the scene; and
wherein, in accordance with a determination that the virtual object has moved through the real object further from the device than the real object, the CGR environment includes the virtual object with an obfuscation area surrounding the virtual object that obfuscates at least a portion of the real object within the obfuscation area.
|