CPC G06T 19/20 (2013.01) [A63F 13/63 (2014.09); G06F 3/011 (2013.01); G06F 3/012 (2013.01); G06F 3/04815 (2013.01); G06F 16/122 (2019.01); G06T 15/20 (2013.01); G06T 15/205 (2013.01); G06T 19/006 (2013.01); G06F 3/04842 (2013.01); G06T 2200/24 (2013.01); G06T 2215/16 (2013.01); G06T 2219/2016 (2013.01)] | 20 Claims |
1. A method for controlling a view of a virtual camera in a virtual world, the method comprising:
based on a position of a head-mounted display (HMD), identifying an initial virtual camera rotation angle, relative to a global coordinate system of the virtual world, wherein the virtual camera is wrapped in a container such that rotation of the container causes rotation of the virtual camera relative to the global coordinate system;
receiving an indication to change the view to a particular direction;
identifying a desired rotation angle, relative to the global coordinate system, for a view to correspond to the particular direction; and
rotating the container by a rotation value based at least on both the desired rotation angle and the initial virtual camera rotation angle.
|