Wearable device for identifying area for displaying image and method thereof
According to an embodiment, a processor of a wearable device displays a virtual object superimposed on a virtual space by using a display. The processor receives an input for rotating a dial in a first direction while the superimposed virtual object is displayed in the virtual space. While the input is maintained, the processor reduces a first area in which the virtual space is displayed. While the input is maintained, the processor maintains a size of the virtual object that is superimposed on the virtual space and is displayed inside of the first area reduced while the input is maintained. While the input is maintained, the processor expands a second area including the image that is further displayed on the display in response to the input.
1 . A wearable device, comprising:
a housing configured to cover eyes of a user when the wearable device is worn by the user;
a dial;
displays disposed in the housing to be arranged in front of the eyes of the user when the wearable device is worn by the user;
one or more cameras;
memory storing instructions, comprising one or more storage media; and
at least one processor comprising processing circuitry,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the wearable device to:
display a virtual object and a virtual reality environment in a screen by using the displays;
while the virtual object and the virtual reality environment are displayed, receive an input to rotate the dial;
based on the input:
control a first portion of the screen to be reduced, where the virtual reality environment is displayed in the first portion of the screen;
maintain a size of the displayed virtual object; and
control a second portion of the screen to be enlarged, where at least portion of an image obtained via the one or more cameras is displayed in the second portion of the screen.
2 . The wearable device of claim 1 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
while the virtual object in the virtual reality environment is displayed, receive a second input for rotating the dial in a second direction opposite to a first direction; and
while the second input is continued, control the first portion of the screen to be enlarged and control the second portion of the screen to be reduced.
3 . The wearable device of claim 2 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
based on the second input being received while the virtual object is displayed, control the first portion of the screen to be enlarged, wherein the first portion is centered around a position of the virtual object within the virtual reality environment.
4 . The wearable device of claim 2 , wherein the second direction is clockwise.
5 . The wearable device of claim 4 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
while the second input is continued, control the first portion of the screen to be enlarged based on at least one of an angle of rotation or a speed of rotation of the dial.
6 . The wearable device of claim 2 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
based on the second input being received while the second portion of the screen is displayed, decrease brightness of the image.
7 . The wearable device of claim 1 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
display the virtual reality environment including a virtual reality background; and
display the virtual object, which is provided by an execution of a software application, superimposed on the background.
8 . The wearable device of claim 1 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
while the first input is continued, increase brightness of the image, from a first brightness to a second brightness greater than the first brightness.
9 . The wearable device of claim 1 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
in response to a click input to the dial, display icons representing a plurality of software applications installed in the wearable device.
10 . The wearable device of claim 1 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
based on the input, display a visual cue indicating a size of the first portion of the screen.
11 . The wearable device of claim 10 , wherein the instructions, when executed by at least one processor individually or collectively, cause the wearable device to:
while the input is continued, control the first portion to be reduced a size of the first portion is reduced to the size of the virtual object.
12 . A method of a wearable device including a housing configured to cover eyes of a user when the wearable device is worn by the user, a dial, displays disposed in the housing to be arranged in front of the user when the wearable device is worn by the user, and one or more cameras, the method comprising:
displaying a virtual object and a virtual reality environment in a screen by using the displays;
while the virtual object and the virtual reality environment are displayed, receiving an input to rotate the dial;
based on the input:
controlling a first portion of the screen to be reduced, where the virtual reality environment is displayed in the first portion of the screen;
maintaining a size of the displayed virtual object; and
controlling a second portion of the screen to be enlarged, where at least portion of an image obtained via the one or more cameras is displayed in the second portion of the screen.
13 . The method of claim 12 , further comprising:
while the virtual object in the virtual reality environment is displayed, receiving a second input for rotating the dial in a second direction opposite to a first direction; and
while the second input is continued, controlling the first portion of the screen to be enlarged and controlling the second portion of the screen to be reduced.
14 . The method of claim 13 , further comprising:
based on the second input being received while the virtual object is displayed, controlling the first portion of the screen to be enlarged, wherein the first portion is centered around a position of the virtual object within the virtual reality environment.
15 . The method of claim 13 , wherein the second direction is clockwise.
16 . The method of claim 15 , further comprising:
while the second input is continued, controlling the first portion of the screen to be enlarged based on at least one of an angle of rotation or a speed of rotation of the dial.
17 . The method of claim 13 , further comprising:
based on the second input being received while the second portion of the screen is displayed, decreasing brightness of the image.
18 . The method of claim 12 , further comprising:
displaying the virtual reality environment including a virtual reality background; and
displaying the virtual object, which is provided by an execution of a software application, superimposed on the background.
19 . One or more non-transitory computer-readable storage media storing instructions which, when executed by at least one processor of a wearable electronic device comprising a housing, a dial, a display configured to provide visual information to a user wearing the wearable electronic device, and one or more cameras to obtain a real space image, cause the wearable electronic device to perform operations comprising:
receiving an input for rotating the dial; and
based on the input, changing relative sizes of a first area of the display in which of the real space image is displayed and a second area of the display in which a virtual space including a virtual object is displayed,
wherein a size and a position of the virtual object are maintained as relative sizes of the first and second areas are changed.
20 . The one or more non-transitory computer-readable storage media of claim 19 , wherein
the size of the first area is increased relative to the size of the second area based on the dial being rotated in a first direction, and
the size of the first area is decreased relative to the size of the second area based on the dial being rotated in a second direction different from the first direction.